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
Quick question.... is there a way to create a link that when you click on the award, it takes you to the thread they received the award for..? I guess it would have to have a URL link box for each award given that it links to.
Is that possible... and what would this modification cost me
For those having the MySQLi error on their member pages open the plugin with your text editor of choice
Go to line 704 or find
Code:
$total_awards = mysql_num_rows($alluserawards);
and change to
Code:
$total_awards = mysqli_num_rows($alluserawards);
I dont know how to make this work in MySQL and MySQLi but MySQLi is recommended over MySQL by both the vbulletin developers and creates of mysql so this is a simple fix.
For those having the MySQLi error on their member pages open the plugin with your text editor of choice
Go to line 704 or find
Code:
$total_awards = mysql_num_rows($alluserawards);
and change to
Code:
$total_awards = mysqli_num_rows($alluserawards);
I dont know how to make this work in MySQL and MySQLi but MySQLi is recommended over MySQL by both the vbulletin developers and creates of mysql so this is a simple fix.
Thanks for that info! I tested it and there is no need to change anything in member.php. It works with the code in the plugin.
The template edit of course is necessary.