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)
-   -   Gold Hack (currency hack) (https://vborg.vbsupport.ru/showthread.php?t=42752)

[D]Vincent 08-26-2002 04:02 PM

I figured it out g-force, thanks anyway ^^

ExAvIoUr 08-26-2002 04:13 PM

would this hack replace the money in the store hack.

[D]Vincent 08-26-2002 04:33 PM

I believe he gave instructions for that in a previous post.

g-force2k2 08-26-2002 04:35 PM

no Exaviour the Store points would replace the gold points... just don't run the query ::

PHP Code:

ALTER TABLE user ADD gold int(10NOT NULL DEFAULT '0' 

instead just make the changes in POST #16... regards...

g-force2k2

Lovaboye 08-26-2002 07:16 PM

hey bro, you know how their is a hack called top5 posts? what would i need to do to see "top5 gold"?

michealo 08-26-2002 07:29 PM

great hack

is it possible to reset someone's gold amounts back to 0?

ExAvIoUr 08-26-2002 08:32 PM

ok cool. i am gonna install this.

Lovaboye 08-26-2002 08:54 PM

sup an addition to my question above, how can i edit the amount of gold a person has in my admin options

g-force2k2 08-26-2002 09:00 PM

Quote:

Originally posted by michealo
great hack

is it possible to reset someone's gold amounts back to 0?

just run this query ::

PHP Code:

UPDATE user SET gold='0' WHERE userid='[userid here]' 

replace the [userid here] with the userid...

but if ppl want an admin file to edit users gold i can do that ;)

btw about getting the top five richest members i believe the coding is something like this::

PHP Code:

$richest $DB_site->query("
  SELECT userid, username, gold
  FROM user
  ORDER BY gold DESC LIMIT 5"
);
     while(
$rich $DB_site->fetch_array($richest)) {
       [ 
data here template etc whatever you may ]
     } 

thats the php code and you just customize it how you want it to be :) regards...

g-force2k2

Lovaboye 08-26-2002 09:15 PM

Sorry but were should i put this at?

PHP Code:

$richest $DB_site->query("
  SELECT userid, username, gold
  FROM user
  ORDER BY gold DESC LIMIT 5"
);
     while(
$rich $DB_site->fetch_array($richest)) {
       [ 
data here template etc whatever you may ]
     } 

Can u post instructions on how to get this working?


All times are GMT. The time now is 08:01 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.01192 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)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)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