![]() |
Poll Survey
Info
Display all polls in a list from your forum. http://yourforum.ltd/misc.php?do=survey Polls are displayed by forumpermission. If a user hasn't the permission to see a forum where a poll is in, the poll will not display. Installation (info.txt) (The pagenav is limited to 25 polls on a site. If you want change the limit, open the xml file and search for: Code:
sanitize_pageresults($scount['scount'], $pagenumber, $perpage, 100, 25); 1. Login to your admin control panel 2. Go to "Plugins & Products" -> "Manage products" 3. Click on "Add/Import product" 4. Browse for "Poll_Survey.xml" (included in the zip file), and click "Import" 5. Optional: Make a link to the poll survey where always you want. I used the navbar dropdown menu "useful links". If you want too, then did this: Search in template "navbar" for: Code:
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr> Code:
<!-- Poll Survey begin --> *Added forget table_prefix *Added variable for hand closed polls |
Nice that it shows all the polls on the site :)
Very useful |
Looks very handy but your site appears to be down at the moment.
|
Nice, thanks for sharing
|
thanks
|
Quote:
I don't think he owns http://yourforum.ltd :laugh: :laugh: :laugh: |
loooooooooooooooooooooooooooooooooooooooooool
|
Quote:
|
Very nice. Thank you.
|
Looks great, nicely done!
|
I get this SQL error.
Quote:
|
Quote:
|
Hey :)
I still get the same sql error :( Hope you can fix it :) |
Great hack thank you!
|
Now it works..
installed thank you! |
Does this mod auto-update? For some reason I'm showing polls that have been closed saying "active".
|
Umpf sorry, I have forget that polls could close by hand :confused:
I will update it later, have to work now :) |
I get this error when trying to view the list as an "Unregistered Guest" without viewing permission:
Quote:
|
Quote:
Ditto, I came here to check it out. Glad I'm not the only one getting this error. |
Here is what I did since I needed to make a link so anyone can see what polls are available.
Instead of adding this: <!-- Poll Survey begin --> <tr><td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=survey">$vbphrase[survey_all_polls]</a></td></tr> <!-- Poll Survey end --> I made a link and pointed to this url: http://www.allstarchat.com/forum/misc.php?do=survey ** You just need to put your website in the url instead of mine. ** You can still see the page as a guest |
Does this mod find all polls within the entire forum or just designated forum ids? I ask because I have a forum specifically for polls but sometimes people post a poll in other forum categories.
I installed the mod -- awesome! It pulls polls from all forums! Thank you. |
I'm getting the following error:
------------------------------------- Database error in vBulletin 3.6.5: Invalid SQL: SELECT COUNT(p.pollid) AS scount FROM vb_poll AS p INNER JOIN vb_thread AS t ON (p.pollid = t.pollid) WHERE t.forumid IN() AND t.visible IN (1); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND t.visible IN (1)' at line 4 Error Number : 1064 Date : Sunday, April 22nd 2007 @ 01:29:26 PM Script : http://"mysite.com"/misc.php?do=survey&order=desc&sort=dateline Referrer : IP Address : "12.345.67.890" Username : Unregistered Classname : vB_Database_MySQLi --------------------------------------------- :confused: ??? |
I have a problem :confused:
http://img165.imageshack.us/img165/4770/43097917lc5.jpg As you see, I have two polls with the same ID! :eek: But the main problem is that - one of this polls doen't exist! What's the matter? |
I have the same problem as Zaguzin :(
Every 3d, 13th, 23d, etc. polls are duplicated on surveys page :confused: |
this looks great. would you be able to add a feature to show the (current) poll results on the main poll page?
|
All times are GMT. The time now is 05:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|