Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
  #1  
Old 06-05-2014, 01:59 AM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can't change styles..

Hi.. I've recently updated my forums from 3.7.3 to vB5.1.1 on a test server. All was working fine, so I wanted to try a few different styles.

I install this one from Sukagwe. Uploaded the zip, as directed. It had two styles xmls to try. I tried the non gradient one first.. didn't like the red glow under the top tool bar.. so then in imported the gradient one. Didn't like it either for the same reason.

Then I installed this one, also by Sukagwe. There was no zip to upload, so I just imported the gradient xml one. When I tried to select the theme in the forums, it reverts back to vB5 Default.

I tried switching back to the first one by Sukagwe (it was still installed), but it would still always revert back to vb5 Default. I've tried installing a few others and even just added an empty style called test. But can't select it in the forums.. it always reverts back to vB5 Default, regardless of what them is selected.

Have I completely screwed up the theming system? Any idea's why I can't change themes?

I have since deleted all the custom themes.. even the incompatible vb3 and vb4 themes. All I have now is the vb5 default and the blank "test" I created by clicking "add new theme". Still can't change to the "test" theme though..
Reply With Quote
  #2  
Old 06-05-2014, 02:35 AM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More info. Whatever the default style selected in the "Settings -> Options -> Style & Language" settings is the style that is actually rendered, regardless of what style is chosen in the dropdown at the bottom of the forums.

And the theme dropdown at the bottom defaults to the first style according to the sort order listed in "Style Manager", regardless of what style is rendered.

I also should note that something is amiss with the footer template. "The Copyright line says Copyright ©2000 - {2}, Jelsoft Enterprises Ltd." Shouldn't the {2} be replaced with the current year? That doesn't seem to work anymore.
Reply With Quote
  #3  
Old 06-05-2014, 08:31 AM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check Settings> Style and Language settings>Allow users to change styles is set to "YES"
Reply With Quote
  #4  
Old 06-05-2014, 02:18 PM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spangle View Post
Check Settings> Style and Language settings>Allow users to change styles is set to "YES"
yes it is set to "YES". I've switched it back and forth a few times too. If it was "NO", wouldn't the dropdown to pick a theme be hidden?
Reply With Quote
  #5  
Old 06-05-2014, 03:30 PM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BowlingTracker View Post
yes it is set to "YES". I've switched it back and forth a few times too. If it was "NO", wouldn't the dropdown to pick a theme be hidden?
Check usergroup permissions for the same, I think they override the main settings
Reply With Quote
  #6  
Old 06-06-2014, 01:11 AM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see any usergroup level permission for using custom styles. Considering I'm the site administrator and userid #1. I would think I would have permission to everything anyway.
Reply With Quote
  #7  
Old 06-06-2014, 01:44 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link? Are all the styles 'checked' in the Style Manager to allow users to pick them?

Also, please note that those were 5.0.0 and 5.0.1 styles and may not work on a 5.1.1 site. Did you read the comments to verify they would?
Reply With Quote
  #8  
Old 06-06-2014, 01:47 AM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay.. i got is solved. It most definitely has to do with the "Stranger" theme from Sukagwe.

I decided to try a different browser (ie10). I was able to change from "vB5 default" to "test4". Then changed to "Stranger". Back to "test4". So far so good. But then it was stuck on "test4".

Deleted cookies (and all other browser data) in IE10 and was able to change back and forth between "vB5 Default" and "test4" fine.

Switched back to Chrome and deleted the cookie only for this site, and now it's working fine there.

So.. to anyone out there looking for themes. Don't use Stranger by Sukagwe on 5.1.1!

--------------- Added [DATE]1402023240[/DATE] at [TIME]1402023240[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Link? Are all the styles 'checked' in the Style Manager to allow users to pick them?

Also, please note that those were 5.0.0 and 5.0.1 styles and may not work on a 5.1.1 site. Did you read the comments to verify they would?
There was nothing in the thread that says it's broken for newer versions. I didn't realize themes were so version specific. That would be a PIA for upgrading, you'd continually be breaking your 3rd parth themes..

But even still, I would have thought just deleting a theme that didn't work would be sufficient. But something strange was in the cookie causing this issue.

Anyway, it's working now.. I'll just create my own custom theme.

Thanks for your help
Reply With Quote
  #9  
Old 06-06-2014, 03:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In dealing with vB5, it is best that if you do anything in the admincp, like deleting a Style, that you then go to Maintenance > Clear System Cache or funny things can happen on the site.
Reply With Quote
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 10:05 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.04171 seconds
  • Memory Usage 2,230KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete