Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 07:53 am EDT

Geeklog Forums

CSS doesn't change instantly after theme change.


Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
latest version of GL.
1.Chose Denim theme
2.Browse the website
3.login the website
4.change them from Denim to another
5. GL still using Denim theme having path to denim/css_ltr/ in <head>tag.
6.need reflesh browser cashe to reflect the change.
7.logout the website
8.GL still using Denim theme having path to denim/css_ltr/ in <head>tag.
9.need reflesh browser cashe to reflect the change.

So you have to reflesh twice to display the new theme, first on logged-out and second on logged-in. This may confuse users because theme is not same before/after login.
Any suggestion?
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
You are not using the vThemes plugin correct? This sometimes creates problems (it shows a block that allows the user to change the theme)

From your description it sounds like your server has some sort of page caching enabled which can cause the issue you described. We had a similar issue on Blue Host with our demo server at one point. I think the cache was called Varnish.

I have temporarily enabled the User themes on Geeklog.net. I tested it and it works as it should without refreshing the page. Why don't you try it and see? If it works as it should then it most likely it is a server caching issue with your host.



One of the Geeklog Core Developers.
 Quote

OMAL

Anonymous
I tried to test it, and error has occurred.
spam detected

then
Your account has been blocked!

Does logging in and out many times in shot period cause this?
 Quote

OMAL

Anonymous
I tested denim and glnet_curve themes at www.geeklog.net.
At the first attempt, it was OK with logged-in status, but it still had previous theme after logged out and after cleared browser cache.
I tried again, then the issue dissapeared, and I repeated the process several times after that, the issue never happens.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
If you log in a certain number of times incorrectly you will not be able to login again for a while.

Re the Geeklog.net initial issue: Probably because of an older cookie. When you are logged out (you would be considered an anonymous user so the only thing Geeklog has to go by on what theme is displayed is a cookie if it is there or what ever the default theme is.

Re: Your website issue: Geeklog uses a file cache for the template files, from the sound of it ,it looks like your host is using some sort of cache that is causing a mix up with your site on what template files to use. You may be able to disable this from your hosting control panel else you will have to contact customer support.
One of the Geeklog Core Developers.
 Quote

OMAL

Anonymous
Thank you.
 Quote

All times are EDT. The time is now 07:53 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content