Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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
  #2  
Old 12-31-2005, 04:56 PM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which arcade or does it work with both of them?
Reply With Quote
  #3  
Old 12-31-2005, 05:01 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many queries did it add?
Reply With Quote
  #4  
Old 12-31-2005, 05:19 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 mholtum
which arcade or does it work with both of them?
Sorry I forgot to specify. This is for V3Arcade.

Quote:
Originally Posted by TonysDesigns
How many queries did it add?
Shouldn't add any extra queries. It just sorts the games in a drop down instead of across the bottom of the screen.
Reply With Quote
  #5  
Old 01-01-2006, 02:44 AM
Dark_D Dark_D is offline
 
Join Date: Oct 2005
Location: U.S.A.
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put it in......nice, thanks. Any idea on how to add the hand when hovering over the link?
Reply With Quote
  #6  
Old 01-01-2006, 02:50 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 350Chevy
Sorry I forgot to specify. This is for V3Arcade.


i tested works for ibproarcade as well
Reply With Quote
  #7  
Old 01-01-2006, 03:48 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 Rickie3
i tested works for ibproarcade as well
Great! I'll update the thread then. Thanks!
Reply With Quote
  #8  
Old 01-01-2006, 09:54 PM
Seej Seej is offline
 
Join Date: Aug 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instead of adding the "Arcade Awards" link, is there a way to add this to the menu that pops up when you click on the trophy?
Reply With Quote
  #9  
Old 01-02-2006, 04:02 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seej
Instead of adding the "Arcade Awards" link, is there a way to add this to the menu that pops up when you click on the trophy?
Find the code for the image and replace it with something like this:

Code:
<!-- v3 Arcade -->
<div>
<div id="postmenu_arcade_$post[postid]">
<script type="text/javascript"> vbmenu_register("postmenu_arcade_$post[postid]", true); </script>
<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 -->
That is not tested however so let me know how it goes.
Reply With Quote
  #10  
Old 01-02-2006, 04:35 AM
XtremeOffroad XtremeOffroad is offline
 
Join Date: Jul 2005
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice, Clicks install
Reply With Quote
Reply

Thread Tools

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 06: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.04958 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_code
  • (5)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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