The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Yet Another Awards System 3.5 v2.1.2 Details »» | |||||||||||||||||||||||||
Yet Another Award System 2.1.2 ? by HacNho Hack Version: 2.1.2.051128Copyright (C) 2005 by HacNho, All rights reserved. Compatible vB version: 3.5.x Support: https://vborg.vbsupport.ru/showthread.php?t=94836 For vBulletin 3.0.x, please check the other version: https://vborg.vbsupport.ru/showthread.php?t=78934 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 ACP - 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 - [1.2] Options to set number of awards displayed in postbit - [1.2] Options to turn on/off showing award icon, images, award requests in awards list, awards icons in memberlist - [2.1.0] Options to re-order awards in postbit and member's profile >Order by issued time (newest first) >Order by issued time (oldest first) >Order by Award Order (ASC) >Order by Award Order (DESC) - [2.1.0] Option to set award in-active. Inactive awards will not be listed in award list. However, it will still be displayed in user's profile, if member has the award. - [2.1.0] Option to set "Request Award" option for each award. (Need "Show request award column" option ON to see the request link) - [2.1.0] Set custom usergroup permission, to set which group can request award (access request award page) - [2.1.0] Option to limit maximum number of users for each award displayed in awards list - [2.1.0] Change award_request options, all options are set in AdminCP, template and phrase based. Totally cumsomizable - [2.1.0] Option to send PM to use when he receives an award. 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) [1.2] Display limit awards in postbit, with total awards, and a link to awards showcase in member profiles. [1.2] Award request, link to a form sending to email/PM/new thead or post (based on Dr Erwin Loh's Form hack) [1.2] Display award on Memberlist page (by trulylowcarb) [2.1.0] Display individual award with name of members who receive the award [2.1.2] Collapse award categories and awards showcase CHANGES/MODIFICATION: (to do) - Files to add: 6 (/awards.php, /award_request.php, /admincp/award.php, /admincp/award_cat.php, /includes/xml/postbbit_awards.xml, /includes/xml/cpnav_awards.xml) - Templates to edit: 5 (MEMBERINFO, postbit, postbit_legacy, memberlist, memberlist_resultsbit) (automatic) - Tables to add: 3 (award, award_user, award_cat) - Templates to add: 9 ('AWARDS', 'awards_awardbit','awards_awardusers_bit','awards_ bit','awards_userawards_bit','awards_category','aw ards_categorybit', 'awards_request_form', 'awards_request_formanswers') - Phrases to add: xxx DIFFICULTY: Easy Time: about 2 minutes Installer is included (1 product XML) HISTORY: 2005.11.28: 2.1.1 - Add check for errors before sending PMs 2005.11.27: 2.1.0 - Add functions, Change award request options 2005.11.12: 2.0.6 - remove $this->post['userid'] check in showthread 2005.11.02: 2.0.5 - fix error when display non-user's single post 2005.10.16: 2.0.4 - fix display award after quickreply 2005.10.11: 2.0.3 - fix Display award in PM and announcement, change award request template (thanks y2krazy) (https://vborg.vbsupport.ru/showpost....9&postcount=69) 2005.10.07: Allow edit issued award 2005.09.05: Version 2.0.1 bug fix 2005.08.22: Version 2.0.0 for vBulletin 3.5.0 2005.08.18: Version 1.2.12005.04.14: Version 1.2.02005.04.03: Version 1.1 2005.03.29: Version 1.0.1b 2005.03.28: Version 1.0.1 2005.03.28: Initial release FUTURE PLAN: - Allow comments on user's award (by Arial) - Allow voting on user's award (by Arial) - Allow members to resort awards themselves <trackpad/TosaInu> <done> x. PM (/Email) user when he/she get an award. <2.1.0> x. Allow awards to be resorted <trackpads> <2.1.0> x. Allow admin to choose which awards have the 'request awards' link <trackpads> <2.1.0> x. Allow/disallow certain awards for certain usergroups <trackpads> <2.1.0> ADD ONs How-to for importing from phpBB's Medal System Mod https://vborg.vbsupport.ru/showpost....&postcount=171 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 - and all others for supports and ideas IMPORTANT: - BACKUP modified files and templates before making changes. - Backup database is recommended. - This hack is NOT compatible with AnimeWebby's Awards/Medals/CardsHack [vB3], you need to UNINSTALL his hack, before installing this one. INSTALLATION: Read INSTALL.txt UPGRADE: Reimport XML product Upload files if neccessary (keep the configuration) upgrade 2.1.1: Reupload files + Reimport XML product upgrade 2.1.2: Reupload files + Reimport XML product + reEdit templates (MEMBERINFO, postbit/postbit_legacy, memberlist_resultsbit) UNINSTALL: Click Uninstall in Product Manager, and undo the template changes MANUAL: Included in zip file SCREENSHOT: https://vborg.vbsupport.ru/showpost....25&postcount=2 DEMO: vB 3.5.x <removed on owners request> vB 3.0.x http://www.global-army.com/forum/awards.php http://www.global-army.com/forum/sho...=9253#post9253 http://www.global-army.com/forum/member.php?u=22#award DONATIONS: YAAS is free, but a donation of any amount is much appreciated. SERVICE: Installation service is available upon request Show Your Support
|
Comments |
#122
|
|||
|
|||
Quote:
|
#123
|
|||
|
|||
I didn't have too much luck with your alterative code to display 5 awards, then if there is more, drop to the next line to display next 5 etc, etc... any suggestions or other alternatives?
The other thing that also came to mind was, my awards in the posts etc aren't tiny like the example you included, I can probably make them slightly smaller but any smaller would defeat the purpose of the size they display at. Because of this if like in my case I want to display 5 awards across etc, the above stuff i.e. Last Online, Join Date, Posts, and IM icons etc, all still sit above the awards but sit with the left most awards. Is it possible to keep that data where it belongs at the far right so they don't move with the awards... oh I probably have said my user stat bar that most people have on the left of each post is at the top of user posts on my forum. Would be greatful for any assistance you can assist me with to get this working the way I'd like it to. Quote:
|
#124
|
|||
|
|||
Fixed it not showing after quick reply.
It appears that in newreply.php we find that the QuickReply is calling the same method as the post, except that the script name changes to the if check in the postbit_display_start fails and the code is not included. To fix: Replace in postbit_display_start: PHP Code:
PHP Code:
|
#125
|
|||
|
|||
clicked install thanks for the good mod
|
#126
|
|||
|
|||
Quote:
Where is postbit_display_start? |
#127
|
||||
|
||||
You can either re-import the product xml (2.0.4) or edit the plugin YAAS - Showthread_postbit_create as mention above.
Thank WhiteWolf for the fix. |
#128
|
|||
|
|||
This is a great mod. Nice job Mtha!
Trying it out on our test server and happy with its core functionality. No issues as of yet. We use a "badge" system on our current site (vb 3) which is made up of hacks here and there. Basically a badge is shown in the users postbit if they belong to a certain group. Id love to see a usergroup functionality added to this however. We have about 30k members and to add accolade badges manually is pretty much out of the question. Hehe. I want to just do "usergroup ID = this badge". I like the ability to add to a single user though, as it may serve useful for more "special" awards. The awards page showing a nice legend of all the awards is great as well. Nice touch. Anyways, is anyone else interested in a "issue award to usergroup" functionality within this mod? Not sure how hard or simple it will be, but I am going to ask my partner (the code guru) to give it a go. Thanks *install* |
#129
|
|||
|
|||
PHP Code:
PHP Code:
From YAAS - postbit_display_start PHP Code:
|
#130
|
||||
|
||||
Great hack - but found a bug on one of my threads (and not sure how to even debug or fix it):
Code:
Database error in vBulletin 3.5.0: Invalid SQL: SELECT a.*, au.* FROM award a, award_user au WHERE (au.userid = ) AND (a.award_id=au.award_id) ORDER BY au.issue_time; MySQL Error : You have an error in your SQL syntax near ') AND (a.award_id=au.award_id) ORDER BY au.issue_time ' at line 4 Error Number : 1064 Date : Sunday, October 16th 2005 @ 11:25:07 AM Script : http://www.xxxxxx.com/forums/showpost.php?p=6344 Referrer : IP Address : xxx.x.xx.xxxx Username : Kaelon Classname : vb_database |
#131
|
||||
|
||||
Fixed it! Apparently, an error over in the postbit_display_start plugin.
CHANGE THIS: Code:
if ($vbulletin->options['aw_postbit']) Code:
if (($vbulletin->options['aw_postbit']) AND ($this->post['userid'])) |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|