![]() |
you can't attached files Exaviour i just mean the part of the line of coding i asked you to change :p its only one line in each file :p just telling you to remove the files before someone else does ;) regards...
g-force2k2 |
okay try this fix ;)
in both newreply.php and newthread.php find: PHP Code:
PHP Code:
g-force2k2 |
Vincent]
Quote:
|
Okay I got the instructions for admins to change their gold in admin CP. Okay after you install the hack do the following:
Open admin/user.php and find: makeinputcode("Number of Posts","posts",$user[posts]); Underneath that add: makeinputcode("User Gold","gold",$user[gold],0); Next find: if ($posts=="") { $posts=0; } Underneath that add: if ($gold=="") { $gold=0; } Next find: $DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdincl ude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',pare ntemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,ho mepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspeci alchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemai l=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes( $usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid"); Replace that with: $DB_site->query("UPDATE user SET gold='$gold',birthday='$birthday',options='$option s',usergroupid='$usergroupid', username='".addslashes(htmlspecialchars($ausername ))."'$pwdinclude,email='".adds lashes(htmlspecialchars($email))."',styleid='$user styleid',parentemail='".addsla shes(htmlspecialchars($parentemail))."',coppauser= $coppauser,homepage='".addslas hes(htmlspecialchars($homepage))."',icq='".addslas hes(htmlspecialchars($icq))."' ,aim='".addslashes(htmlspecialchars($aim))."',yaho o='".addslashes(htmlspecialcha rs($yahoo))."',signature='".addslashes($signature) ."',adminemail=$adminemail,sho wemail=$showemail,invisible=$invisible,usertitle=' ".addslashes($usertitle)."',cu stomtitle=$customtitle,joindate=$joindate,cookieus er=$cookieuser,nosessionhash=$ nosessionhash,daysprune='$daysprune',lastvisit=$la stvisit,lastactivity=$lastacti vity,lastpost=$lastpost,posts='$posts',timezoneoff set='$timezoneoffset',emailnot ification=$emailnotification,receivepm='$receivepm ',emailonpm='$emailonpm',ipadd ress='".addslashes($aipaddress)."',pmpopup=IF(pmpo pup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid"); Save and upload and now you can change their gold from Admin CP. If you want the one for taking off gold the same way as giving them gold from postbit then just ask me to post that and I will. |
well it didn't work. i can post and everything with no problems. but not gold.
well he is oringal part of the code b4 i modified it PHP Code:
|
im not really sure why it didn't work... did you configure the values and run queries to create the default values for each forum? regards...
g-force2k2 |
i might of ran a query to create the default values for each forum.
not sure though. |
PHP Code:
g-force2k2 |
nothing happened. i just un-install it. i might of done something wrong.
|
how do i take out the added stuff to the table that i did when i ran the queries????
|
PHP Code:
g-force2k2 |
thanx.
|
When trying to set Amounts where users earn gold from different forums in the Admin CP, I get the following Database Error:
PHP Code:
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] |
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! |
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?
|
jitzs... add this coding to the php file that you want to have the top ten list shown in:
PHP Code:
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 |
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. .. . . . . |
bump
|
will somebody please help me out?
|
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.
|
what exactly do i have to edit? it would of been nice if this came in zip, with INSTRUCTIONS ON WHAT TO DO
|
OMG DONT MIND MY STUPIDITY!!!!!!!!!!!!!!!
|
Ive got a question... has anyone written a bank hack for this thing? It'd be really helpful for me... heh.
|
ok, another question how do i get the itemshop to use the gold as the money form?
|
BUMPAGE
|
I have made a new Add-On for g-force2k2's Gold Hack. This add-on was originally created by Eander for Lasane's Store hack. What it does is it gives you the option in the AdminCP to 'pay' all moderators, supermoderators, and admins gold for a job well done.
All credit is given to Eander as I only converted his code to work with g-force2k2's Gold Hack. The original Add-On for Lasane's store hack can be found at https://vborg.vbsupport.ru/showthrea...threadid=44597. Tested on: vBulletin 2.2.9 Installation: Simply download the attached zip file and follow the directions in the ReadMe text file. |
This is a great hack!
One note however, if you delete a thread or post. It does not remove the gold. Thanks!! |
anyone got the idea for the same as add-on on the vBProArcade...
The Quote:
|
All times are GMT. The time now is 04:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|