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
  #52  
Old 08-28-2002, 02:30 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
ALTER TABLE forum DROP countgold
ALTER TABLE forum DROP goldpp 
regards...

g-force2k2
Reply With Quote
  #53  
Old 08-28-2002, 02:21 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx.
Reply With Quote
  #54  
Old 08-29-2002, 11:18 AM
kmfdm_kid2000's Avatar
kmfdm_kid2000 kmfdm_kid2000 is offline
 
Join Date: Mar 2002
Location: Where Towers Crumble (NYC)
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When trying to set Amounts where users earn gold from different forums in the Admin CP, I get the following Database Error:

PHP Code:
Database error in vBulletin Control Panel 2.2.6:

Invalid SQLUPDATE forum
SET
styleid
='1'title='The Senate'description='All Staff voting issues to be held here, and displayed publically. High Staff may make threads, to bring up issues demanded by the public. Mods may reply, and the public may view.',
active='1'displayorder='1'parentid='41'parentlist='42,41,-1',
allowposting='1'cancontainthreads='1'daysprune='1000',
newpostemail=''newthreademail='',
moderatenew='0'allowhtml='1'allowbbcode='1',
allowimages='1'allowsmilies='1'allowicons='1',
styleoverride='0'allowratings='1'countposts='1',
                     
moderateattach='0'collapsed='1' countgold='1'goldpp='20'
                   
WHERE forumid='42'
mysql errorYou have an error in your SQL syntax near 'countgold='1', goldpp='20'
                   WHERE forumid='
42'' at line 10

mysql error number
1064 
How can I correct this??

EDIT: Never Mind, found it, a Missing Comma Character in the PHP between Collapsed and Yadda Yadda, fixed it...

[high]* kmfdm_kid2000 installs, and names it "Quality Points" instead...[/high]
Reply With Quote
  #55  
Old 09-20-2002, 11:23 AM
Areku Areku is offline
 
Join Date: Feb 2002
Posts: 540
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can any1 enlight me with the usage of this hack?

Once people earn gold, what do they do with it?

Towards what does it count?

Tu!
Reply With Quote
  #56  
Old 10-03-2002, 11:59 PM
jitzs jitzs is offline
 
Join Date: Aug 2002
Location: NJ
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

g-force - I read through this post twice, so I'm sorry if you already answered this, but did you ever put together instructions on how to make a top 10 richest members list?
Reply With Quote
  #57  
Old 10-04-2002, 01:38 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jitzs... add this coding to the php file that you want to have the top ten list shown in:

PHP Code:
$richest $DB_site->query("
  SELECT username, userid, posts, joindate, gold
  FROM user 
  WHERE userid != 0
  ORDER BY gold DESC LIMIT 10"
);
while(
$rich $DB_site->fetch_array($richest)) {
  
$member "<a href='member.php?s=$session[sessionhash]&action=getinfo&userid=$rich[userid]'>$rich[username]</a>";
  
$joindate vbdate($dateformat,$rich[joindate]);
   
$richtop10.="<tr><td width='40%'><smallfont>$member</smallfont></td><td width='20%'><smallfont>$joindate</smallfont></td><td width='20%'><smallfont>$rich[gold]</smallfont></td><td width='20%'><smallfont>$rich[posts]</smallfont></td></tr>";
  }
  eval(
"\$top10rich = \"".gettemplate('richest_members')."\";"); 
Create a new template called:

richest_members

and in the template place:

<table cellpadding='4' cellspacing='1' border=0>
$richtop10
</table>

And from there you can customize how ever you want... regards...

g-force2k2
Reply With Quote
  #58  
Old 12-17-2002, 10:53 PM
PsyBlast PsyBlast is offline
 
Join Date: Dec 2002
Location: Fayetteville, NC!!!!!!!
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to install this (either with vbhacker, or running the install_goldhack.php file) it doesnt work, when I try to install it with vbhacker it has (attachment), and I have the newest version of vbhacker installed, also when I select the (By ) option it gives this error

Warning: Variable passed to reset() is not an array or object in /home/psyblast/public_html/forums/admin/vbhacker.php on line 291
Warning: The vBulletin version you are currently using (2.2.9) does not match the vBulletin version required by this hack ().

and when I try to run install_goldhack.php in the browser I just get the whole file in text format. .. . . . .
Reply With Quote
  #59  
Old 12-18-2002, 11:15 AM
PsyBlast PsyBlast is offline
 
Join Date: Dec 2002
Location: Fayetteville, NC!!!!!!!
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #60  
Old 12-19-2002, 07:53 PM
PsyBlast PsyBlast is offline
 
Join Date: Dec 2002
Location: Fayetteville, NC!!!!!!!
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will somebody please help me out?
Reply With Quote
  #61  
Old 12-20-2002, 09:05 PM
Silenced Soul's Avatar
Silenced Soul Silenced Soul is offline
 
Join Date: Apr 2002
Location: holdin' it down for tha 303
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uh, psy, you have to do it through text editing. Take your files, and edit them by hand. That seems like your only problem, if you ask me.
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 11:25 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.04866 seconds
  • Memory Usage 2,322KB
  • 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
  • (3)bbcode_php
  • (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
  • (3)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