Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yet Another Awards System Details »»
Yet Another Awards System
Version: 3.8.4, by Xanlamin Xanlamin is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.4 Rating:
Released: 11-13-2008 Last Update: 01-15-2010 Installs: 822
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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

File Type: zip YaAS-3.8.4.zip (477.6 KB, 3588 views)

Screenshots

File Type: jpg YaAS-AdminCP-Award_System_Settings.jpg (146.7 KB, 0 views)
File Type: jpg YaAS-AdminCP-Award_Manager.jpg (92.3 KB, 0 views)
File Type: jpg YaAS-Forum-Post_Display.jpg (89.1 KB, 0 views)
File Type: jpg YaAS-Forum-Profile_Display.jpg (105.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Erica1977, Panzer Max, Razta, xorex

Comments
  #152  
Old 04-21-2009, 03:39 PM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
    </if>
There is that nifty "find" box at the bottom, or you can use your browser's normal search function. You might want to search for "find_more_posts_by_x" for ease of typing!

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----->
Just to make sure, the code should now look like:
Code:
<if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;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----->
Click Save and go check out a post (you might need to refresh in your browser - F5).
Reply With Quote
  #153  
Old 04-21-2009, 05:10 PM
Phantasmagoric Phantasmagoric is offline
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
and this at the end of each post:
Code:
<!-- END TEMPLATE: awards_request_formanswers -->
Anyone have any suggestions on how I can stop this from showing in the posts please?
Reply With Quote
  #154  
Old 04-21-2009, 05:15 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you make any manual changes to the template?
Reply With Quote
  #155  
Old 04-21-2009, 05:27 PM
Phantasmagoric Phantasmagoric is offline
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #156  
Old 04-21-2009, 06:09 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phantasmagoric View Post
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 -->
and this at the end of each post:
Code:
<!-- END TEMPLATE: awards_request_formanswers -->
Anyone have any suggestions on how I can stop this from showing in the posts please?
Set Add Template Name in HTML Comments to "No" in Admin CP vBulletin Options/General Settings
Reply With Quote
  #157  
Old 04-21-2009, 06:18 PM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much! May I ask yet one more question? How to I "associate the plugin with the award?"
Reply With Quote
  #158  
Old 04-21-2009, 06:40 PM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elenna View Post
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&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
    </if>
There is that nifty "find" box at the bottom, or you can use your browser's normal search function. You might want to search for "find_more_posts_by_x" for ease of typing!

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----->
Just to make sure, the code should now look like:
Code:
<if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;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----->
Click Save and go check out a post (you might need to refresh in your browser - F5).
Thank you Elenna! Yes, I only use one language!
Reply With Quote
  #159  
Old 04-21-2009, 06:53 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cindyl10 View Post
Thank you so much! May I ask yet one more question? How to I "associate the plugin with the award?"
When creating a new phrase, one of your options (from a pull down menu) will be which plugin to associate the phrase with.
Reply With Quote
  #160  
Old 04-22-2009, 11:22 AM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh ok, lol, thanks so much!
Reply With Quote
  #161  
Old 04-24-2009, 08:34 PM
Brakkish Brakkish is offline
 
Join Date: Feb 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brakkish View Post
Is there a way to widen the description column? If you tell me where to find the code, I'll change it.

As you can see here: http://www.hammerfistclan.com/forum/awards.php it would look much better if the column was widened.

Thanks.
I think this got overlooked.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05851 seconds
  • Memory Usage 2,379KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (11)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete