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
Users report they cannot type in the post area
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 27, 2012 - 3:08 pm

Is it a paid plugin? can you zip it up and send it to me to search for?

Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 3:28 am

Yes it is a paid plugin. I downloaded the plugin files from hostgator's file manager and zipped them up:


https://dl.dropbox.com/u/81861.....magnet.zip

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 28, 2012 - 7:28 am

And there it is in the main plugin file itself (plm.php) - here:

function plm_add_js() {
    wp_enqueue_style('plm-style', PLM_URL . 'css/plm.css');

    wp_deregister_script( 'jquery-ui-core');
    wp_register_script('jquery-ui-core', PLM_URL . 'js/jquery-ui.min.js');

    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui-core');

    wp_enqueue_script('plm-main', PLM_URL . 'js/plm.js');
}

Try changing it like this:

function plm_add_js() {
    wp_enqueue_style('plm-style', PLM_URL . 'css/plm.css');

//    wp_deregister_script( 'jquery-ui-core');
//    wp_register_script('jquery-ui-core', PLM_URL . 'js/jquery-ui.min.js');

    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui-core');

    wp_enqueue_script('plm-main', PLM_URL . 'js/plm.js');
}

see if that improves anything.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 9:17 am

Do I understand this correctly - I just add the double foreward slashes to those two lines? What is the effect on the plugin jquery then? Does it just disable it or what happens? Sorry, don't know much about coding.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 28, 2012 - 9:22 am

That will stop the plugin loading it's own copy of jQuery and ensure that the version supplied with WordPress - i.e., the proper one needed for WP and other WP plugins - is loaded correctly. Whether this solves all issues remains to be seen of course but as we already know that SP needs a kosher WP environment to successfully work it is the first place to start.
If the PLM plugin is written correctly then this should continue to function successfully.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 9:58 am

Thanks, I will test this. By the way, I did contact the Premium List Building support about this, and they said yes, they use their own jquery, and they are aware that this can cause conflicts with other plugins. They said if necessary I should change plugins. I am not sure if they referred to their own plugin or to the SP plugin. One thing is sure, I can always get another opt-in/list-building plugin, but I am definitely not going to change SP forum.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 10:00 am

lol, thanks... good question on what they were talking about! ;)

Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 12:32 pm

While I am testing this, I have another question which we talked about earlier. You had told me that the forum needs to be excluded from any caching plugin. Right now I have my caching plugin (WP Super Cache) disabled, but I did enable cloudflare which is a service offered for free by hostgator. It caches the site's content and sends it out to various data centers across the globe, kind of like Amazon S3 cloud front, in order to shorten access time and page load speed. Do I need to exclude the forum from cloudflare as well?

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 28, 2012 - 1:18 pm

Its hard to say... depends on how it caches... the reasons you need to disable wp caching plugins is because they make a false assumption about the wp page the forum appears on... They assume the wp page is static... In the forum page, it is not static but dynamic... All forum display appears on the single wp page... so it cannot be cached...

This CDN is probably not WP based so it is likely looking at the canonical URL and caching it based on that URL so it wont make assumptions about a wp page... So it could potentially work well... If the WP caching plugins cached based on canonical URL instead of just a wp page, then they could to function with simple press...

Best thing to do is test it... do things work? when you make a new post, does it show instantly? etc...

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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625