Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Delay in topic and post showing up after posting
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 27, 2012 - 5:56 pm

Excellent news. Glad to hear you have it sorted out.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
May 16, 2012 - 8:46 pm

Hi there,

I'm getting the same option again however with BWP Minify - minismises the CSS and JS files - I see it says 

Scripts to be ignored (not minified)

What do I put to ignore for the forum?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 16, 2012 - 10:23 pm

same option again?  if you want to exclude a specific list, you would have to list every js file from simple press...  not  terribly friendly UI...  you cant tell it to ignore a page and everything loaded by that page??

Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
May 17, 2012 - 11:55 am

Do I get this from the plugin files? Any direction with where the js are in which files? Yeah, not friendly at all :/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 17, 2012 - 2:24 pm

Well all of the core scripts are loaded in the file /simple-press/sp-startup/forum/sp-forum-framework.php in the very first function of that file.

But then some of the SP plugins will also load scripts so you need to work through each plugin you are using - go to that plugins folder and look in the /resources/ folder for the script file names.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
May 23, 2012 - 5:54 pm

in that filepath do i take 'sp_load_forum_scripts' as the script handle?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 23, 2012 - 9:07 pm

not sure why you would want the script handle??  if you are excluding, woudnt it want the script filename?

but in the wp_enqueue_script() calls, the first argument is the script handle...

Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
May 24, 2012 - 5:41 am

You can force the position of each script using those inputs below (e.g. you have a script registered in the header but you want to minify it in the footer instead). If you are still unsure, please read more here. Type in one script handle (NOT filename) per line.

Scripts to be ignored (not minified)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 24, 2012 - 1:24 pm

Out of curiosity - do you really find all this effort has the matching benefit? After all most WP and SP scripts are already compressed so you are probably talking about a real small bytecount saving and by the time all the code has been run I reckon you might shave off a few nanoseconds. Not sure I understands the attraction.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
May 24, 2012 - 1:27 pm

Hmm not really. however, my site takes a while to load and gave a few plugins to help with improve site load performance. Unless I can be directed to where I can see better improvements in performance I'm stuck with this

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626