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

Reply
 
Thread Tools
Yet Another Awards System Details »»
Yet Another Awards System
Version: 4.0.9, by squidsk squidsk is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

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
  • Fixed - Logging not working in modcp
  • Fixed - A few other minor bugs

Download Now

File Type: zip YaAS-Automation-R4.zip (6.1 KB, 735 views)
File Type: zip YaAS-4.0.9.zip (1.34 MB, 984 views)

Screenshots

File Type: png YaAS4-AwardListings.png (164.2 KB, 0 views)
File Type: png YaAS4-ProfileTab.png (162.9 KB, 0 views)
File Type: png YaAS4-Post.png (176.0 KB, 0 views)
File Type: png YAAS4-AdminCP.png (381.0 KB, 0 views)
File Type: png YaAS4-AdminCP-EditAward.png (255.4 KB, 0 views)
File Type: jpg YaAS4-AdminCP-EditCSS.jpg (126.2 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #812  
Old 07-05-2011, 02:49 AM
flbutterflyz flbutterflyz is offline
 
Join Date: Jun 2011
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarceloS View Post
Same thing for me.
Same question as some others. Is it possible to get the code so we can manually change the awards location in the postbit?
Reply With Quote
  #813  
Old 07-05-2011, 04:34 PM
1stsAz 1stsAz is offline
 
Join Date: May 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, we have it installed in 4.1.4 and it is working fine except one thing. When we activated it as a Tab on our NavBar, our banner disappears at the top of the page. We think there is a CSS reference missing and we tried to get it in there by modifying the XML but it isn't taking. Anyone else have this issue?
Reply With Quote
  #814  
Old 07-07-2011, 03:31 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1stsAz View Post
Hey, we have it installed in 4.1.4 and it is working fine except one thing. When we activated it as a Tab on our NavBar, our banner disappears at the top of the page. We think there is a CSS reference missing and we tried to get it in there by modifying the XML but it isn't taking. Anyone else have this issue?
I know a friend who's site works fine except on the awards.php page there is no header. lol
Reply With Quote
  #815  
Old 07-07-2011, 04:08 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try with this:
https://vborg.vbsupport.ru/showpost....26&postcount=7

or copying the css award's code in your additional.css
Reply With Quote
  #816  
Old 07-08-2011, 01:57 PM
danswano danswano is offline
 
Join Date: Jan 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i disable or remove this product all avatars disappear, any idea why?

if a disable all plugins and keep this one active YAAS - postbit_display_start the avatars appears.

If i remove the whole product and i add a plugin contains this code to postbit_display_start

Code:
// [START HACK='Yet Another Award System' AUTHOR='HacNho']
if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
	global $db, $vbulletin;
	{
		if (THIS_SCRIPT == 'private')
		{
			$this->post['userid'] =& $post['fromuserid'];
		}
		if (($vbulletin->options['aw_postbit']) AND ($this->post['userid']))
		{
			
			$post['userawards'] = '';
			// Obtain list of awards for current user
			$alluserawards =  $db->query_read("
				SELECT a.*, au.*
				FROM " . TABLE_PREFIX . "award a, " . TABLE_PREFIX . "award_user au
				WHERE (au.userid = ".$this->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
				ORDER BY ".$vbulletin->options[aw_awardorder]." 
			");

			$post['showuserawards'] = false;
			
			if ($post['num_awards'] = $db->num_rows($alluserawards))
			{
				$aw_i = 0;

				while ($award = $db->fetch_array($alluserawards))
				{
					$aw_i++;
					if ($aw_i <= $vbulletin->options['aw_display_limit'])
					{
						//- VB3 -// eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
						//- BEGIN VB4 -//
						$templater = vB_Template::create('awards_bit');
							$templater->register('award', $award);
						$post[userawards] .= $templater->render();
						//- END VB4 -//
					}
				}
				
				if (($vbulletin->options['aw_points']) AND ($this->post['userid']))
				{
					$userpoints = $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->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
						GROUP BY au.userid
					");
				
					while ($array = $db->fetch_array($userpoints))
						{
						$post['total_points'] = $array['TotalPoints'];
						}  
				}
					
				$post['showuserawards'] = true;
				$db->free_result($alluserawards);
			}
		}
	}
}
// [END HACK='Yet Another Award System' AUTHOR='HacNho']
the avatar appears too, what's wrong with this plugin i can't see the avatars without it?

any clue?
Reply With Quote
  #817  
Old 07-08-2011, 06:40 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
I don't have that phrase in any template but either way I was looking in the wrong location, it would be in the awards_awardbit template because that's where you'll get both the awards_awardusers_bit being used and the phrase "users who have received this award".

I'm guessing your seeing this on http://www.yourforum.com/forum/awards.php (where http://www.yourforum.com/forum/ is your main forum index) in each different award right?
I just checked my template with a friends, & they are identical, so it must be a conflict of mods or something. :erm:
Reply With Quote
  #818  
Old 07-08-2011, 06:49 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nacaruncr View Post
try with this:
https://vborg.vbsupport.ru/showpost....26&postcount=7

or copying the css award's code in your additional.css
Actually I found in this case it was better to use:

Code:
{vb:raw headinclude_bottom}
Instead of:

Code:
{vb:cssfile additional.css}
Mods are nearly identical so edit template AWARDS instead - https://vborg.vbsupport.ru/showpost....58&postcount=2
Reply With Quote
  #819  
Old 07-08-2011, 11:57 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is that to help fix my issue or someone else's.?

I didn't try the original one or your "better" one, because i thought it was directed at someone else.
Reply With Quote
  #820  
Old 07-09-2011, 12:06 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
Is that to help fix my issue or someone else's.?

I didn't try the original one or your "better" one, because i thought it was directed at someone else.
An attempt to fix yours as he replied directly after your post, as I took it kwim .
Reply With Quote
  #821  
Old 07-10-2011, 10:46 AM
Tahir_Younus786 Tahir_Younus786 is offline
 
Join Date: Sep 2010
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this hock work in VB 4.1.4
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 08:22 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.10184 seconds
  • Memory Usage 2,381KB
  • Queries Executed 29 (?)
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
  • (3)bbcode_code
  • (5)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
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (19)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
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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