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 
Advanced Poll 2.3 help  XML
Forum Index » Support Forum
Author Message
drumz0rz
Newbie

Joined: 14/05/2005 07:36:11
Messages: 4
Offline

Hi, I'm wondering how i can do some customizations to Advanced Poll 2.3. I have no knowledge in PHP so that doesn't help. Basically i want it so that, when people post comments, its displayed on the webpage below the poll, that way other people can see the awsome comments people make. Also as a lesser neccessity i would like to see the IP's of people who have voted in the stas of the admin area, also how can i block IP's of people from voteing? i rmember reading that i can but i see no options anywhere in the admin area to do that.
drumz0rz
Newbie

Joined: 14/05/2005 07:36:11
Messages: 4
Offline

sorry, i see that this should really be in the support forum, could someone move it for me? thanks.
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

To view comments on a web page the code can be found...

free scripts -> adv. poll -> demo

To my knowledge you cannot ban ip's in adv. poll.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
neicul
Beginner

Joined: 29/03/2005 00:06:14
Messages: 12
Offline

I would normally search the forum before asking, but I can't think of a search term that would return what I need. I intalled the poll program earlier this week and voted to test it. I've been checking it every day to so how the poll is doing and today it showed the the voting options again instead of the results. Is there a way to make the poll not go back to the voting options? Can it log ip adresses and only show results to those ips? I really don't want repeat voting every few days. Thanks.

edit
btw. i use the mysql version. i've been looking around and turned on log ip and my ip has shown up in the mysql database. hopefully that will work. anyone know for sure though.

edit 2
okay. that worked. I was even able to add all of the ips of previous votes to the mysql db. So for anyone interested, that is what the Log IP option does.
[WWW]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

You were allowed to vote because the cookie expired.
Change the life time of the cookie in poll_cookire.php its within the firdt ten lines.
Default value is 96 hours. Set it to how many hours there are in a week or something like that.

Another way to allow one vote per person without cookie's (i think) is in the general
settings of the admin panel. Near the bottom there is a drop down menu.
Select check ip or ip table or something like that.

Also search for a lengthy post by me a while on cookie's, ip table/ip checking and logging.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
drumz0rz
Newbie

Joined: 14/05/2005 07:36:11
Messages: 4
Offline

so basically i should add this code to my .php page to display the comments?


also, i figured that since it has IP logging and IP locking(not quite sure hat that is) I could somehow prevent someone from voteing from a certain IP address. I might be able to do this just from my webserver, like set up a file that contains IP's that can't access it in a .htaccess file. I'll google it. Thanks for the help, great scripts you got here.


Ok, one final problem. when i look at Demo_2 on my site and compare it to the Demo on your site, you can clearly see theres a big difference. Can you explain why? and help me get it to look like yours?
My Site's DEMO 2
http://drumz0rz.freelinuxhost.com/~poll/pollphp/db/demo_2.php

Your Site's DEMO 2
http://proxy2.de/poll/demo_2.php
drumz0rz
Newbie

Joined: 14/05/2005 07:36:11
Messages: 4
Offline

anyone?
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

drumz0rz wrote:anyone?


Has anyone voted? So there should be some results?
Also has anyone left a comment? If not then none will be shown.

Are there any options to choose from for that poll?

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum