vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Can't change styles.. (https://vborg.vbsupport.ru/showthread.php?t=311909)

BowlingTracker 06-05-2014 01:59 AM

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..

BowlingTracker 06-05-2014 02:35 AM

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.

Spangle 06-05-2014 08:31 AM

Check Settings> Style and Language settings>Allow users to change styles is set to "YES"

BowlingTracker 06-05-2014 02:18 PM

Quote:

Originally Posted by Spangle (Post 2500762)
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?

Spangle 06-05-2014 03:30 PM

Quote:

Originally Posted by BowlingTracker (Post 2500807)
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

BowlingTracker 06-06-2014 01:11 AM

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.

Lynne 06-06-2014 01:44 AM

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?

BowlingTracker 06-06-2014 01:47 AM

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 (Post 2500871)
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 :)

Lynne 06-06-2014 03:40 PM

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. :)


All times are GMT. The time now is 07:40 PM.

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.01184 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete