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 |
#102
|
|||
|
|||
what error occured on the template creation?
|
#103
|
|||
|
|||
Doron,
The error above is the only error that I got. I went through and deleted all exsistance of the Poll hack once again and I get to the point of install it in and get the same error as above. I go in to look at the templates before I do anything and they are not there. THey were not created. That could have explained the blank screen. I htink I am bald now. I have no hair left. |
#104
|
|||
|
|||
i meant, what does the error look like in real (ie, the email that got sent, or simply view the source of the page to get the error?)
|
#105
|
|||
|
|||
Database error in vBulletin: Invalid SQL: INSERT INTO template (templateid,title,template) VALUES (NULL,'editpoll','{htmldoctype}
<HTML> <HEAD> <TITLE>$bbtitle - Edit this poll</TITLE> on the top HTML layout on the bottom $footer ') mysql error: You have an error in your SQL syntax near 's Hot Topics <table wi' at line 1 mysql error number: 1064 Date: Wednesday 27th of December 2000 05:28:41 PM Script: /makepolltables.php Referer: Here is the one that gets sent after trying to install polls. No message is sent when I try to do the polls. There are also no templates created. I just tried this once again |
#106
|
|||
|
|||
Tried once again
ran Make polltables.php got errors Editing post table ... Editing thread table ... Done! Editing usergroup table ... Done! Creating table poll.. Creating table pollvote.. FINISHED! Creating templates... There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. This is the email Database error in vBulletin: Invalid SQL: INSERT INTO template (templateid,title,template) VALUES (NULL,'editpoll','{htmldoctype} $cssinclude Same as the previous message |
#107
|
|||
|
|||
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? |
#108
|
|||
|
|||
I think there is one nasty bug in this poll hack.
It was the cause of vBoard's death But I am not upset with the creater as I installed this hack at my own risk. |
#109
|
|||
|
|||
Just curious what happened? Post it here or email me either way I would like to know what happened to your board.
|
#110
|
|||
|
|||
First off I removed everything off the poll hack on my board and there was nothing left of it.
Then I entered my forums to find a database error blocking me seeing the thread listing or any post. Database dump was affected by this as it wouldn't dump right so my backup was a failer so I had no choice but to delete my database as it was giving off errors on the board. I had no idea all my 24 hour backups were along not backing up right and that was since I installed the Poll Hack. |
#111
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|