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
Editor issues
Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 6:03 pm

Hi all,

New installation of SimplePress on my site, but having problems with editors.

The basic plain text editor works fine generally, BUT when trying to 'quote', the text box does not contain the quoted text, it remains blank.

When using the bbcode editor (my preferred choice), when trying to start a new topic, I am presented with the first screenshot below.

When quoting a post with bbcode editor, the editor appears correctly, but still does not contain the quoted text (see second screen shot). 

The theme designer has had a look and cannot see any errors, so has suggested I come here next!

Site is at: http://www.passengerfans.co.uk/forum/ - login details can be provided via PM if necessary.

Thanks in advance,

Andy

problem1.jpgImage Enlargerproblem3.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 9:29 pm

so you are saying on new topic, you cannot post with bbcode?  only when quoting but the quoted stuff does not show up?

hard to see because as you note, guests cannot post...

first, try a quick temp change to wp default theme and see if still issue...

for us to go further, would need a temp account sent to us via pm... please include yellow swordfish, BrandonC and myself on the pm and link back to this topic...

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 3:38 am

That's exactly correct Mr Papa. Sorry, I had forgotten that I had it set that guests cannot post so you couldn't replicate it!

It does appear to work correctly on the Twenty Eleven theme (sorry again, I meant to check that before I posted my first post, but it was late!)

I will inform the theme developer also, but if you are able to have a look to see what might be causing it, that would be helpful. PM sent.

Thanks again.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 8:18 am

okay, well now we know the source of the conflict...  not sure the theme author will help much, but who knows...

looks like its loading a single js file

<script type='text/javascript' src='http://www.passengerfans.co.uk/wp-content/themes/Tersus/js/nv-script.pack.js'></script>

any chance you know what that js file is used for??  its minimized so not really readable...  are you using it?  what about on the forum page itself (ideally theme would only load it when needed)...

perhaps you can comment it out in header.php or functions.php or whatever file its included in just to see if it matters...

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 9:22 am

The theme author has been quite responsive so far so I'm sure he will help.

I have no idea what this js file is used for but will ask and find out.

I will also try commenting it out to see what effect it has.

Thanks for now, I'll let you know.

Andy

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 8:38 pm

please do....

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 9:07 am

Reply from theme editor as follows:

"As suspected it’s to do with jQuery Effects – in particular slide. Even if I enqueue the script the plugin fails. i.e.

wp_enqueue_script(”jquery-effects-slide”,false,null);

So it would seem to be something in their plugin which isn’t playing nicely with the jQuery Effects Fade script.

I’ve temporarily disabled the following line in Tersus/functions.php so you can see it working, however you may encounter some other other issues with it disabled.

wp_enqueue_script(”jquery-effects-slide”,false,null);"

Andy

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2012 - 8:42 pm

ah cool... it might not be compatible with the version of jquery or jquery ui that ships with wp now...

enqueueing may not help if there is a conflict... and you really want a dependency in there I think...

wp_enqueue_script(”jquery-effects-slide”,false,array('jquery'));

in order to make sure jquery is loaded first...  if its dependent on jquery ui, you would need that too...

but to not load it on the forum page, you can change it to

if (!sp_is_forumpage()) wp_enqueue_script(”jquery-effects-slide”,false,array('jquery'));

Avatar
Andrew Mintram
Member
Free Members
sp_UserOfflineSmall Offline
Oct 19, 2012 - 3:00 am

Thanks again, I've passed that on the theme author (it doesn't mean a lot to me!!!).

Also, although the editor does now appear to work, I still cannot quote... is this linked or a separate problem do you think?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 19, 2012 - 5:20 am

It is probable. A quick test using the default Wp theme will tell you.

If everything gets enqueued correctly hopefully it will be sorted but let us know if it doesn't

andy-signature.png
YELLOW
SWORDFISH
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: 643
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17343
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79590