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)
-   -   Lottery Addon For The Store Hack (https://vborg.vbsupport.ru/showthread.php?t=40056)

xxxsaint 12-21-2003 04:22 AM

thanks , now that I have that there , when I try to purchase a ticket , it's not letting me , it just gives me a page layout like it used to have on your confirm buying the ticket screen , but no template context. What I did was re-do the templates for the lottery , and re-hack store.php ( the new store.php) , but since the hacks were already in place in the admin panel I didn't have to do those , and since old lottery info showed up , I didn't re-do the mysql queries , should I have to do that?

SavgeDusk 12-21-2003 04:51 AM

I'm getting the same thing. I'm thinking it has something to do with the new code. I tried everything I possibly could, re-checked, etc.. but nothing. =/

Frozen Dreams 12-21-2003 06:25 AM

I fiddled with stuff for a while and I think I have it working on my board. It wouldnt work for me at first either and I got the same errors. It's cuz the variables were changed me thinks.
$points were turned into $bbuserinfo['storep']

I copied and pasted the bits of code and the templates I used into the text file. So far it works fine, only thing I havent tested yet is picking the lottery winner (since I had one running while updating the store)

I hope it's ok I post this. Do not own this hack etc - just trying to help. ;)

SavgeDusk 12-21-2003 05:45 PM

You were right, Frozen Dreams. I can't believe I overlooked that. Actually I can, I was pretty tired. -- Anyway, I changed all the $points to $bbuserinfo['storep'] and it works. :] Thanks~

Frozen Dreams 12-22-2003 02:20 AM

Hehe - glad I could help :D
Yeah and not being a php expert myself, finding out what was wrong at first gave me a headache too :)

*~*E-DuB*~* 12-23-2003 07:55 AM

Quote:

Originally Posted by TalkHardRandy
Edit:

Never mind... change the value of jackpot from 'SMALLINT' to 'INT with a value of however many... I picked 8.

Sorry but I dont understand what hes saying, can somebody explain further in detail on changing the limit on the jackpot?

*~*E-DuB*~* 12-24-2003 05:33 AM

lesane u said in order to increase the jackpot......use lottery actions......

well here's what i came across...the jackpot is represented as.... $kutje
and i understand u can start the jackpot with a certain amount in the store cpanel....

but i want to expand the $kutje command....and make it larger than it already is.....
i was thinking some kinda of coding in front of the $kutje command here....

n e ideas?

double $kutje code?

DigitalDynasty 01-05-2004 07:09 PM

Ok I have a problem ^.^

When im editing the store.php file it ask me to find if($showimg=="Y") { well I cant find that I went to edit find in notepad and search find in edit plus and neither could find it....it also cant find $showgraphic="<b>$aw[title]</b>";

If anyone could help me that would be great...

Lesane 01-05-2004 07:27 PM

I am upgrading the lottery addon soon and will integrate it in my store hack.

*~*E-DuB*~*, to double the jackpot find this code:

PHP Code:

$kutje=$lala+$jackpot

Replace that with:

PHP Code:

$jackpot $jackpot*2;
$kutje $lala+$jackpot


DigitalDynasty 01-05-2004 08:02 PM

Quote:

Originally Posted by DigitalDynasty
Ok I have a problem ^.^

When im editing the store.php file it ask me to find if($showimg=="Y") { well I cant find that I went to edit find in notepad and search find in edit plus and neither could find it....it also cant find $showgraphic="<b>$aw[title]</b>";

If anyone could help me that would be great...

Do u think u could help with that im completly lost :(


All times are GMT. The time now is 06:42 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
  • Page Generation 0.01308 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete