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: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
Well Ive installed and tried several poll voting scripts, the display and layout of Advanced poll is the winner!

An way to display top 10 popular polls in PHP would be nice
I use this code for Advance Poll script,

I tried many combinations to get this right for my page latout,

however, the limiting line was always:

$CLASS["db"]->connect();
*** $php_poll = new pollcomment(); ***

<?php
$poll_path = "/home/web/poll/db";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new pollcomment();
/* question */
echo $php_poll->get_poll_question(1);
/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(45);
$php_poll->set_max_bar_height(3);
echo $php_poll->poll_process(1);
/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(2);
$php_poll->set_date_format("d/m/Y");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(1);
echo $php_poll->get_comment_pages(1);
?>
Well im tryin to upgrade properly to Advanced Guest Book 2.3.1
im getting to the admin page but every time i put the user and password it takes me to the blue page then when i press any option it takes me back to reenter my login info i sort of replaced the 2.2 files folder with the 2.3.1 i dont know if this is the correct way to upgade is it then what next. Thanks kindly
Thanks again for your advice.

I just went ahead and install Advanced Poll with the default settings, and it inserted a new table in the mySQL database. All seems OK. Nice and Easy!

Cheers
i was not able to hack into my own guestbook using the info provided
did u really chowned the files correctly???
when it doesn't work try 2 chown all with "chown 755 * -R" in the directory for all files recurs. or the directory "./guestbook" with "chown 777 guestbook"
Trevor,

Since you seem to be the resident expert on this topic.

I have been able to load up my own gfx where the "guesbook" and "sign yada yada" gfx was. The problem that I am having now is that when I go to sign the guestbook, I go to that page, then go BACK to the guestbook, and the images do not load for some reason (but the size of the gfx loads up the right size). I have checked the body.php already and in theory it should work. Does it have something to do with the index.php?

Here is my guestbook that I have just started up:

http://www.mikefilms.com/guestbook/
you guys are two kind believe i search and search but just becuase you made me laff in such a trying time ill search again thanks be nice to me wont you ? lol
Hi there,

I've been using the non-DB version of the Advanced Poll on my site for some time now... however, I'm currently redesigning my site to make the whole thing DB driven, and as such decided to change to the DB version of Advanced Poll.

Now, here's where the odd problem comes in, which I've thus far not found a fix for -

My pages are constructed using various php includes, and the one containing the current poll works just fine as a file in it's own right - but when included in the overall layout, it gives the following error:



(some bits starred-out for privacy - the redesign is not ready for people to visit yet )

I've tried removing some of the other includes (particularly those which utilise the database) but haven't yet found a way to make this work... and ideally, I don't want to have to remove my other includes, the page kinda needs them

This is the code I'm using to display the poll:


The page I'm including the full poll archive on works just fine.

Any tips? Anyone also had this problem and know a fix?

Cheers!
Thanks for your replies Jared and JTD.

Do you/anyone know if I just install Advanced Poll from the install.php, will that automatically add the necessary tables to my database?

I'm guessing it would be a good idea to Backup my phpbb database first (which I have done). Can I just restore it from the backup if anything goes wrong?

Cheers!
HI

I also had the problem that I couldn't vote several times with one IP without deleting the cookies each time by myself out of the cookie folder. Now I have found the answer for this problem here in the forum. The problem is a bug in this version os Advanced Poll (at this tme v2.0.3)

First disable the "checking" function in the Admin Area under "settings" to "NO CHECKING"

Then you have to configure the file /templates/poll_cookie.php in the following way:
Search in line 19 for the string

if (!isset($HTTP_COOKIE_VARS[$cookie_name])) {

and delete the first exclamation mark in that line. It should look like this now:

if (isset($HTTP_COOKIE_VARS[$cookie_name])) {

Now you can vote a often as you want with one and the same IP number.
If want know, that a user can vote only one time in e.g. 3 hours just enable the "checking" function in the Admin Area under "settings" to "CHECKING" and set the locking timeout to 3 hours....

Works perfect.

Thanks for this solution to laelaps. You can read his posting here

Enjoy the Advanced Poll
Hi...

I'm running the poll on my website but i have some trouble with that...
The whole poll is center- or right-aligned so that it looks very disordered although I didn't changed anything in the "default"-templates. In the preview of the "default"-template it looks like it should be (left-aligned).

Anouther problem is that I can't vote more than one time for a poll althout all settings for the poll are so that it should work (poll enabled, "logging off", "no checking" and "logout time" 0 hours)

Since a perfect installation of the poll I haven't done any changes on the scripts or *.php files except the changes above...

If you want you can take a look an one of my poll sites:
http://areafw.funpic.de/poll/poll1.php

Hope someone can help me....

Greets AreaFW
Hi Auron,

I'm a newbie as well...I went to your web site http://www.starelement.com/ to try and find install instructions but could not find them. Can you please help?

Thanks!
I'm new to all this, and have a simple question:

My host only provide one MySQL database, and I'm already using it to run a phpbb forum. I'd love to use the Advanced Poll too, but this also needs MySQL. Could it share the same one I use for phpbb? If so, is there anything special I need to do?

Cheers!
So, if i reset the guestbook, it will lose all our following entries?


I don't understand why the owner of the company can't just help me out and reset it for me.
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum