View Full Version : Poll Points addon for Lesane's Store hack
trafix
05-02-2003, 10:00 PM
As requested by kaotic
The name basicly says it all...give new members points when they vote on a poll
2 X php file alterations
1 X query to do! This adds 1 column to the storeadmin table
No screen shot as it is not required
DEMO: www.atmyparty.com
~ This hack is Copyright ~
Please note that I will not be installing the VB3 "Store hack" and thus will not be re-coding this hack for VB3. If you are interested in the rights to re-coding this hack for VB3 (free), please PM me.
Kevorkian
05-03-2003, 06:14 AM
* Kevorkian click install :D
kaotic
05-03-2003, 06:27 AM
Wow! I didn't think that anybody would actually come up with this hack. Thanks a lot. :D
One problem, though. In the instructions, it seems to be missing some of the required modifications:
**********************************
OPEN poll.php
**********************************
-------
Find:
-------
-------
REPLACE it with:
-------
**********************************
SAVE poll.php
**********************************
trafix
05-03-2003, 07:01 AM
ooops ..... ha ha ....fixed
I had too many windows open and saved it to the wrong spot
kaotic
05-03-2003, 01:05 PM
Yeah, I know how it is. :p Thanks.
Xelation
06-10-2003, 01:20 AM
great hack :)
kaotic
06-10-2003, 03:04 AM
Once again, nice hack. :) But I got an auto response via e-mail telling me that someone received a database error when voting. I assume it was because he had the ' symbol in his user name. I'm sure it's a quick fix that I should be able to handle, though.
lyle84
11-25-2003, 01:28 PM
when i click to save changed in the admin panel i get this error
Database error in vBulletin Control Panel 2.3.2:
Invalid SQL: UPDATE storeadmin SET id='1',storename='Bob Jame\'s Pit Stop', pointname='Kudo\'s', welcome='Welcome on the store', welcomed='Here you can buy different goodies for the forum', ban='', stickday='0', showimg='N', showrich='Y', showgoodie='Y',newthread=10, newreply=5, newref=50, reply1=1, reply2=2, reply3=3, reply4=4, reply5=5, rpoint1=1, rpoint2=2, rpoint3=3, rpoint4=4, rpoint5=5, view1=1, view2=2, view3=3, view4=4, view5=5, vpoint1=1, vpoint2=2, vpoint3=3, vpoint4=4, vpoint5=5
mysql error: Duplicate entry '1' for key 1
mysql error number: 1062
any idea why?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.