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)

g-force2k2 08-28-2002 02:30 AM

PHP Code:

ALTER TABLE forum DROP countgold
ALTER TABLE forum DROP goldpp 

regards...

g-force2k2

ExAvIoUr 08-28-2002 02:21 PM

thanx.

kmfdm_kid2000 08-29-2002 11:18 AM

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]

Areku 09-20-2002 11:23 AM

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!

jitzs 10-03-2002 11:59 PM

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?

g-force2k2 10-04-2002 01:38 AM

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

PsyBlast 12-17-2002 10:53 PM

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. .. . . . .

PsyBlast 12-18-2002 11:15 AM

bump

PsyBlast 12-19-2002 07:53 PM

will somebody please help me out?

Silenced Soul 12-20-2002 09:05 PM

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.


All times are GMT. The time now is 10:58 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.01230 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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