350Chevy |
12-30-2005 10:00 PM |
postbit drop down for V3Arcade awards
I got sick of looking at that horrid arcarde awards list of icons in showthread.php and used to have something simular to this in v3.0.x but I could not find one for v3.5.x so here is a simple one. If you want to change it or add to it go right ahead. I will try to support as much as possible but I've been extremely busy and these edits shouldn't be that hard to do! :p
* Tested and works for V3Arcade.
This may work for postbit as well as postbit_legacy but I would not know as I don't use that template and haven't tested it on it. Sorry.
replace all the contents in arcade_award_bit with:
Code:
<tr><td class="vbmenu_option"><a href="arcade.php?do=play&gameid=$award[gameid]"><img src="$vboptions[arcadeimages]/$award[miniimage]" align="absmiddle" border=0> <span class="smallfont">$award[title] Champion!</span></a></tr></td>
in postbit_legacy scroll all the way down and find:
Code:
<!-- v3 Arcade -->
<if condition="$post['arcadeawards']">
<tr><td class="thead"><phrase 1="$post[username]">$vbphrase[xs_arcade_awards]</phrase></a></td></tr>
$post[arcadeawards]
</if>
<if condition="($post['arcadeoptions'] & 1) AND $post['userid']!=$bbuserinfo['userid']">
<tr><td class="thead">$vbphrase[arcade]</a></td></tr>
<tr><td class="vbmenu_option"><a href="arcade.php?do=newchallenge&userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[challenge_x_in_the_arcade]</phrase></td></tr></if>
<!-- /v3 Arcade -->
And DELETE it!
Again in postbit_legacy find:
Code:
<div>
$vbphrase[posts]: $post[posts]
</div>
And BELOW that ADD:
Code:
<!-- v3 Arcade -->
<div>
<div id="postmenu_arcade_$post[postid]">
<script type="text/javascript"> vbmenu_register("postmenu_arcade_$post[postid]", true); </script>
Arcade Awards
<div class="vbmenu_popup" id="postmenu_arcade_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]'s Awards</td>
</tr>
<if condition="$post[arcadeawards]!=''">
$post[arcadeawards]
<else />
<tr>
<td class="vbmenu_option" title="nohilite">
$post[username] has no awards.</td>
</tr>
</if>
</table>
</div>
</div>
<!-- /v3 Arcade -->
I've attached images of the outcome.. Not a great profile, but 150% better than what the v3Arcade install gives you.
|