![]() |
[HTL] & [TXT] Edit Poll Options
Edit Poll Options
Version: 1.0 vB-version: 3.0.0 Release Candidate 2 Developer: Kirby Install difficulty: Easy File edits: 4 Template edits: 1 Description of the Hack: By default it is not possible to change poll options (multiple votes, public) when you edit a poll. This hack allows to change these options. Please note that it is only possible to make a public poll non-public, you cannot make a non-public poll public with this hack. History
HACK INSTALLATION DETAILS: Files modified for this Hack: poll.php Templates modified for this Hack: editpoll.php |
hmmm I don't see the hack.. wheres the zip file? :)
|
It's lost, don't you see it?
|
I found 3 instances of this code in the poll.php:
PHP Code:
PHP Code:
|
No. Only around line 459 (for RC2).
|
Maybe you should update the instructions? ;)
|
The one under this?
start adding the edit to the db |
Yep.
Instructions updated (line number added) |
You might want to alos mention it is under that. RC3 has that on a different line. ;)
|
What did i do wrong i get that error :(
i use rc4 vb3 Code:
Database error in vBulletin 3.0.0 Release Candidate 4: |
You've installed it incorrectly (You've copied text from the install file into the query accindently)
|
Quote:
|
ok what about vb3 gold now :o
|
I tried to install it in vB3 Gold, but there's something with the code in poll.php that needs to be changed.
|
Quote:
|
is this working in GOLD ?
|
Quote:
|
Not working in GOLD for me either.
|
Very useful...
/me clicks install |
bleah. How a bad way of writing the TXT file. How can i know that the TXT file is not finished ? You shoud'v write an ending message. Like :
#########################3 That's id, i hope you enjoy my hack |
Hmm, I haven't upgraded to Gold yet :(
But normally it should work. I'll test that when I got time to do so. |
*theArchitect Clicks intalll*.
Very nice. Though I had to make a couple of changes to get it working with 3.0.3. |
Hmm ... gonna check & update the instructions soon :)
|
Quote:
In your instructions your original code requested a find and replace for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
And nice to see that you have updated the instructions too. :cool: Love your work. |
Yep. As this was originally written for RC2 the code to search for was a bit different.
In the meanwhile I already updated the instructions :) |
All times are GMT. The time now is 07:25 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:
|