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
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.
Strange... mine wouldn't work without doing the file edit. Must have interference from another plugin/product. Sorting that out will give me something to do tomorrow... er... later today. lol
Can someone post how a link to one of their member profiles that shows how it should look? I cannot get the awards to show in members profiles. This is on 3.6.10pl2
For anyone who has edited this template, all you need to do is replace the "#award" appended on the links with "&tab=myawards".
Hope that helps!
Great Help, Thank You Very Much, Works Really Fine. :up::up:
I'd also like to Add that for the Postbit Icons of the Awards to Point Right inside the Tab, you should also Modify the "awards_bit" Template Replacing the Current Code with the Following One (notice that I only Added a "&tab=myawards" before "#aw_issue$award[issue_id]" and after "u=$award[userid]":
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.
Maybe this can be thrown into the main post.
Awesome, this fixed my problem also, thanks.
A little bug, my awards disappear from post bit after I edit a post, but display again once I click away.
I use links with [url] tags in awards. It seems that tags are not turned into html when displaying in the member profile. I can only see the tags there.
oh, i converted from 2.1.4. There everything was fine.