The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Yet Another Awards System Details »» | |||||||||||||||||||||||||||||||||||
vBulletin 4 version can be found here: https://vborg.vbsupport.ru/showthrea...highlight=YAAS
DESCRIPTION: This is a Medals/Awards system. Admin/Mods 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) + Issue awards to members, based on username or userid, with Issue Reason + Recommend awards for members based on username, with Recommend Reason + Remove awards from members + Issue Point Values to awards (Recommended that you are running mySQL 5.0 or higher, will not work correctly with lower versions of mySQL) + Award automation 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 within a TAB, with Award information, Issue time and reason - Display award icons in postbit or under sig. CHANGES/MODIFICATION: 3.8.4: * Fixed - Issuing Awards to users with ' in usernames. * Fixed - "Award System Settings" SettingGroup name. * Fixed - Phrases for Award Request/Recommendation Settings. * Fixed - All templates should be properly cached. * Fixed - Inactive awards no longer display in postbit. * Improved - Version Information in AdminCP. * Improved - Award Name is added to Post/PM Title Recommendations/Requests. * Improved - Postbit Display Location descriptions. * Improved - Cleaner awards layout display. * Improved - Award Submissions Post/PM layout. 3.8.3 Patch 1: * Fixed - SQL Group By Syntax when Points are enabled DIFFICULTY LEVEL: Easy Time: about 5 minutes Installer is included (1 product XML) Upload files and import xml. When upgrading: re-upload ALL files and re-import XML This MOD is 100% Supported. Authors of YaAS 3.8: Xanlamin CypherSTL Current Release: v3.8.4 Newest Release Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
4 благодарности(ей) от: | ||
Erica1977, Panzer Max, Razta, xorex |
Comments |
#152
|
|||
|
|||
If you only use one language, it might be simpler for you to avoid making a new Phrase, and just enter in the text you want it to say.
Using Biker_GA's code (Hi from MO!), here are the steps to do that (this is assuming that you do not have the Template Modification System installed). When/if you upgrade you will NEED to re-do these steps, since upgrading usually removes changes like this (hence the very popular Template Modification System). 1) In your AdminCP, click the + next to the Styles and Templates, and then click Style Manager. For the Style you are using (if you use more than one, you'll need to do this for each style), click the drop-down and choose Edit Templates. 2) You will see a long list of templates and template categories. Scroll down to "Postbit Templates" and double click on that line (there are two possible Postbit options). 3) You are using the normal Postbit (name on top of the post), rather than the Legacy one (postbit_legacy, which displays the name on the left side). So double-click on "postbit". 4) You will see a large block of code. Take care when editing. I recommend immediately choosing the "Save in Template History" option and giving a name. That way, if you mess something up, you can revert back! Anyway, in that box, do a search for: Code:
<if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> When you find that code, make a few new lines under it, and add this code there: Code:
<!-----Request Award-----> <tr><td class="vbmenu_option"><a href="awards.php?$session[sessionurl]">Request Award for $post[username]</phrase></a></td></tr> <!-----Request Award-----> Code:
<if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <!-----Request Award-----> <tr><td class="vbmenu_option"><a href="awards.php?$session[sessionurl]">Request Award for $post[username]</phrase></a></td></tr> <!-----Request Award-----> |
#153
|
|||
|
|||
Does any one have any idea what might be wrong, I have this mod set to post a new thread when an award is requested.
It works great and all but in the thread I find this at the begining of each post: Code:
<!-- BEGIN TEMPLATE: awards_request_formanswers --> Code:
<!-- END TEMPLATE: awards_request_formanswers --> |
#154
|
|||
|
|||
Did you make any manual changes to the template?
|
#155
|
|||
|
|||
You mean the awards_request_form template?
Code:
$stylevar[htmldoctype] <html id="form" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - $vbphrase[award_formtitle]</title> $headinclude </head> <body> $header $navbar <form enctype="multipart/form-data" method="post" action="request_award.php"> <input type="hidden" value="submit" name="do"> <input type="hidden" value="$award[award_id]" name="award_id"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="3"> $vbphrase[award]: $award[award_name] (id: $award[award_id]) </td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> <br><div align="center"><img src="$award[award_img_url]"></div><br> <if condition="$award[award_desc]"> <fieldset class="fieldset"> <legend>$vbphrase[award_description]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td>$award[award_desc]</td> </tr> </table> </fieldset> </if> </div> </div> </td> </tr> </table> <br> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="3"> $vbphrase[award_formtitle] </td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> <fieldset class="fieldset" style="margin:0px"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td>$vbphrase[award_formpurpose]</td> </tr> </table> </fieldset> <fieldset class="fieldset"> <legend>$vbphrase[username]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td><b>$bbuserinfo[username]</b></td> </tr> </table> </fieldset> <fieldset class="fieldset"> <legend>$vbphrase[award_request_name]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td></td> </tr> <tr> <td><input type="text" class="bginput" size="30" name="award_request_name"></td> </tr> </table> </fieldset> <fieldset class="fieldset"> <legend>$vbphrase[award_request_recipient_name]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td><input type="text" class="bginput" size="30" name="award_request_recipient_name"></td> </tr> </table> </fieldset> <fieldset class="fieldset"> <legend>$vbphrase[award_request_reason]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td><textarea rows="5" cols="50" name="award_request_reason"></textarea></td> </tr> </table> </fieldset> </div> </div> </td> </tr> <tr> <td class="panelsurround" align="center"> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" name="submit" class="button" value="$vbphrase[submit]" accesskey="s" /> <input type="reset" name="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" /> </div> </td> </tr> </table> </td> </tr> </table> </form> $footer </body> </html> |
#156
|
||||
|
||||
Quote:
|
#157
|
||||
|
||||
Thank you so much! May I ask yet one more question? How to I "associate the plugin with the award?"
|
#158
|
||||
|
||||
Quote:
|
#159
|
|||
|
|||
When creating a new phrase, one of your options (from a pull down menu) will be which plugin to associate the phrase with.
|
#160
|
||||
|
||||
oh ok, lol, thanks so much!
|
#161
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|