The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Yet Another Awards System 2.1.4 Details »» | |||||||||||||||||||||||||
Yet Another Award System 2.1.4 ? by HacNho Hack Version: 2.1.4.070324Copyright (C) 2005 by HacNho, All rights reserved. Compatible vB version: 3.6.x Support: https://vborg.vbsupport.ru/showthread.php?t=142487 for vBulletin 3.5.x: 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 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 - [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.3] Notify awarded user by PM/email - [2.1.4] Option to turn on/off Award System in ModCP 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) [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) 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) - Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php) - Templates to edit: 5 (MEMBERINFO, postbit, postbit_legacy, memberlist, memberlist_resultsbit ) 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 - and all others for supports and ideas Show Your Support
|
Comments |
#652
|
|||
|
|||
One page back had this... https://vborg.vbsupport.ru/showthread.php?p=1594424
|
#653
|
||||
|
||||
Mark as Installed.
|
#654
|
|||
|
|||
I wasn't really satisfied with the postbit awards position so decided to add one manually myself, it looks like this:
How can you do it? 1. open the postbit template and add a new hook where you want the awards, in my case it was the <td> between the left and right of the userinfo, for me it looked like this: Code:
<td width="100%">$template_hook[postbit_userinfo_center]</td> 2. in your admincp go into plugins, under awards open YAAS in Posbit Now replace: Code:
{ eval('$template_hook[\'postbit_userinfo_right\'] .= "' . fetch_template('awards_postbit_display') . '";'); } Code:
{ eval('$template_hook[\'postbit_userinfo_center\'] .= "' . fetch_template('awards_postbit_display') . '";'); } I also added some custom css to better style this, first open the template awards_postbit_display, I've changed it like this, adding a div with a class around it to get some css control: HTML Code:
<!-- show awards --> <if condition="$post[showuserawards]"> <div class="postbit_awards"> <fieldset><legend><a href="member.php?u=$post[userid]&tab=myawards" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend> <div> $post[userawards] <br> <a href="member.php?u=$post[userid]&tab=myawards" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards] </div> </fieldset> </div> </if> <!-- /show awards --> HTML Code:
.postbit_awards{float: left} This looks a lot better and saves space, hope you like it. |
#655
|
||||
|
||||
Quote:
See here for a similar code reference --> https://vborg.vbsupport.ru/showpost....57&postcount=3 So basically the Rank or in this mods case.. Awards would be displayed just as the images themselves and between your guns image and your name! |
#656
|
||||
|
||||
Hmmmmm, nice suggestion.... I'll look into this for the Rank mod I support and get back to ya as I will add it into my Award Mod when I do!
|
#657
|
||||
|
||||
Sorry for not perusing the entire thread but is there a simple way to remove either the icon or image column from being displayed? I don't really need both for what we're using it for.
EDIT: Got it, reading through the settings is pro. |
#658
|
|||
|
|||
On 3.6.11 I try and give an award but the keeps saying
Code:
Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. * Please contact the website owners to inform them of this problem. Any ideas? I have given away more than 20 awards without any problems. It happens both in firefox and IE. |
#659
|
|||
|
|||
Quote:
|
#660
|
|||
|
|||
Quote:
It's make my site down 10 time per day I am looking to another hack Thank for you all |
#661
|
|||
|
|||
Hi.
Im using this hack for my forum. but when I give an award to one of users, it doesn't show in his/her posts. and when I give an award to one of moderators, its correctly add to his/her posts. what's wrong? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|