The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
UPDATE: Code tested on both 2.0.3 and 2.2.0
Install instructions updated to reflect differences in versions. Ability to specify Text values for points directly added. ===================== As requested in this thread ( http://vbulletin.org/forum/showthrea...threadid=23114 ) This hack includes a small script and instructions on how to install and set up the system. Purpose: Just a simple engine that allows mods and admins to award arbitrary points to users, which will be displayed under their names/avatars. The points can be named anything you wish, and represent anything you choose. You can use the script to add or subtract them. As the script utilizes a Custom Profile Field, the point field can be directly edited in the CP when editing a user, allowing you to place text in the field rather than merely a number. On our forum, the points are called Gil and represent our virtual currency It is used to purchase perks like Custom Titles and avatars. Our staff, having no use for Gil, instead like to have snappy quotes in the field, like "I send greetings of death!!!" (Reno) and "Who needs Gil when you have power?" (Sephiroth) Show Your Support
|
Comments |
#52
|
||||
|
||||
Hey man, great hack! Thanks a lot! Just one question for ya...How can I make it to where Moderators can give out Points (in my case, Awards)? You have to edit the user profile to give it to them, and I've looked everywhere and so far only Administrator's can give them out. How can I make it to where Moderators can give out awards? Thanks again for the great hack!
|
#53
|
||||
|
||||
Also, how do I make it to where they can see the "Awards" or "Points" when they post? Everytime I've installed it on my test board, it only shows up in their profile, yet you can still see "Points" or "Awards" underneath" the # of posts they have..Help! heh..thanks!
|
#54
|
||||
|
||||
Scratch this. I figured it out. Apparently everytime you add a custom user field, then delete it, it adds another # anyway. So mine wouldn't show b/c instead of "5" it was going up. Ended up at "8" heh...Thanks for the great hack!
Edit: Still would like to know about letting Mods give out awards. Thanks again! |
#55
|
||||
|
||||
Quote:
function getpostbit($post) should do. Try right after eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";"); =================== Psychdrone: I just added that, actually... I'm updating the zip file after this post with the change. Basically... where you type in the number of points to give... If you put in a number, it adds or subtracts points. If you type in text instead, it changes it to the text. =================== Radon3k: Umm... Mods should be able to give out points by default. I don't know what the problem would be. |
#56
|
|||
|
|||
I click the points link for any user, and just a blank white screen pop ups...
Any suggestions? http://rapbattle.com/vb Check any thread, for yourself. Thanks in advance |
#57
|
||||
|
||||
Quote:
Thanks a bunch Palmer! |
#58
|
|||
|
|||
Works great now thanks Palmer
|
#59
|
|||
|
|||
Would it work if i created a group called Points and then give it the appropriate usergroup number in points.php ?
Trying to make it so that only 1 user and admin/sup admin can edit the points. if (!$bbuserinfo[usergroupid]==6) Ok, this is Administrator group, what if i made another group with only 1 user in it and that group became id 15 say. How could i make the if statement include group 6 and 15 ? Wouldn't it be better to use user id's instead in this case, as apposed to group id's...*sigh* sorry for the spam =/ |
#60
|
||||
|
||||
Easy... first find the userid's of whoever you want to have permission.
Say it was here and I wanted you to have permission... your userid is 2722. Change all the PHP Code:
PHP Code:
Add ORs for whoever else you want to allow. You should change moderator.php as well PHP Code:
PHP Code:
|
#61
|
||||
|
||||
hi~~Palmer ofShinra i have a little question
if i want admin supermod and mod can use this ~~ how should i do ?? and in admin panel when i click points but nothing happen~~ why?? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|