peterhuk wrote: ws_plugin__s2member_js_w_globals
AND
ws_plugin__s2member_css
If not how do I switch them off using available hooks
How can I prevent s2Member Pro from loading it's default CSS?
You can place this into the functions.php file for your WordPress® theme.
- Code:
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_css_js::css");
Or, you could remove only specific action Hooks; based on Payment Gateway.
- Code:
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_alipay_css_js::alipay_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_authnet_css_js::authnet_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_ccbill_css_js::ccbill_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_clickbank_css_js::clickbank_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_google_css_js::google_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_paypal_css_js::paypal_css");
Statistics: Posted by Olene — January 15th, 2012, 2:02 pm
Statistics: Posted by s1r0n — August 6th, 2011, 5:00 pm
Statistics: Posted by peterhuk — March 7th, 2011, 4:25 pm
How can I prevent s2Member Pro from loading it's default CSS?
You can place this into the functions.php file for your WordPress® theme.
- Code:
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_css_js::css");
Or, you could remove only specific action Hooks; based on Payment Gateway.
- Code:
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_alipay_css_js::alipay_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_authnet_css_js::authnet_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_ccbill_css_js::ccbill_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_clickbank_css_js::clickbank_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_google_css_js::google_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_paypal_css_js::paypal_css");
Statistics: Posted by Cristián Lávaque — March 7th, 2011, 11:30 am
Statistics: Posted by peterhuk — March 6th, 2011, 5:37 pm
Statistics: Posted by Jason Caldwell — March 6th, 2011, 6:13 am
gwc_wd wrote:
I would bet a large beer that the Host intentionally interferes with (throttles, query stalls, etc) WP installs that run specific plugins. One host was very direct about the matter. They said that a shared account should have no need for "membership fee functions" and that use of S2M could be interpreted as a violation of their TOS. I don't do business with them anymore of course <smile>.
gwc_wd wrote:
At this point, I think you should be able to ask for tech assistance from GoDaddy and if they are unable or unwilling to provide any assistance -- most particularly in ruling things out -- then you should change hosts.
gwc_wd wrote:
Just interview potential hosts before you make any move, explicitly asking about throttling and policies that might affect your use of WP and S2M.
gwc_wd wrote:
On related note, by using the WHM tools on my virtual server I was able to determine that LightBox Plus puts a hit on the CPU even on pages where it is not being used. This hit did not show up in Firebug so it was a surprise. When I disabled LightBox Plus it had a very noticeable impact on page loads; albeit at the cost of less sexy full image views.
Statistics: Posted by FrancescoRizzi — February 3rd, 2011, 6:11 pm
Statistics: Posted by gwc_wd — February 3rd, 2011, 4:36 pm
Statistics: Posted by FrancescoRizzi — February 3rd, 2011, 3:51 pm
Statistics: Posted by FrancescoRizzi — January 31st, 2011, 3:05 pm
Statistics: Posted by gwc_wd — January 31st, 2011, 12:04 pm
Statistics: Posted by FrancescoRizzi — January 31st, 2011, 11:25 am
Statistics: Posted by smitchell360 — January 19th, 2011, 2:07 pm
Statistics: Posted by gwc_wd — January 15th, 2011, 3:50 pm
Statistics: Posted by smitchell360 — January 13th, 2011, 5:05 pm
Statistics: Posted by apmtrdr — January 8th, 2011, 9:23 pm