Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Private messaging stopped working
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2013 - 3:14 pm

Guys, I use an example.

In both files located at wp-content and sp-resources/forum-cache, there is:

#spQuickLinksForum width set as 203px

But the system is using 230px. Firebug reads the cached file. So where that 230px comes from?

It's driving me nuts!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2013 - 5:13 pm

the css file will be wherever you have it located at on forum - integration - storage locations...

if you have in another location, it will not be used...  if you are letting w3tc cache the forum page you will have issues... you need to tell it not to cache the forum pages for all types of caching in use...

I still dont understand why you are manually overwriting the cache file... why use the css caching then?  you can disable it on forum - options - global settings...  you can also clear and reset the cache on forum - toolbox - housekeeping...

what is link to site?

 

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 3:13 am

Steve, I looked at everything.

W3TC do not cache the forum page.

I went to toolbox-housekeeping, and clicked Reset combined CSS cache.

Nothing changed!

I am sendong you a PM with a login, because the forum is closed to general public.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 11:17 am

this file:  http://www.xxxxx/wp-content/sp.....es-all.css

this file clearly has the quicklinks width set to 230px...  I can open the file and view it... so not sure why you think 203px.

that file is auto generated, so hand editing is a bad idea... 

you are also serving cached pages...

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpre.....s-plugins/

Minified using disk
Page Caching using disk: enhanced (Requested URI is rejected)
Database Caching using disk (Request-wide User is logged in)
Object Caching 8053/8069 objects using disk

 Served from: xxxxxxxxxxxxxx @ 2013-11-06 17:10:38 by W3 Total Cache -->

and should resolve that (yes, page and db rejected here)...  minification could lead to errors since our files are already minified...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 3:37 pm

Steve, I switched off W3TC and nothing changed.

Regarding the files, the one in wp-content has that width set to 203px. So why is the one in sp-resources/forum-cache set to 230?

This is what I do not understand! They should be exactly the same. Am I missing something?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 6:41 pm

why do you think they would be the same? I can access the one in wp-content and it does indeed have 203px in it...  one is old generated file and one is new generated file...  where do you think the 203 or the 230 is coming from?  normally it would be the sp theme... this appears to be default with shades of grey overlay... which our current version of that would output 230... 

you have talked about manually editing the cache file... which on are you editing?

what does forum - integration - storage locations point to?  thats the one we will use...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 3:09 am

I am really confused now...

To edit the theme, I have always edited the file in wp-content. Nothing else.

So, to make the modifications I need it's now necessary to modify the file shades-of-gray.php.

Am I right?

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2013 - 4:48 am

when users want to change theme settings then we always recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 12:00 pm

Stefano, as we have been saying, if you are going to modify the cached css, you MUST modify the one used on forum - integration - storage locations... editing the other one that is no longer used (I would delete it - perhaps our upgrade script failed there) wont have ANY effect...

BUT as I have been saying, editing the cached file will ALWAYS be risky as it could be regenerated and lose your changes...

But as Andy says, the best way to handle this is to create your own theme (his link) and then edit your theme for your changes.. they will get auto put into the cached css file when its generated...  and you wont have to do this but the one time...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 4:00 pm

Thank you boys!

I have a lot of work to do. The only major problem is, I do not have access to the codex as it says my membership as expired...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625