Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
postbit drop down for V3Arcade awards Details »»
postbit drop down for V3Arcade awards
Version: 1.00, by 350Chevy 350Chevy is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-30-2005 Last Update: 01-05-2006 Installs: 16
Template Edits
 
No support by the author.

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!

* 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.

Show Your Support

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

Comments
  #22  
Old 03-23-2006, 09:38 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plz plz
Reply With Quote
  #23  
Old 03-30-2006, 07:01 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Funkie
has this coder given up support
Yes, sorry.

I got tired of people posting hacks after only changing a few lines of code that weren't their hacks to release; other people creating great hacks and not posting them just to use on their site alone; among other things that I don't really feel like mentioning.

As far as making it look the way you want it to look, I will try to squeeze some time in to get it working for you. Sorry again.
Reply With Quote
  #24  
Old 03-30-2006, 07:22 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks very much if you do get round to it would be most appreciated
Reply With Quote
  #25  
Old 04-01-2006, 02:50 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To have the Arcade Awards have an underline try using this code

Code:
<!-- v3 Arcade -->
<div>
<div id="postmenu_arcade_$post[postid]">
<script type="text/javascript"> vbmenu_register("postmenu_arcade_$post[postid]", true); </script>
<u>Arcade Awards</u>
     <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 -->
INSTEAD of

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 -->
Reply With Quote
  #26  
Old 04-01-2006, 02:56 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I moved the trophy so it's placed next to the words Arcade Awards..

to do that find this in postbit_legacy:

Code:
<img src="$vboptions[arcadeimages]/trophy.gif" align="absmiddle" alt="Arcade Awards" border="0" /a>
and delete it...

and use this code in postbit_legacy

Code:
<!-- v3 Arcade -->
<div>
<div id="postmenu_arcade_$post[postid]">
<script type="text/javascript"> vbmenu_register("postmenu_arcade_$post[postid]", true); </script>
<u>Arcade Awards</u> <img src="$vboptions[arcadeimages]/trophy.gif" align="absmiddle" alt="Arcade Awards" border="0" /a> 
     <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 -->
INSTEAD of the original I have placed in the install notes..

which is:

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 -->
Reply With Quote
  #27  
Old 07-14-2006, 11:34 AM
murdo murdo is offline
 
Join Date: Jun 2006
Location: Scotland, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome, thank you very much.

BUT

Is there any way to show these awards in the signature, NOT in a popup? so just one beside the other?
Reply With Quote
  #28  
Old 09-09-2007, 08:01 AM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How I make this that also the Varcade awards to come stand on MEMBERINFO page just like in postbit!

please help me :erm:
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 03:26 PM.


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.04402 seconds
  • Memory Usage 2,290KB
  • Queries Executed 22 (?)
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
  • (9)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete