![]() |
Different Version of the Points Hack
OK here it is. Its a smaller version I made of the points hack by shinraonline.com
Installing : ---- do this mysql query: #### ALTER TABLE `user` ADD `points` MEDIUMINT(20) NOT NULL AFTER `password`; #### once that is done you need to edit admin/functions.php #### under : ---- if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]& dateline=$post[avatardatelin e]"; } else { $avatarurl=""; } } ---- add then save: ---- if ($post[usergroupid]==5 || $post[usergroupid]==6 || $post[usergroupid]==7) { if (ismoderator($forumid)) { $adminmodop = "<a href='mod/givepoints.php'>Give Points</a>"; } else { $adminmodop = ""; } } ---- #### now go into your postbit template and add right under $post[posts] ---- <br><u>Points:</u> $post[points]<br> $adminmodop<br> ---- save it #### then upload givepoints.php to your mod dir and there you have it. #### Small. Simple. ReEdited File. 03/04/02 |
Why are you only allowing mods to be given points?
|
...|| $post[usergroupid]==6 || ...
^^^^^^^^^^^^ ADMIN ID the reason I am posting this also, is because I am going to give people a break and have a small store... somewhat like shinra onlines one... but the only item will be a custom avatar. |
Shouldn't the code be like this?
Code:
if ($bbuserinfo['usergroupid']==5 || $bbuserinfo['usergroupid']==6 || $bbuserinfo['usergroupid']==7) { |
errr... ahh i forgot about that didnt I.. I had it on my forums so only admins could use it... "good eye firefly"
|
not working
Reciever Name: Admin Gil Amount: 10 when i click the "Give Points" botton it gonna white page! ??? |
Errr.... give me a few.... damn hack....
|
All times are GMT. The time now is 04:59 PM. |
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:
|