Author |
Message |
|
I made another mod but I'm not sure if it is related.
In the guestbook entry page there is a link like "click here for more smilies". A new window will open. I changed the code of this window to alphabettically sort all the smilies from the database. This way, it's easier for a user to look for a specific description of a smily. The normal code just lists them in the order they were added to the db.
Next, I figured out how to enable the selection of a smily per mouseclick in this new window (similar to the entry page). This way, all I have to do is add the smilies in the admin panel and all users can select the corresponding image and the right code gets inserted automatically.
Anyone interested in this one?
|
 |
|
I know how to change the duration of the cookie, but I need the logon system for users with specific names and passwords
|
 |
|
I'm can't seem to get my poll to work. It worked once, then I messed with the template, now nothing shows up. It's saved as .php file.
It's not just this poll either, if i create a new poll and don't mess with it's template, it won't show up either.
Anyone have advice?
Thanks,
k
|
 |
|
Hi, I've searched the forum for similar topics and have found few, but they were all unanswered. So please gimme a link to the thread or just let me know whether or not it can be done: can I make a list of users who are the only ones who can use the poll and only once per poll?
|
 |
|
In comment.class.php find the function called
Then find the following statement:
Add the following code before or after this statement:
This won't affect existing comments on guestbook entries, but new comments will show smilies from now on.
Enjoy
|
 |
|
Nevermind, your comments and help paid off, I just needed a bit more elbow work. Thanks to all who left help.
|
 |
|
I have the files saved as php one is poll.php the other is index.php (where I embedded the code) and I am still only displaying the (poll process 4) line
Should I leave it as booth.php or specify the actual poll?
Thanks
|
 |
|
That's intestesting because it works when opening the poll in a PHP file (as a popup) just fine and I believe I filled out everything properly in the config file. I'm thinking it could be because I added the include PHP code to part of an HTML template when I should be doing something else, like creating the PHP page and calling that within the template. Obviously, I don't know PHP (but will learn asap!) though I will experiment a bit and see what happens. Thank you Carbonize.
Hope
Carbonize wrote:No that message means you forgot to fill in your MySQL details in the config file of the script.
|
 |
|
OK, so I haven't started using your poll yet, but it seems to me it's closest to a multy question survey you can find on the net right now (correct me if I'm wrong, please).
Now, as I've been looking for an answer to a question I've noticed other people have already asked, I've put together a couple of solutions for others, but also have questions for the administrators.
First of all, as shown on DEMO1, it IS possible to place as many polls on to the screen as you might want, just use the poll's number.
Second, as shown on DEMO1, poll3, if you can get a separate window to open up and show you the results, then you can pretty much deactivate that same window if you don't want just anyone to see it. Just have to play with the code. Swing, swing. In case you want to see the results, I advise you make a separate page, not so easy to find, which would show all the statistics.
For additional security, you can use a script from http://txtbox.co.za/p_txtauth.php, called txtAuth, which enables you to put a password on any page you wish to. It's easy to use, got instructions and everything.
Third, and this one is a question for the adminsitrators: is it possible to make a unique "vote" button for all the polls on the page? I know it's maybe asking too much, but I guess if you use to button to trigger one action, you should be able to add on other actions to the same button. It's a bit more work on your average developer, but then again, it is a free script...
Oh and, this is the tricky one: is it possible to use the cookies to set up usernames and password so that only users from a certain group can vote and only once?
Sorry to bug you, looking forward to your answer.
Zumbuluk
|
 |
|
Anonymous wrote:is there anyway to embed it into an .html page without having to change it to a .php ?
Why would you feel you have to do that? In case it's the index.html file you have to change, after creating the .php version, you can delete the .html version and every browser will take you to the .php.
|
 |
|
just curious, was this fixed in the new version 2.3.2
|
 |
|
I added the following line to my htaccess file:
and my pages worked fine, the poll worked fine but it would not work on the index page which where I wanted it. I got a huge error which took the place of my index page:
I have mod_rewrite on so perhaps that's why it won't work on the front page. It does seem to work on an inside page though.
Instead, I ended up using a pop up. All my pages are PHP using .html extensions and I would lose far too much traffic if I had to switch over to PHP extensions. Using a pop up window works for now until I can find another solution to include it (I don't want to use an iframe).
Good luck.
Hope
|
 |
|
Just upgrade to version 2.3.2
|
 |
|
My webhost just upgraded to php5. I'm excited about the new object oriented functions, but now the Guestbook won't add new entries.
I'm new to php. Do I even have access to the php.ini file to change the long arrays default since it's on my webhost? I don't think I do.
What would I have to change in the script to make it work under php5?
|
 |
|
Hello all,
As I check on the message, some of us have exactly problem :
Let's say we want to make a survey in Chinese, what we normally do we copy the chinese characters in the poll admin, etc.
On the poll, we see the characters, but when we vote : we do not see anymore the chine character but a '&;XXXXX#'
My first thought was to change into utf-8 ... Bip! Wrong answer.
Then in the source I understood : you see &XXXX# and
not &;XXXX#, the browser parse & as '&' and not the entire character ...
Is there a solution to see text vote in original character ??
|
 |
|