If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Auron
Forum Index » Profile for Auron » Messages posted by Auron
Author Message
try http://www.php.net and type in their search field writing to files and make sure you select in the drop down box next to it Online Documentation.

Auron
Does the HTML template get parsed by the PHP script engine so it can actually execute the cookie code?
The IP Table thing is in the Admin area (DUH!) Under General Settings, Miscellaneous. Its best to have to the cookie code and the IP table. Also set the lockint timeout to the same amount of time as specified in the top of the file poll_cookie.php or whatever the files called.

Auron
I editted my link so its correct but all the downloads are there. Also so are the installation instructions, if you get stuck post there. They A, are more likely to reply, B, a lot more quickly as well, an finally C, they guy who made some of the mods/addons is a moderator there. One final note you have to register to view/access the downloads and stuff.

Auron
Try http://spisas.com/forums/

You'll have to register to find the downloads, there in the forum labeled Advanced Guestbook.

Auron
Hang on a minute if you deleted the entire folder then none of it will be there! So how the hell do you expect to get your password back! If you can't follow those instructions I suggest deleting all the guestbook or whats left and installing it again. This time to make sure you write down your username and password!

Auron
Look to the left of this post there is a link called 'Web Links'.
Click it.
Click the link that says 'PHP Script Sites'.
Then choose one of those sites with a flag representing your coutry/language.
OR try a search engine like google or msn, try typing in PHP Shopping cart script or something like that.

Auron
Try this... http://proxy2.de/forum/viewtopic.php?t=2259

Auron
Go to forums search engine and type in header or something next time!

Read this :: http://proxy2.de/forum/viewtopic.php?t=2255&highlight=header

Auron
Does it display the code in the admin area or even after they've posted? Does it appear correctly when you view the posts outside the admin area?

Auron
They only need to know the o and the u or you could create a php script that takes all data from the guestbook files that contain the posts and convert them to what they should be. When you say displayed incorrectly, how? And when you say edit, just re-enter the chars exactly as before or add the code for them?

Auron
Give people a list of special chars and what their code is e.g.

a space is  
less than sign < is &lt;
more than sign > is &mt;
copyright sign is &copy;

The code is enclosed between an ampersand (& or &amp; and a semi-colon, ;

Auron
Once the cookie has been set it can't be changed until it expires, that means the script won't write a new expiry time to it since it stops them from voting and as they can't vote the script won't create them a new one. The best thing to is if you want a poll to last three days do this...

Day one set the cookie (in poll_cookie.php) for 96 hours,
day two set the cookie for 48 hours,
day three set the cookie for 24 hours,
day four everyones cookies expire and you need to change the poll.

Thats all I can suggest really, unless you use IP logging and then when you wish to change the poll you clear the log file. But if the cookie is specific to a poll it won't matter how long you set it for because you can just create a new poll that has a different poll id.

Auron
You don't want the cookie to never expire otherwise people won't be able to vote at all on your site, I think. The thing is I'm not sure if the cookie has data on which poll it belongs to. For example someone can have a cookie that covers poll 1 but not poll 2. They would have to have a cookie specific to each poll. I think thats how it works. Its best to make it last for the same amount of time the poll will last. For example a poll that lasts a day make the cookie last 24 hours. But you could just make it like 1000 hours if the cookie is not specific to a particular which I think it is.

I'll have a look at the cookie code myself.

In answer to you problem above make sure you have no spaces before the opening <?php tag and/or after the closing ?> and opening <html> tags.

Auron
I might have a go as well just for something to do. I'll post here also. The big problem is how many options should they be allowed to choose, or could it be changed in the admin area which means in the MySQL version the database would have to be modified to record the votes for each option each time the number of options voters were allowed to pick changed.

Auron
This has been asked before, no one has an answer. Also no one, I presume, knows how to do it. Someone might be working on one, but your better off either using this poll script the way it is or finding one with the feautres your looking for.

Auron
 
Forum Index » Profile for Auron » Messages posted by Auron
Go to:   
Based on the open source JForum