The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
|||
|
|||
you can't attached files Exaviour i just mean the part of the line of coding i asked you to change its only one line in each file just telling you to remove the files before someone else does regards...
g-force2k2 |
#43
|
|||
|
|||
okay try this fix
in both newreply.php and newthread.php find: PHP Code:
PHP Code:
g-force2k2 |
#44
|
||||
|
||||
Vincent]
Quote:
|
#45
|
||||
|
||||
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. |
#46
|
|||
|
|||
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:
|
#47
|
|||
|
|||
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 |
#48
|
|||
|
|||
i might of ran a query to create the default values for each forum.
not sure though. |
#49
|
|||
|
|||
PHP Code:
g-force2k2 |
#50
|
|||
|
|||
nothing happened. i just un-install it. i might of done something wrong.
|
#51
|
|||
|
|||
how do i take out the added stuff to the table that i did when i ran the queries????
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|