vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Poll Points addon for Lesane's Store hack (https://vborg.vbsupport.ru/showthread.php?t=52505)

trafix 05-02-2003 10:00 PM

Poll Points addon for Lesane's Store hack
 
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

[high]* Kevorkian click install :D[/high]

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:

Quote:

**********************************
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?


All times are GMT. The time now is 08:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00972 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete