Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 09-28-2015, 08:20 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is this possible???

Hello,

I have a question.
I have currently installed vb 4.2.2.
I have a style that i used on a other board of mine in the past. 4.1.4
I want to use this style, but don't know if i can.

Can some please tell me if this works???

Thank you verry much!!!

Sorry for my English if not 100%
Reply With Quote
  #2  
Old 09-28-2015, 09:36 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's only one way to found out, install it and see for yourself.
Reply With Quote
  #3  
Old 09-28-2015, 10:13 AM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will have to edit the footer select code.

look at the quickchooser code in the footer template once it's installed and replace it with the code from the default theme for 4.2.2.

Code:
<vb:if condition="$show['quickchooser']">
			<select name="styleid" onchange="switch_id(this, 'style')">
				<optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
				<vb:if condition="$quickchooserbits1">
					<vb:if condition="$quickchooserbits2">
					<optgroup label="&nbsp;{vb:rawphrase standard_styles}">
					</vb:if>				
					{vb:raw quickchooserbits1}
					<vb:if condition="$quickchooserbits2">
					</optgroup>
					</vb:if>					
				</vb:if>
				<vb:if condition="$quickchooserbits2">
					<vb:if condition="$quickchooserbits1">
					<optgroup label="&nbsp;{vb:rawphrase mobile_styles}">
					</vb:if>
					{vb:raw quickchooserbits2}
					<vb:if condition="$quickchooserbits1">
					</optgroup>
					</vb:if>					
				</vb:if>
			</select>	
		</vb:if>
The change was at 4.1.12 with the theme selector.

This is what you will need to replace with the new code.
Code:
<vb:if condition="$show['quickchooser']">
				<select name="styleid" onchange="switch_id(this, 'style')">
					<optgroup label="{vb:rawphrase quick_style_chooser}">
						{vb:raw quickchooserbits}
					</optgroup>
				</select>
			</vb:if>
There will be a few more things to address but that will get it to a usable state.

I tend to install them and then rebuild them on a fresh vb for the current version of vb that the client has installed. The biggest issue is the mods as they are version specific but with most you can get away with using an earlier version of a mod, but if you are using multiple styles it can be problematic.. Nothing that can't be sorted within the style but a pain in the butt to get through. It's easier to just install an older one and then rebuild it on a fresh default style.
Reply With Quote
Благодарность от:
Gio~Logist
  #4  
Old 09-28-2015, 12:06 PM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply's!!!
I am gonna try this, i will keep you in the loup
Reply With Quote
  #5  
Old 09-30-2015, 03:20 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For future reference, whenever you're using an outdated Style, vBulletin will usually tell you which of the templates are outdated and from there, you can compare your version with the default version and see what exactly it is you're missing :up:
Reply With Quote
Благодарность от:
marengo
Reply

Thread Tools
Display Modes

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 04:51 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.03713 seconds
  • Memory Usage 2,201KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (2)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete