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
  #1302  
Old 11-27-2012, 10:49 AM
Ultimattum Ultimattum is offline
 
Join Date: Jan 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Just having another question...

How can i add a custom .css inside the forms code?

I mean, how can i add vbulletin.css inside this:

awards_request_form
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">

<div class="blockhead">$vbphrase[award]: $award[award_name] (id: $award[award_id])</div>

<div align="center"><br /><img src="$award[award_img_url]"><br /><strong> $award[award_name]</strong></div>

			<if condition="$award[award_desc]">
<br />
<div class="blockhead">$vbphrase[award_description]</div>
<div class="blocksubhead">$award[award_desc]</div>						
</if>
	
<br />

<div class="blockhead">
$vbphrase[award_formtitle]
</div>
<div class="blocksubhead">
$vbphrase[award_formpurpose]
<br /><br />

$vbphrase[username]
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td><b>$bbuserinfo[username]</b> (User ID: $bbuserinfo[userid])</td>
				</tr>
				</table>
<br />
		
		
$vbphrase[award_request_reason]
				<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>
<br />
<input type="hidden" name="award_request_uid" value="$bbuserinfo[userid]">
<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>

</form>

$footer
</body>
</html>
Thanks
Reply With Quote
  #1303  
Old 11-27-2012, 04:32 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ultimattum View Post
Hello,
Just having another question...

How can i add a custom .css inside the forms code?

I mean, how can i add vbulletin.css inside this:

awards_request_form
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">

<div class="blockhead">$vbphrase[award]: $award[award_name] (id: $award[award_id])</div>

<div align="center"><br /><img src="$award[award_img_url]"><br /><strong> $award[award_name]</strong></div>

			<if condition="$award[award_desc]">
<br />
<div class="blockhead">$vbphrase[award_description]</div>
<div class="blocksubhead">$award[award_desc]</div>						
</if>
	
<br />

<div class="blockhead">
$vbphrase[award_formtitle]
</div>
<div class="blocksubhead">
$vbphrase[award_formpurpose]
<br /><br />

$vbphrase[username]
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td><b>$bbuserinfo[username]</b> (User ID: $bbuserinfo[userid])</td>
				</tr>
				</table>
<br />
		
		
$vbphrase[award_request_reason]
				<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>
<br />
<input type="hidden" name="award_request_uid" value="$bbuserinfo[userid]">
<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>

</form>

$footer
</body>
</html>
Thanks
First, if that's what your award_request_form template looks like you are not using the correct one, which means either you didn't upgrade to 4.0.4 correctly or you customized that template previously and didn't revert the changes when you upgraded (or port the changes to the new base version). The templates in 4.0.4 have been completely re-done using the vb4 template syntax (i.e. {vb: .... } syntax)

Second, the template vbulletin.css (or its corresponding file) is already included in that template through the $headinclude variable. Similarly it is also in the new version through the {vb:raw headinclude}.
Reply With Quote
  #1304  
Old 11-27-2012, 04:45 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
Still happens on the default style.

Default Postbit Width - 200px:



Modified Postbit Width - 230px:



Just quoting myself here, Squidsk, in case you didn't see it because it was on the previous page.
Reply With Quote
  #1305  
Old 11-27-2012, 05:00 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
Still happens on the default style.

Default Postbit Width - 200px:

[IMG]http://i101.photobucket.com/albums/m62/AmauryGarcia/YAAS1.png[/IMG]

Modified Postbit Width - 230px:

[IMG]http://i101.photobucket.com/albums/m62/AmauryGarcia/YAAS2.png[/IMG]

[IMG]http://i101.photobucket.com/albums/m62/AmauryGarcia/YAAS3.png[/IMG]
Since it isn't showing up correctly on the default at 200px have you modified the default style? I'm somewhat suspicious that you have. If it works properly on an unmodified default style, which I'd suspect it does given there are no other complaints, then something you've modified in both the default and the customized style are causing problems.
Reply With Quote
  #1306  
Old 11-27-2012, 05:06 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Since it isn't showing up correctly on the default at 200px have you modified the default style? I'm somewhat suspicious that you have. If it works properly on an unmodified default style, which I'd suspect it does given there are no other complaints, then something you've modified in both the default and the customized style are causing problems.
It doesn't, though.

If I reduce the user info width to, say, 150px, it shows under all of the user info correctly instead of to the right of it for users with smaller avatars or at the avatar limit for their usergroup, but we want the width at 230px so that user with the Marceline username and the status circle appear on the same line.
Reply With Quote
  #1307  
Old 11-27-2012, 07:47 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
It doesn't, though.

If I reduce the user info width to, say, 150px, it shows under all of the user info correctly instead of to the right of it for users with smaller avatars or at the avatar limit for their usergroup, but we want the width at 230px so that user with the Marceline username and the status circle appear on the same line.
Try disabling the plugin that adds the number of threads to the postbit.

EDIT: Remove any manual template edits it had you do as well.
Reply With Quote
  #1308  
Old 11-27-2012, 10:06 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Try disabling the plugin that adds the number of threads to the postbit.

EDIT: Remove any manual template edits it had you do as well.
This has actually been going since before those add-ons (Threads and Last Online) were installed. The postbit_legacy template was also unedited back then as well. Additionally, this was before you quarantined YAAS.
Reply With Quote
  #1309  
Old 11-29-2012, 06:52 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
This has actually been going since before those add-ons (Threads and Last Online) were installed. The postbit_legacy template was also unedited back then as well. Additionally, this was before you quarantined YAAS.
Could you provide a link to your site so I can take a look. I'd be highly surprised if it was something other than a conflict with another plugin that you have installed given this issue hasn't been reported before now.
Reply With Quote
  #1310  
Old 11-29-2012, 07:17 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Could you provide a link to your site so I can take a look. I'd be highly surprised if it was something other than a conflict with another plugin that you have installed given this issue hasn't been reported before now.
See my signature.
Reply With Quote
  #1311  
Old 11-29-2012, 07:42 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
See my signature.
I was looking at some posts with the two awards from your screenshots in the staff induction forum as a guest and everything looks just fine. I even used firebug to change the width of the postbit to 230px and it still didn't cause the display to look like your screens. This leads me to believe that it's related to a plugin you have that does stuff when a user is logged in but not for guests, as yaas doesn't do anything with logins it isn't this plugin causing the problem.

I did also notice, when running xhtml validation on the page, that there are a number of validation errors which could also be causing problems.
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 12:34 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.20681 seconds
  • Memory Usage 2,386KB
  • 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
  • (2)bbcode_code
  • (9)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_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