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
I would like to say a big thank you for updating this mod.
I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?
I would like to see Awards statistics like the Promotion options in AdminCP. Where you can see all the users who has that particular Award, with set pages say every 50 or 100 awards in AdminCP.
Because I would like to give and take away award for certain events. Say I have 12 Game tournaments in a game season. I would like to give a participation award for each event and the winners. Then at the end of the gaming season for those who participated, delete those participation awards and give them just a single award for participating in the gaming season.
I would like users wanting to come back to my site, then waiting 3 months for our gaming season to gain a participation award for the season.
PM me with your config.php code (WITH ALL YOUR PERSONAL INFO REMOVED), I do not need to know your db name and all that stuff so you can just remove it out. we can test it out on our test site and get things squared away for ya. We do not have a German board so we do not have access to the German config.php file, if anyone has one we can view it would be appreciated.
I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.
Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.
Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.
So, if you are interested in my version of the profile block, let me know.
Sad, to see how people are complaining about reusable code, where the author himself will not support this mod anymore. If people loved it soo much, and the main user Doesnt want to continue it, then let it be continued by someone else. You'll still have the original credit like he put in his desciption..
I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63
I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.
Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.
Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.
So, if you are interested in my version of the profile block, let me know.
That may come in handy, since this is still in beta stage any work that is able to be contributed to help make this mod better/faster/stronger is well welcomed.
Quote:
Originally Posted by gamerscms
I would like to say a big thank you for updating this mod.
I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?
again thanks
This is already addressed internal, it is one of the bugs that still remain and will be worked out.
Quote:
Originally Posted by Loller
All award phrases ("My Awards" etc.) in awards_profile.php are static Will better to save them in vbulletin phrases, for making correct and full translation.
This will be done in the next release, just wanted to get a fully working release out so people could use it. A fully phrased is in the works.
Quote:
Originally Posted by Doug Nelson
What does it look like on sites with the horizontal user post format (such as here on vb.org)?
Never tried it since I use postbit_leg. If anyone wants to send in a screen shot that does use the default postbit I will add it to the screen shots so people are able to tell prior to downloading.
I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63
Did you follow the install instructions to a "T"?
If your running the old version and upgraded to this one and did not follow the instructions fully you will get major errors.