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
Problems with Private Message System v 1.0.3 (SP 5.0.0 Build: 7534)
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Dec 23, 2011 - 3:48 pm

I am having problems since the upgrade to latest Private Message System v 1.0.3 plugin on SP 5.0.0 Build 7534.

The PM message list on the left side does not bring message content when clicking on any message.

Compose button bring the compose fields, but the recipient name completion in Select from Members does not and the message does not seem to be sent.

 

Any idea to fix this ?

 

Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 3:54 pm

I assume you have cleared your browser cache and retried? if not, please try...

then with firefox and firebug, go to your inbox with the console open...  and when you click on a thread, see what is reported in the console (or before if errors after loading inbox)...  and report it back here...

sounds like a js issue...

Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 5:15 am

Same here .. below are the errors (varnish wiped, local caches destroyed, cookies dealt with) - can only show these two as composing is out of the question at all

Console gives onLoad errors:

/forum/private-messaging/send/admin/:786
Uncaught ReferenceError: spPmGetThreadMessages is not defined

On clicking a thread:

Uncaught ReferenceError: spPmGetThreadMessages is not defined /forum/private-messaging/send/admin/:276

  1. (anonymous function)/forum/private-messaging/send/admin/:276
  2. onclick/forum/private-messaging/send/admin/:277
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 7:51 am

can one of you two please provide me a temp user account on your system to investigate? if workable, please pm the details of the account...

Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:03 am

PM on its way 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:21 am

received. most odd, but the forum pm js is not getting loaded. are you using the sp syntax highlighting plugin? its not required, but perhaps the dependencies are breaking down...

so first check, can you temp enable that plugin and see if it clears up?

Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:26 am

Insta-fix 🙂

Also auto-completion of names et all is back in action!

 

(You can still check, account still open)

 

And a very big thank you and merry x-mas to the developers/support!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:31 am

eh, was afraid of that... made an error in the script dependencies...  can you turn it back off and try a more permanent fix for me?

in the private message plugin, folder private-messaging/library/sp-pm-components.php, around line 280, can you change

        wp_enqueue_script('sp-pm', PMSCRIPT.'sp-pm.js', array('jquery', 'jquery-ui-autocomplete', 'sp-syntax', 'sp-syntax-cache'), false, $footer);

to

        wp_enqueue_script('sp-syntax');
        wp_enqueue_script('sp-syntax-cache');
        wp_enqueue_script('sp-pm', PMSCRIPT.'sp-pm.js', array('jquery', 'jquery-ui-autocomplete'), false, $footer);

and see if that solves it?  if so, will push out an update to the plugin...

Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:42 am

Turned syntax highlighting off

Tested PMs - broken as expected

Applied the new lines as indicated

Worked again (both viewing and composing)

 

Removed the syntax highlighting plugin - tried again - still functional (although i could not reset varnish this time, so I hope it now works truly without the highlighting plugin installed)

 

Is that sufficient?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 24, 2011 - 8:50 am

varnish is a cache?

it works fine now with sytnax highlighting in my tests... just wanted a second confirmation... thanks!

will push out an update to the pm plugin...

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