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 |
#122
|
|||
|
|||
Wendy,
Did you use the poll hack on vBulletin 1.1.5? If so could you let me know if there is any special I need to do. Just because the very first change wasn't in 1.1.5 or it was exact. Not quite sure I just really want the easy way out without screwing thing up. |
#123
|
|||
|
|||
Quote:
Code:
<TR> <TD COLSPAN=2 ALIGN=\"CENTER\"><normalfont><B>Total:</B></normalfont></TD> <TD ALIGN=\"LEFT\"><normalfont><B>$total votes</B></normalfont></TD> <TD ALIGN=\"CENTER\"><normalfont><B>100%</B></normalfont></TD> </TR> |
#124
|
|||
|
|||
sorry! no, i'm on version 1.14, probably won't upgrade until i have to!
Thanks for the code, that did the trick |
#125
|
|||
|
|||
I receive this error when I install the poll hack:
Database error in vBulletin Control Panel: Invalid SQL: UPDATE usergroup SET title='!Auto-generated moderator Please leave! Aaron Samsonoff',usertitle='Founder & Owner',canview=1,cansearch=1,canemail=1,canpostnew =1,canreply=1,canadminedit=1,canedit=1,candelete=1 ,canopenclose=1,canmove=1,cancontrolpanel=,canpost poll=1,canusepm=1 WHERE usergroupid=7 mysql error: You have an error in your SQL syntax near 'canpostpoll=1,canusepm=1 WHERE usergroupid=7' at line 1 mysql error number: 1064 Date: Sunday 14th of January 2001 04:48:53 PM Script: /admin/usergroup.php Referer: http://www.survivor-chat.com/admin/u...&usergroupid=7 I already have the private messaging hack installed on version 1.1.5 and it works fine, except when I go to change the name of a super moderator to moderator I receive this error message. Database error in vBulletin Control Panel: Invalid SQL: UPDATE usergroup SET title='Moderator',usertitle='Moderator',canview=1, cansearch=1,canemail=1,canpostnew=1,canreply=1,can adminedit=1,canedit=1,candelete=1,canopenclose=1,c anmove=1,cancontrolpanel=,canpostpoll=0,canusepm=1 WHERE usergroupid=5 mysql error: You have an error in your SQL syntax near 'canpostpoll=0,canusepm=1 WHERE usergroupid=5' at line 1 mysql error number: 1064 Date: Sunday 14th of January 2001 05:52:17 PM Script: /admin/usergroup.php Referer: http://www.survivor-chat.com/admin/u...&usergroupid=5 It is for my message forum here http://www.survivor-chat.com Does anybody know what is wrong? I have a feeling the pm hack and the poll hack don't like each other. |
#126
|
|||
|
|||
oh man.......guess i'll have to wait until 2.0 is out to use the poll function......
or can anyone send me the hack?? i mean...it's not that buggy is it? |
#127
|
|||
|
|||
Quote:
the hack is on http://www.vbulletin.org |
#128
|
|||
|
|||
Quote:
|
#129
|
|||
|
|||
Quote:
|
#130
|
|||
|
|||
Quote:
and you can get it at vbulletin.org. |
#131
|
|||
|
|||
thx
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|