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
Update Signature - need to click twice to stick. TinyMCE plugin issue?
Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 9:41 am

Regarding the image you see in the codex article you will notice it says "This is an example of adding extra features into the TinyMCE toolbar." above it. That is not an screenshot of the default setup. So don't worry that yours does not match it.

#3 in your list on Post #8 does look like an issue that needs investigating.
On #2 - There are some buttons/features that Advanced Tiny adds that are not available on the front end or forums. If not available you will get missing buttons and/or space bars with nothing between them. If you need to use it for the back end I would go through and remove any that you don't or rarely use and then look at it again in the forums.

On #1 - I cannot duplicate here or on my test site. It saves the signature fine. That may be an issue on your site only.

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Mar 2, 2013 - 10:10 am

On #2 - Realized that TinyMCE Advanced is overwriting settings in SP TinyMCE, seems they don't get along too well. I am trying to work around it by removing and repositioning buttons in the TinyMCE Advanced admin panel. Though I would be grateful for some ideas how to get them to work side by side.

On #1 - Yes, definitely just an issue on my site. Not sure what though.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 2, 2013 - 10:49 am

Confused here. You said you had 'no plug-ins active that add components to tinyMCE' so what is this 'TinyMCE Advanced' you are referring to please?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 11:35 am

additionally tinymce advanced is know to use the init hook vs admin_init which messes up our use of the wp editor...

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Mar 2, 2013 - 1:01 pm

Quite simple, for one reason or another it didn't occur to me that a) I did have TinyMCE advanced running on the site (at time of post #1) and b) once I realized it I deactivated it to see if it would fix my main issue - having to click Update Signature twice, which it didn't. People tend to forgot things when they have 700+ users that came in yesterday suddenly inquiring why their signatures aren't working (when it used to work just fine).

Also, I am no plug-in developer hence am not aware of all the little nitty gritty interactions going on below. Didn't know that tinymce advanced messes things up for SP - though concluded that myself after some testing.

My main problem remains. Even with tinymce advanced deactivated users have to click Update Signature twice for it to stick. If I deactivate the tinymce SP plug-in the issue goes away. I changed the WP theme to the basic one - that didn't help. Deactivated most of my other plug-ins - to no avail. If I can't find a fix I assume my only option is to somehow deactivate tinymce for the signature box. How would I go about that?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 2, 2013 - 2:33 pm

I feel sure you didn't really mean that 700+ users ALL tried to edit their signatures yesterday...

On the subject of the Advanced TinyMCE plugin - an explanation. All WordPress TinyMCE extension plugins I have encountered are aimed at adding extra buttons/functions to the creation of blog posts. This means they are used exclusively in the Administration - NOT the public facing site. However - there is a habit for them to be loaded on the public facing site as well. This is bad coding of course. And it is made worse now since the WordPress team made it possible for other plugins (like SP) to make use of the WP supplied TinyMCE because such bad loading is most likely to cause conflicts. This can usually be corrected with a very simple change.

Now to your site. Having taken a look there are some other issues which may well be relevant to all of this and which, in any case, would be best cleaned up as we can only really diagnose a specific issue when there are no other conflicts showing up.

This codex article explains a problem your site has, what this means and what to look for: http://codex.simple-press.com/.....-conflict/

In your case something - I suspect the theme but it may not be - is loading a very old (1.4.1 as opposed to the WP required 1.8.3) version of the main jQuery library. This is also being loaded from the googleapis.com CDN and is loaded not using the WP API so later, the proper version is also loaded. This can cause all sorts of unexpected and inexplicable problems and is, basically, plain bad.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Mar 2, 2013 - 2:58 pm

Well, certainly not all 700+ at once - but quite a few. As they all paid to take the class my main concern is that everything works perfectly well. If it doesn't I get a bit uneasy (and of course, one issue tends to bring a bunch of friends).

I actually had read the codex article you posted this past hour, doing some more research here on the forum. I noticed too that the current template (via header.php) loads a jQuery library from Google. I was hoping this would be the root of my issue. Unfortunately it was not. I switched to the basic Twenty Twelve template but it did not resolve the issue. Though on a side note I will contact my theme developer to take a look.

I even went as far as deactivating ALL plug-ins except SP. That didn't help either. I also re-installed Wordpress, just for the heck of it.

For sanity reasons I'll summarize: tinymce causes a problem solely on the signature box (the post box works perfectly fine). If tinymce SP plug-in is deactivated the issue goes away. I tried switching WP theme to basic theme. I tried disabling all plug-ins. I tried re-installing Worpdress. And I tried re-installing SP. I suspected TinyMCE Advanced though deactivating it didn't resolve the issue. I also suspected my current themes jQuery thus switched to the basic WP theme. Still no go.

Admittedly it is not a site breaking issue. But it is of concern and it is something that requires explaining to a group of students primarily composed of beginning to intermediate bloggers from the creative world. And of course, Murphy's law: anything that can go wrong will go wrong (once it starts).

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Mar 2, 2013 - 3:12 pm

FYI, I commented out the Google jQuery call in my current theme. It should've been disabled anyway when the theme files were recently modified for our needs by an external vendor.

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 8:00 pm

But the signature still won't save after removing the Google JQ?

We are also looking at the double click deal on "Edit Signatures" but that won't affect the saving it part.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 8:04 pm

earlier, you asked about turning off tinymce on profile...

you should be able to add this to you spFunctions.php file (make sure its your own and not one of ours)...

add_filter('sph_this_editor', 'my_editor_check');
function my_editor_check($editor) {
    global $sfvars;
    if ($sfvars['pageview'] == 'profileedit') $editor = 4;
    return $editor;
}
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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625