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

Reply
 
Thread Tools
v3arcade Alternative Layout Details »»
v3arcade Alternative Layout
Version: 1.5.0, by Oblivion Knight Oblivion Knight is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-21-2005 Last Update: 04-29-2006 Installs: 85
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

This is a port of GenSec's 3.0.x release (here).

This modification changes the layout of your main index page, and makes much better use of the space available.. It has been completely rewritten from scratch (using previous code as guidance), and is fully integrated with the Arcade Settings in the Admin CP. It is also fully phrased for our foreign friends..

All credit to GenSec for the layout design, who has kindly given permission for me to release this.

Note: If you use the vbBux integration, please ensure that you're using the latest arcade_game_bit_slim template, otherwise you may get a display error.


Compatability: 1.0.6
Screenshots attached (outdated, but gives the general idea)..

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 10-22-2005, 09:41 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* deathemperor clicks install
[/high]

there're something I want to note, maybe it's because it's been along time since the last time we did the file editing to install a hack.

you should change:

Code:
In admincp/arcadeadmin.php find:

// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// DELETE GAME
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
if ($_REQUEST['do'] == 'deletegame')
{
	print_cp_header($vbphrase['arcade_games']);

	$vbulletin->input->clean_array_gpc('r', array(
	'gameid' => TYPE_UINT
	));
	
	if ($thisgame = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "arcade_games AS arcade_games WHERE gameid=" . $vbulletin->GPC['gameid']))
	{
		$game_path = realpath($vbulletin->options['gamedir']);
		$image_path = realpath($vbulletin->options['arcadeimages']);
	
		$db->query_write("DELETE FROM " . TABLE_PREFIX . "arcade_games WHERE gameid=" . $vbulletin->GPC['gameid']);
		$db->query_write("DELETE FROM " . TABLE_PREFIX . "arcade_sessions WHERE gameid=" . $vbulletin->GPC['gameid']);

		@unlink($image_path . '/' . $thisgame['shortname'] . '1.gif');
		@unlink($image_path . '/' . $thisgame['shortname'] . '2.gif');
		@unlink($game_path . '/' . $thisgame['shortname'] . '.swf');
	}
	print_cp_redirect('arcadeadmin.php?do=games');
}
to

Code:
In admincp/arcadeadmin.php find:

// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// GAME TOOLS
// Everything to do with adding games.
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
and the next step is "Above it add".

And reduce the last 2 steps to one.

Code:
Find:

								eval('$gamebits .= "' . fetch_template('arcade_game_bit' . iif($barsize==1, '_slim')) . '";');

			}
		}

	}
Code:
 replace it with

				eval('$gamebits .= "' . fetch_template('arcade_game_bit' . iif($barsize==1, '_slim')) . '";');
				$g++;
				$x++;
			}
		}

		// Finish processing the $gamebits for GenSec's template mod
		$gamebits .= '</tr>';

	}

	// Make sure we don't use any more memory than we need to..
	unset($x);

	// Construct categories.
That will make life easier ^^.

just my 2 cents.
Reply With Quote
  #3  
Old 10-22-2005, 10:22 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done.

Sorry, it's been a while..
Reply With Quote
  #4  
Old 11-03-2005, 12:48 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All my file sizes are showing 0... Do we need to do something to mass update all the sizes? (Sorry if I missed it in the instructions, but I did look.)
Reply With Quote
  #5  
Old 11-03-2005, 12:50 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind. Just saw the new option in AdminCP.
Reply With Quote
  #6  
Old 11-03-2005, 12:54 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Thanks!

I changed the IMG tag in the game bits to have width="50" and height="50" hardcoded, since all standard images should be that size. Keeps the screen from jumping all over as the page loads. I also removed the Viewing Mode section from the right navbar.
Reply With Quote
  #7  
Old 11-03-2005, 06:07 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
I changed the IMG tag in the game bits to have width="50" and height="50" hardcoded, since all standard images should be that size. Keeps the screen from jumping all over as the page loads.
Good call.! I'll add that to the zip..


Quote:
Originally Posted by ConqSoft
I also removed the Viewing Mode section from the right navbar.
I'm tempted to leave this.. With a bit of trickery, it should be possible to select between this layout and the standard layout (or even some totally different layout). It's something that I'm looking in to..
Reply With Quote
  #8  
Old 11-04-2005, 08:26 AM
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Location: England
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Good call.! I'll add that to the zip..


I'm tempted to leave this.. With a bit of trickery, it should be possible to select between this layout and the standard layout (or even some totally different layout). It's something that I'm looking in to..
we cant get the arcade atm... hmm...
Reply With Quote
  #9  
Old 11-04-2005, 08:29 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know..

Quote:
v3arcade for 3.5.0 is currently in a private beta phase, with a public beta due out shortly.. For more information, please visit http://www.v3arcade.com
Reply With Quote
  #10  
Old 11-04-2005, 09:52 AM
TJFweb TJFweb is offline
 
Join Date: Dec 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Argh all these v3arcade addons..... Release the 3.5.0 version already!!!
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 10:45 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.04740 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (4)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