Version: 3.7.4, by Xanlamin
Developer Last Online: Apr 2015
Category: Miscellaneous Hacks -
Version: 3.7.x
Rating:
Released: 08-08-2008
Last Update: 11-22-2008
Installs: 511
DB Changes Uses Plugins Auto-Templates
Re-useable Code Code Changes Additional Files
No support by the author.
A lot of you have been waiting for this forever to work 100% with 3.7 due to the new profile tabs...Well wait no longer, here is the new revises version of HacNho's YAAS (Yet Another Awards System).
DESCRIPTION:
This is a Medals/Awards system. Admin can give members awards, and award icons will be displayed in member's profile, posts, as well as in a award list.
FEATURES: In AdminCP
- Can Create/Edit/Delete/Reorder categories/sub-categories in ACP (with category name and description)
- Can Create/Edit/Delete awards in ACP (with Award Name, Description, Icon URL, Image URL)
- Can Move one (or all) award(s) from one category to another
- Can set some awards un-classified (not displayed for public)
- Can re-order awards in awards showcase
+ Issue awards to members, based on username or userid, with Issue Reason
+ Remove awards from members
In ModCP
+ Issue awards to members, based on username or userid, with Issue Reason
+ Remove awards from members
Front page
- Display awards list in with: Award Name, Description, Icon, Image, and Members who get each award.
- Display awards showcase in profile, with Award information, Issue time and reason
- Display award icons in postbit (showthread, showpost, announcement, private)
CHANGES/MODIFICATION:
- Tables to add: 3 (award, award_user, award_cat)
- Files to add: 4 (/awards.php, /award_request.php, /admincp/award.php, /admincp/award_cat.php)
DIFFICULTY:
Easy
Time: about 5 minutes
Installer is included (1 product XML)
CREDIT:
Idea has been carried on by many people, here are some:
- Lesane for original Award hack for vB2, eventhough I've never use his hack
- AnimeWebby for Awards/ Medals/ Cards Hack [vB3], which I write new code based on his.
- Mac ycl6 for phpBB Medal System for phpBB forum
- Dr Erwin Loh for FORM TO THREAD/ FORUM/ PM/ EMAIL hack
- Cypher for helping with the tabs in 3.7
- liwo for re-writing plugins
- and all others for supports and ideas
First of all thanks to the coder for this mod, my members dig it. I do have a question, I'm using the 4.0 version and I noticed that when I go a member profile and look on the awards tab I have 3 columns. Icon, Image and Description but they are not spaced the way I would like or its not displaying correctly. It appears that the description is in the image column somehow. You can see it here http://www.buellforums.com/forum/member.php?u=1938
Really, I would like to just have the Icon and the description with why the member received the award.
// if ($vbulletin->options['aw_modcp'])
if ($vbulletin->userinfo['field12'] == 'Yes')
{
$cangiveaward = true;
construct_nav_option($vbphrase['give_user_award'], 'award.php?do=manage');
}
if ($cangiveaward)
{
construct_nav_group($vbphrase['award_system']);
construct_nav_spacer();
}
Finally, pick the users that you want to give access to and go into their profile in the AdminCP and select Yes in the Award System Manager profile field.
The user WILL need to already have access to the ModCP for this to work but as you're looking at Super Mods then I assume this is already the case.
I've done this on our forum as we did not want all moderators to be able to give awards, just our 'section heads'
On another note, I've also got the award system plugged into the permissions now and when an award is given to a user a scheduled task runs and checks for new awards and assigns them to a usergroup based on the award. There is also a script that checks for removed awards and will remove the relevant usergroup too.
I made a couple extra medals using PowerPoint shapes...not very sophisticated, but then neither are my graphics abilities. Attached is the 2 medals I made along with the power point file that has the shape templates in it.
// if ($vbulletin->options['aw_modcp'])
if ($vbulletin->userinfo['field12'] == 'Yes')
{
$cangiveaward = true;
construct_nav_option($vbphrase['give_user_award'], 'award.php?do=manage');
}
if ($cangiveaward)
{
construct_nav_group($vbphrase['award_system']);
construct_nav_spacer();
}
Finally, pick the users that you want to give access to and go into their profile in the AdminCP and select Yes in the Award System Manager profile field.
The user WILL need to already have access to the ModCP for this to work but as you're looking at Super Mods then I assume this is already the case.
I've done this on our forum as we did not want all moderators to be able to give awards, just our 'section heads'
On another note, I've also got the award system plugged into the permissions now and when an award is given to a user a scheduled task runs and checks for new awards and assigns them to a usergroup based on the award. There is also a script that checks for removed awards and will remove the relevant usergroup too.
I am using this mod (right now in actual version 3.7.4) since version for vBulletin 3.5.x, but becouse of recently server load problems I noticed, that when I enable showing of awards for postbit_legacy it adds 12 queries when generating showthread (vB 3.8.1). Is it normal? Becouse I am using this mod since older version for vBulletin 3.5.x, I tried uninstall it on separate copy of forum for testing purposes (vB 3.8.0) and when I install this mod again (version 3.7.4) as fresh install, it adds 15 queries to showthread - that is too many from my point of view.
How many queries it should add to showthread with enabled viewing of awards in postbit? What are your observations?