Better YaAS (Awards) Layout!
This is probably compatible with most YaAS versions but only tested on the latest one.
This mod will change your layout from the classic Awards Showcase into what you see in the image bellow. NOTE: It doesn't change the colored layout but the content layout. http://www.rarewarecentral.com/content/display.png To do this all you need to do is three template edits. Simple, easy and a better YaAS. Change the template "Awards_awardbit" to: Code:
<tr> <if condition="$vboptions[aw_showicon]"> <td class="$bgclass" align="center"> <img src="$award[award_icon_url]" border="0"> </td> </if> <if condition="$vboptions[aw_showimage]"> <td class="$bgclass" align="center"> <a name="award$award[award_id]"></a> <img src="$award[award_img_url]" alt="$award[award_name]" border="0"> </td> </if> <if condition="$vboptions[aw_showmembers]"> <td class="$bgclass"><b><a href="awards.php?do=viewaward&award_id=$award[award_id]">$award[award_name]</a></b> <div class="smallfont">$award[award_desc] <hr> <if condition="$awarduserslist"> $vbphrase[users_with_thisaward]: $aw_ui<br> $awarduserslist <else /> $vbphrase[no_award_users] </if> </td> </if> </div> <if condition="$vboptions[aw_requestaward]"> <td class="$bgclass" align="center" nowrap> <if condition="$award[award_allowrequest]"> <a href="request_award.php?$session[sessionurl]award_id=$award[award_id]">$vbphrase[request_award]</a> </if> </td> </if> </tr> Code:
<if condition="$award_cat[award_cat_id]>1"> <tr> <td class="page" colspan="$totalcols"> <img src="$vboptions[cleargifurl]" width="16" height="4" alt="" /> </td> </tr> </if> <tr> <td class="tcat" colspan="$totalcols"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('award_cat$award_cat[award_cat_id]')"><img id="collapseimg_award_cat$award_cat[award_cat_id]" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_award_cat}.gif" alt="" border="0" /></a>$award_categotybit <if condition="$award_cat[award_cat_desc]"><div class="smallfont">$award_cat[award_cat_desc]</div></if> </td> </tr> <tbody id="collapseobj_award_cat$award_cat[award_cat_id]" style="{$collapseobj_award_cat}"> <tr> <if condition="$vboptions[aw_showicon]"> <td class="thead" nowrap="nowrap">$vbphrase[award_icon]</td> </if> <if condition="$vboptions[aw_showimage]"> <td class="thead" nowrap="nowrap">$vbphrase[award_image]</td> </if> <if condition="$vboptions[aw_showmembers]"> <td class="thead" width="100%">Description / Users with Award</td> </if> <if condition="$vboptions[aw_requestaward]"> <td class="thead" align="center" nowrap="nowrap">$vbphrase[request_award]</td> </if> </tr> <if condition="$award[award_id]"> $awardsbits <else /> <!-- show no awards message --> <tr> <td class="alt1" colspan="$totalcols" align="center"> <div style="padding: 16px"> <strong>$vbphrase[no_awards_in_this_category]</strong> </div> </td> </tr> <!-- end show no awards message --> </if> </tbody> Code:
<!-- [START HACK='Yet Another Awards System hack' AUTHOR='HacNho'] --> <if condition="$show['userawards']"> <a name="award"></a> <br> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="3" align="center"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('award_showcase')"><img id="collapseimg_award_showcase" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_award_showcase}.gif" alt="" border="0" /></a> $vbphrase[award_showcase] ($total_awards $vbphrase[awards]) </td> </tr> <tbody id="collapseobj_award_showcase" style="{$collapseobj_award_showcase}"> <tr> <if condition="$vboptions[aw_showicon]"> <td class="thead" nowrap>$vbphrase[award_icon]</td> </if> <if condition="$vboptions[aw_showimage]"> <td class="thead" nowrap>$vbphrase[award_image]</td> </if> </tr> $userawardslistbits </tbody> </table> </if> <!-- [END HACK='Yet Another Awards System hack' AUTHOR='HacNho'] --> Click install if you use it. Download No files for download. |
Similar Mods
*Post Awards* Simple Postbit and Memberinfo awards manually given thru User Options | vBulletin 3.5 Template Modifications |
Add-On for Awards/Medals/Cards Hack: Add bigger image for awards | vBulletin 3.0 Full Releases |