Mon, 12 April 2021
Total Visits
33301571
Visitors today:
1304
Main Menu
Home
Free Scripts
Forum
Guestbook
Repository
Contact
Our Sponsors
Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
Search
Hottest Topics
Member Listing
FAQ
Register
/
Login
problem of path for vote and results buttons
Forum Index
»
Support Forum
Author
Message
25/11/2011 23:04:06
Subject:
problem of path for vote and results buttons
regis92
Newbie
Joined: 25/11/2011 22:54:14
Messages: 3
Offline
Hello,
First, i have a general question : does the system prevents re-votes both by IP-locking and cookie, or only by IP-locking ?
Then i have a strange issue : the paths of vote and results buttons are wrong in my embedded polls, but they are right in the demo page !
http://munci.org/sondages/poll/demo_1.php
: paths are OK
http://munci.org/spip.php?page=sommaire3
: paths are wrong !
However, the code is correct (well, i presume) :
<?php include_once "/var/www/vhosts/munci.org/siteprod/sondages/poll/booth.php"; echo $php_poll->poll_process(5); ?>
How can i correct this issue please ?
Thanks for this great script and for your support
21/12/2011 10:04:39
Subject:
Re:problem of path for vote and results buttons
regis92
Newbie
Joined: 25/11/2011 22:54:14
Messages: 3
Offline
Hello,
Problem still existing...
Please could you help me ?
Thx a lot.
21/12/2011 12:44:34
Subject:
problem of path for vote and results buttons
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
I do not use the advanced poll but is there somewhere you can specify a base url? Maybe in the config file.
Carbonize
I am not the maker of the Advanced Guestbook
get
Lazarus
21/12/2011 23:09:19
Subject:
Re:problem of path for vote and results buttons
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
The base URL can be set in the admin panel.
Try setting the base URL to "/var/www/vhosts/munci.org/siteprod/sondages/".
Then you just need to include booth.php like so...
<?php include_once 'poll/booth.php'; echo $php_poll->poll_process(5); ?>
Hopefully this will sort out the results/vote button problem.
This message was edited 1 time. Last update was at 21/12/2011 23:14:48
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
Forum Index
»
Support Forum
Go to:
Select a forum
General Discussion
Support Forum
German Forum
Advanced Guestbook Forum
Advanced Guestbook Modifications
Based on the open source
JForum