PDA

View Full Version : Hide Poll Results hack.


glas
01-25-2003, 02:23 PM
I attempted to install the Hide Post Results hack today - my first ever. I think I actually did ok for a novice, however, I only got half the hack installed. The option is available, but whenever I try to post with it, it tells me there was something wrong with the queries, which I'm not surprised.

If you could please tell me what I'm doing wrong, I'd greatly appreciate it. I have Hosting Matters as my server if that helps any. This is what I get:

Database error in vBulletin 2.2.9:

Invalid SQL: INSERT INTO poll (pollid,question,dateline,options,votes,active,num beroptions,timeout,multiple,hidepoll) VALUES (NULL,'Who the hell is the best?','1043511013','Prue. RIP.|||Piper. Hot Mama.|||Pheobe. ..........|||Paige. Funky \'n\' quirky.','0|||0|||0|||0',1,4,'0','0','1')
mysql error: Unknown column 'hidepoll' in 'field list'

mysql error number: 1054

Date: Saturday 25th of January 2003 11:10:13 AM
Script: http://www.charming-holly.com/hhg/hhg/poll.php
Referer: http://www.charming-holly.com/hhg/poll.php?s=&threadid=387&polloptions=4

If this is the wrong place, I apologize. :dead:

Boofo
03-22-2003, 09:16 AM
It would be better to post this in the hack's thread. ;)

Did you run this query?

ALTER TABLE `poll` ADD `hidepoll` SMALLINT(5) UNSIGNED NOT NULL AFTER `voters`