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)

Lesane 08-13-2002 11:32 AM

Quote:

Originally posted by Mist
is there any way of changing the amount a ticket costs?

Thanks in Advance

- Mist

You can do that by going to the "Lottery" action.

Lesane 08-13-2002 11:37 AM

Quote:

Originally posted by xxxsaint
I am having the same problem that another guy posted on here , everything installed just fine, and when I created my lottery in admin cp it went just fine , but when I try to purchase a ticket all I get is a white page and no ticket is purchased. Please help :D
Did you changed anything? Upgraded to an other vbulletin version?

xxxsaint 08-13-2002 11:41 AM

no sir , 2.2.6 all the way , no other changes

www.tdleague.com/forums

Lesane 08-13-2002 11:51 AM

Quote:

Originally posted by BluSmurf


I'm having problem with this, I placed $jackpot in forumhome template but on the index page it didn't show up. Any help?

Put this code in index.php:

PHP Code:

if ($lot=$DB_site->query_first("SELECT * FROM storelottery WHERE lotnumber='1'")) {
  
$jackpot="Current Lottery Fund is now: $lot[jackpot]";
} else {
$jackpot="";


You can put it before:

PHP Code:

//Most Popular Thread by Replies 

And don't forget to put $jackpot in the forumhome template. That should work.

Lesane 08-13-2002 11:51 AM

Quote:

Originally posted by DestyNova


Me either, it didnt show up.

Lesane, Do I have to put your jackpot codes in right place or? since I dont know which so I put it below ?> in index.php but it doesnt work anyway

Any idea?

Look the post above this one. :)

Lesane 08-13-2002 11:55 AM

Quote:

Originally posted by BluSmurf
no one can figure out why we're having blank pages?
Did you changed anything, like a vbulletin upgrade or did you host upgraded to a new php/mysql version?

xxxsaint 08-13-2002 11:59 AM

no new host upgrades either :(

Lesane 08-13-2002 12:11 PM

Look if you have these 2 templates:

store_lottery_error

And:

store_lottery

xxxsaint 08-13-2002 12:15 PM

yes i have

store_lottery
store_lottery_error
store_lottery_updated

Lesane 08-13-2002 12:19 PM

Send me your store.php by pm and could u give me the result of this query:

PHP Code:

SELECT FROM storelottery WHERE lotnumber='1' 



All times are GMT. The time now is 08:32 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.01525 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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