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
  #2  
Old 11-28-2005, 06:56 AM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like a simple table using vBulletin classes.
Otherwise, thanks any way.

But you should upload the screenshot as a attachment.
Clicked Install
Reply With Quote
  #3  
Old 11-28-2005, 01:37 PM
LiQuid ArroW LiQuid ArroW is offline
 
Join Date: Oct 2005
Location: Oslo, Norway
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mate, the images of the arcade games won't show though, probably something I have done wrong.

EDIT:

Problem solved.. you had ../images ... so I had to make it ./ as my forum is in a folder and not in the root folder.

Working great btw.
Reply With Quote
  #4  
Old 11-29-2005, 11:37 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is some nice hack!
Reply With Quote
  #5  
Old 11-29-2005, 12:50 PM
youradultworld youradultworld is offline
 
Join Date: Oct 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much guys, I felt strange posting something like this, but sometimes simple is ok.
Reply With Quote
  #6  
Old 11-29-2005, 02:01 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice little mod. I too had to modify image paths a bit as suggested but worked nicely!
http://www.cpfools.com/forum/index.php
Reply With Quote
  #7  
Old 11-29-2005, 04:20 PM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool dude. installed and working.
Reply With Quote
  #8  
Old 12-01-2005, 01:01 AM
youradultworld youradultworld is offline
 
Join Date: Oct 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone, MioTraGusa has made a '5 random game icons on the front page' template modification which can be found here:

https://vborg.vbsupport.ru/showthread.php?p=837268

That's beyond the scope of what I can do, and I think it may be a better solution too. Thanks for installing what I made though.

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

I'm getting a no permissions error
Reply With Quote
  #10  
Old 12-02-2005, 01:31 AM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
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 10:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04196 seconds
  • Memory Usage 2,288KB
  • 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
  • (1)bbcode_code
  • (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
  • (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