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

Reply
 
Thread Tools
vbarcade quick links on front page Details »»
vbarcade quick links on front page
Version: 1.00, by yayvb yayvb is offline
Developer Last Online: Jul 2009 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-27-2005 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

This is very amateur, but I am not a coder, just thought someone without much knowledge may find this helpful. I feel this small template modification may increase user registrations since it has the ability to quickly show that you have games on your site.

This is a simple modification, not intended for advanced users as these images are static and not at all randomized, etc. But atleast if someone humors me and clicks install someday I will feel special.

Also if you see that I'm not showing the correct way, or a proper way to do something here, please let me know so I can correct it in case someone ever does use this.

Here's a screenshot:
Here's what to do:

In your FORUMHOME template, find $navbar.

Between $navbar and <!-- main --> add this:

Code:
<!-- arcade -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
		<td class="thead" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">Check out some of our NEW arcade games </td>
</tr>
<tr>		<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
			<table align="center" border="0" width="100%">
				<tr class="alt2">
					<td align="center"><a href="../arcade.php?do=play&gameid=1"><img src="../images/arcade/snake1.gif" border="0"></a> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=5"><img src="../images/arcade/chopper1.gif" border="0"> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=2"><img src="../images/arcade/spaceinvaders1.gif" border="0"> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=7"><img src="../images/arcade/asteroids1.gif" border="0"> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=6"><img src="../images/arcade/tetris1.gif" border="0"> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=13"><img src="../images/arcade/simon1.gif" border="0"> </td>
					<td align="center"><a href="../arcade.php?do=play&gameid=12"><img src="../images/arcade/breakout1.gif" border="0"> </td>
				</tr>
			</table>
		</td>
</tr>
<tr>
		<td class="tcat" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">(Click on any of these games above to begin playing that game.)</td>
</tr>
		
</thead>
</table>
</br>
<!-- end arcade -->
This is assuming that you have the five packaged vbarcade games, and you have installed the first two additional available (Breakout & Simon).

You will have to change the location reference for each of the above icons to the ID that your arcade games are listed under. In other words the above links will bring you to where my games are, but each install may produce a different game ID, do hover your mouse over your game to find out it's unique id.

If you think my modification is pointless, sorry lol.

Show Your Support

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

Comments
  #12  
Old 12-02-2005, 02:30 PM
J?Y. J?Y. is offline
 
Join Date: Feb 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent installed !!
Reply With Quote
  #13  
Old 12-02-2005, 04:07 PM
egyptsons's Avatar
egyptsons egyptsons is offline
 
Join Date: Jan 2004
Location: Egypt
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice but this is for Which game I will decide to put on the table not the really installed
any way good idea
Reply With Quote
  #14  
Old 12-04-2005, 03:28 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like it
Reply With Quote
  #15  
Old 12-04-2005, 10:01 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayvb
No permissions? All that this modification does is add some html to the template, so I don't see why you would see that message. Are you sure you're not speaking about the 5 random images on the front page?

If you just added the code to the template and are getting this problem afterwards and you didn't before hand, then I would recommend reverting your template and perhaps try the other 5 random arcade images hack.

Hope I atleast helped in some way with this message. :squareeyed:
Thanks for your response, I've already installed that onther a 5 random arcade image hack.

I don't see why I'm getting that message either.
Reply With Quote
  #16  
Old 04-24-2006, 08:33 AM
saba saba is offline
 
Join Date: Oct 2005
Location: Lebanon,Tripoli
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the images dont show up
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 07:38 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.04113 seconds
  • Memory Usage 2,255KB
  • 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
  • (1)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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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