Thread: Major Additions - ibProArcade - professional Arcade System
View Single Post
  #5858  
Old 08-12-2010, 07:29 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AfterWorldForum View Post
The vB4 version of this seems to mess up the navbit a little. Somehow an additional span is wrapped around the code, causing the navbit to jump from where it typically is located. Here's a solution.

In arcade/functions/function.php

look for:

Code:
		// we are on vB 4 or later WHOHOOO
		$debug = false;
		$navbits = $output_array['NAV'];
		$navbits = construct_navbits($navbits);
		$navbits = construct_navbits(array('' => $ibforums->lang['page_title']));
		$navbar = render_navbar_template(construct_navbits($navbits));
Replace with:

Code:
		// we are on vB 4 or later WHOHOOO
		$debug = false;
		$navbits = construct_navbits(array('' => $ibforums->lang['page_title']));
		$navbar = render_navbar_template($navbits);
I posted something like this in a different thread
https://vborg.vbsupport.ru/showthread.php?t=238809
will check it out thanks
*update
your edit gets ride of the space but keep arcade on every page..
the one I posted does not
screenshots added.
there is still a bug in it tho but the spacing is fixed unless it adds a link

Quote:
Originally Posted by teamsupra View Post
Since v.4.x came out a lot of sites are running vb using forum.php It is pretty bad that with this arcade you can not tell it what the main file is, as it assumes index.php then you have to modify the index.php to include IBP information. Can we get an option in game settings to change the default from index to whatever .php


open up admincp and scroll down to plugin manager..
now look for ibProArcade: ARCADE Template Cache
open it up, in there youll see..
Code:
if ((THIS_SCRIPT == 'index') || (THIS_SCRIPT == 'arcade'))
change it to this
Code:
if ((THIS_SCRIPT == 'forum') || (THIS_SCRIPT == 'arcade'))
not tested but I think it will do what your explaining
like samandsam said I have not had a problem with this either..
let me know if it works for you..
make sure you back up the code, just in case you need to revert it back..
Attached Images
File Type: jpg Snap2.jpg (11.2 KB, 0 views)
File Type: jpg Snap3.jpg (6.1 KB, 0 views)
File Type: jpg Snap5.jpg (7.9 KB, 0 views)
File Type: jpg Snap6.jpg (5.6 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01188 seconds
  • Memory Usage 1,806KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (4)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete