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)

Peace 09-06-2002 01:10 AM

^

Cold Steel 09-30-2002 11:25 PM

Quote:

Originally posted by Lesane
You're welcome.

The forumhome code on this post works great, it's tested.
https://vborg.vbsupport.ru/showthrea...353#post284353

You can add the code before:

PHP Code:

// get newest member 


I did this.

And I added $jackpot to forumhome.

And I have an active lottery going.

And nothing shows up on forumhome.

jitzs 10-06-2002 11:25 PM

is there a way to put the last winners name and the amount they won on the homepage? I'd want to keep a history of all the winners also. I'm a VB programmer, but i've never used php before. So I know what needs to be done, but just not how to do it.

Pancreas Paul 10-12-2002 04:49 PM

Umm lesane, when I click the lottery, it takes me to a blacnk screen which is http://bw.xtreme-host.net/vb/store.php?action=;ottery

or something. its just like al white. can someone help me fix this?

Pancreas Paul 10-13-2002 01:48 PM

Ahh cant someone help me :(

girlzclan 10-19-2002 05:02 AM

I don't know what went wrong, I finally got the hack working, but why is it showing in the store twice?

http://girlz.reactionzero.com/store.php

Pancreas Paul 10-19-2002 09:46 PM

Make sure there is only 1 lottery going and in the store.php you dident add the variable twice.

sklwer 10-29-2002 04:21 AM

I just installed the Hack and as an admin i used the end lottery pick a winner and this is what I am getting.. Help Help

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: SELECT * FROM user ORDER BY RAND() desc LIMIT 1
mysql error: You have an error in your SQL syntax near 'RAND() desc LIMIT 1' at line 1

mysql error number: 1064

girlzclan 11-08-2002 10:39 AM

I'm useing the store version that was posted here and when i try to install the lottery addon ::

I can't seem to find this
PHP Code:

$storegraphic $DB_site->query_first("SELECT showimg FROM storeadmin"); 

Anywhere in the root/store.php file.

pgowder 11-08-2002 11:53 AM

I just tried to end and pick winners of my first lottery.

Here is the error?

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: SELECT * FROM user ORDER BY RAND() desc LIMIT 1
mysql error: You have an error in your SQL syntax near 'RAND() desc LIMIT 1' at line 1

mysql error number: 1064

Date: Friday 08th of November 2002 09:12:19 AM
Script: http://www.powwows.com/gathering/gat...tion=lotwinner
Referer: http://www.powwows.com/gathering/adm...action=lottery


All times are GMT. The time now is 08:49 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.01393 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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