Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Gold Hack (currency hack) Details »»
Gold Hack (currency hack)
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-25-2002 Last Update: Never Installs: 14
 
No support by the author.

well it was requested (asked) whatever you may call it... to create a currency hack that is more optimizeable... well here's my version of a currency hack (i just use gold because that's what i call my currency)

What is more optimizeable? You can configure which forums that you want gold(currency) to be gained in... and you can also configure different amounts... so for instance if you're a gaming forum place less emphasis on general forums by giving less gold and on gaming forums give more emphasis by giving more gold(currency)

hope that just about explains it all Enjoy...

g-force2k2

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-26-2002, 04:02 PM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it out g-force, thanks anyway ^^
Reply With Quote
  #23  
Old 08-26-2002, 04:13 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would this hack replace the money in the store hack.
Reply With Quote
  #24  
Old 08-26-2002, 04:33 PM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe he gave instructions for that in a previous post.
Reply With Quote
  #25  
Old 08-26-2002, 04:35 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 08-26-2002, 07:16 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey bro, you know how their is a hack called top5 posts? what would i need to do to see "top5 gold"?
Reply With Quote
  #27  
Old 08-26-2002, 07:29 PM
michealo michealo is offline
 
Join Date: Jun 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack

is it possible to reset someone's gold amounts back to 0?
Reply With Quote
  #28  
Old 08-26-2002, 08:32 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok cool. i am gonna install this.
Reply With Quote
  #29  
Old 08-26-2002, 08:54 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sup an addition to my question above, how can i edit the amount of gold a person has in my admin options
Reply With Quote
  #30  
Old 08-26-2002, 09:00 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 08-26-2002, 09:15 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05285 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete