Version: 4.0.9, by squidsk
Developer Last Online: Aug 2021
Category: Major Additions -
Version: 4.0.2
Rating:
Released: 01-09-2010
Last Update: 12-15-2014
Installs: 982
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations
No support by the author.
*** CREATE A BACKUP OF YOUR FORUM AND DATABASE BEFORE INSTALLING ***
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
+ Writes granting/removing awards to the log
In ModCP
- Issue awards to members, based on username or userid, with Issue Reason
- Remove awards from members
+ Writes granting/removing award to the log
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)
New Features/Additions since 3.8
- Points System
- Separate Award Request/Recommendation Forms
- CSS Customizable
Current Release Version 4.0.9
Added - Handling of user merges
Added - Handling of user deletes
Added - Manage awards on per user basis
Added - Extra info to the logs for mass removal and editing of issued awards
Added - Ability to collapse categories on awards.php
Added - Checksum file for checking for suspect file versions
Added - Various missing phrases
Fixed - Memberlist not showing awards when option is active
Fixed - Navtab not being selected (vb version < 4.2)
Fixed - Category title not being displayed on awards.php
* Add an ablitity for an award to be awarded only to a specific usergroup
* add an ability so that you can choose who can awarded it. Not just an moderator
* add an ability so that awards in profiles will be shown in 2 seperate areas.
- 1 area will show the awards for a specific category in order of display that they have been awarded without he reason and such.
- the second will do it like it is now. (with details).
* when adding to postbit and/or signature make it so that you can choose a certain category to display only or all.
These are just ideas i have been thinking of. Since my Forums is used as a clan website and public forums.
require_once('./global.php'); global $vbulletin; require_once(DIR . '/includes/class_bbcode.php'); $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
class vB_ProfileBlock_MyAwards extends vB_ProfileBlock { var $template_name = 'memberinfo_block_myawards';
function confirm_empty_wrap() { return false; }
function confirm_display() { return ($this->block_data['myawards'] != ''); }
function prepare_output($id = '', $options = array()) { global $show, $vbphrase, $stylevar, $vbcollapse, $bgclass, $vbulletin;
require_once(DIR . '/includes/class_bbcode.php'); $bbcode_parser = new vB_BbCodeParser($this->registry, fetch_tag_list());
$result = $this->registry->db->query_read(' SELECT * FROM ' . TABLE_PREFIX . 'award_user AS award_user LEFT JOIN ' . TABLE_PREFIX . 'award AS award USING (award_id) WHERE award_user.userid = ' . $this->profile->userinfo['userid'] . ' AND award.award_active = "1" ORDER BY '.$vbulletin->options['aw_awardorder'].' ');
if (($vbulletin->options['aw_points']) AND ($this->profile->userinfo['userid'])) { $userpoints = $this->registry->db->query_read(' SELECT a.*, au.*, SUM(award_pointvalue) AS TotalPoints FROM ' . TABLE_PREFIX . 'award a, ' . TABLE_PREFIX . 'award_user au WHERE (au.userid = '.$this->profile->userinfo['userid'].') AND (a.award_id=au.award_id) AND (a.award_active = "1") GROUP BY au.userid ');
while ($array = $this->registry->db->fetch_array($userpoints)) { $this->block_data['total_points'] = $array['TotalPoints']; } }
But I also still have a ghost award tab down at the bottom with a link of &tab=myawards#myawards
Could this be a remnant from upgrading from version 3 that didn't get cleaned out?
-Rob A>
The fix you've done is not the correct fix. The above fixes will fix the error you're talking about (and make your own attempted fix obsolete). The error is caused because at some point in the 4.0.x series (I believe) vbulletin changed how tabs got rendered and the code for YAAS has not been updated since then.