The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
[EDIT] Some users found a badley-coded part of the hack, I am rewriting that part and therefore have deleted the url from this post[/EDIT]
The Poll Hack for the vB, now updated for speed and fuctionality. Demo at http://www.naboonline.com/polltest/ new features from 0.9.2 (previous version) - if a user votes without logging in, is asked to login and the pollvote still counts (2 new templates,error_pollvotenologin, error_pollvoteinvaliduser) - Graphical view of poll results available. Template pollyesvote has a new variable $pollbargraph. If you do not want to have the graphical view, simply remove the variable. - poll icon ist now not needed to be inserted into the vBulletin icon db. - new file pollmodule.php - hacks in files only reference to it, much less code to enter into the new files! - speed enhancements and less mysql calls. Overall features - Let registered users post a new thread that has a poll integrated in it - Let registered users vote on the poll - Multiple votes impossible as userid is stored on vote - Define # of poll options in CP - Limit who can post a poll by usergroups (from the control panel) - Designed to be easily translated. Only some text is hard coded (see localisation section below) - Fully templateable - you can customise the look of the poll - Users who can not post can not vote as well - Make sure person did not vote, press back, and vote again - Admin/Moderator edit of Polls at all times - Edit Poll while no votes (for user who started the poll thread) - vB code parse for options - closing a thread == close a poll - Admin delete - View results without voting - Close a poll (admin/mod/author) - Graphical view of votes (bar graph and/or pie graph) **NEW** Note to upgraders: Due to a change in the how data is stored, the new poll is not backwards compatible. Therefore, you will need to run updatepoll.php The poll hack will be intergrated into vBulletin 2.0, so if you are in no hurry, you should better wait [Edited by doron on 11-04-2000 at 06:00 AM] Show Your Support
|
Comments |
#112
|
|||
|
|||
I dump my database by PHP My Admin and its been missing some data to backup.
But there was no way I could make my board fresher as that error was there so I had no choice but to drop it. |
#113
|
|||
|
|||
Quote:
as for the db issues, possibly a corruption. i can't imagine any way that it could ruin the db unless something was wrong with the db structure. |
#114
|
|||
|
|||
I dont know it sounds like it but I can live with that.
|
#115
|
|||
|
|||
I was wondering how i disable polls on certain forums?
Right now they are available on all, I want just one or 2 forums to have the ability to do it. How do I do this? |
#116
|
|||
|
|||
Quote:
|
#117
|
|||
|
|||
I sent you the email that you requested. I just want to tell you that I have just done the 115 upgrade. Let me know what needs to be done.
Thanks in advance. |
#118
|
|||
|
|||
Doron, I'm trying to update my other board from 1.1.3 to 1.1.5.
When I run the updatepoll.php, I'm getting the following error: Code:
Editing thread table ... Done! Poll number 1 converted Poll number 2 converted Poll number 3 converted There seems to have been a slight problem with the database... <!-- Database error in vBulletin: Invalid SQL: UPDATE thread SET poll='1' WHERE threadid=7372 mysql error: Unknown column 'poll' in 'field list' mysql error number: 1054 Date: Friday 05th of January 2001 04:18:35 PM Script: /backup/updatepoll.php Referer: --> There is no poll #4, but there is a #5, etc...Can you help me? |
#119
|
|||
|
|||
Will there be instructions on how to do this hack to 1.1.5? Please help me get this done as I was hoping to install this but I did the upgrade to 1.1.5 and now it seems the code has changed. Please let me know how I can do this.
|
#120
|
|||
|
|||
sorry, i was having issues with my computer, still am.
Me2Be: did you have the previous version installed? the error "Unknown column 'poll' in 'field list' " means there is no poll column in the thread table. The script should be clever and only take the existing polls... Philly: as for 1.1.5, i have not had the time to look at it yet. It should work if you used the 1.1.4 install info. |
#121
|
|||
|
|||
Dumb newbie question.
Poll hack installed, works great, but ... when you view the poll results, there are no totals and no percent. What is the var used for this? this is the pollresults template: Code:
<TR> <TD COLSPAN=2 ALIGN="CENTER"><FONT face="verdana, arial, helvetica" size="2" ><B>Total:</B></font></TD> <TD ALIGN="LEFT"><FONT face="verdana, arial, helvetica" size="2" ><B> votes</B></font></TD> <TD ALIGN="CENTER"><FONT face="verdana, arial, helvetica" size="2" ><B>100%</B></font></TD> </TR> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|