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
Plugins "File Uploader with Plupload" and "Editor TinyMCE Rich Text" not working on my forum
Avatar
didier Roudaut
Tours, France
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 10:12 am

Hello Yellow swordfish!

Thanks for that explaination ! I dropped a mail to the theme author, I don't know if he would help..

If not, I'm afraid I would be stuck ! 

I'll let you know !

Anyway, I thanks your for the help and the time you already gave me with that issue !

Didero

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 12:58 pm

let us know what they say...  quite often its the theme hooking into the 'init'  hook for adding stuff instead of the 'admin_init' hook...

Avatar
didier Roudaut
Tours, France
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 2:59 pm

Hello Mr Papa,

Sorry to be such a pain... But could you post an example of code with "admin_init" and "init" hook, then I could check in my theme if I can find something similar and perhaps I could be able to make a modification myself (I'm not very optimistic but I need to try something !)

Once again, thanks in advance ! 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 29, 2013 - 3:57 pm

Well here is an example from oue blog libnkling plugin:

add_action('admin_init', 'sp_linking_blog_link_form');

You will be looking for something similar but obviously with a different second parameter. And if you find it change 'admin_init' to 'init' if it looks like the second parameter is a function that loads up the tinyMCE extensions.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 6:10 pm

actually, I would look for the opposite...  look for it using 'init' hook and change it to 'admin_init'...

since they are assuming (incorrectly) that the wp editor is only in the admin, only have them do their thing in the admin...

Avatar
didier Roudaut
Tours, France
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 8:51 pm

Hum.. anyway, I don't find any add_action('admin_init, *tiny_something*) nor add_action('init, *tiny_something*), in my theme folder...cry

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 10:33 pm

dont look for the tiny stuff... just look for the add action with init...  the second part is a function name and could be just about anything...

Avatar
didier Roudaut
Tours, France
Member
Free Members
sp_UserOfflineSmall Offline
Jul 30, 2013 - 9:27 am

OK, I replaced some add_action('init' I have found by add_action('admin_init' 

until I get the editor to work and finally after 3 files changes it works !!!!laugh

Now I'm going to test If can reverse some of the change I've made just to be sure I didn't change anything unnecessary, but now I think I can handle the next steps by myself and I think this topic can be tagged as "resolved".

I really want to thank you once again, you helped me to resolve my problem, even though, the problem wasn't really related to your plugin, but to my theme. Most of the support team wouldn't have spent much time for a problem that is not really related to what they are supposed to support. You guys went beyond my expectations and beyond your "duty", that's pretty rare, and I wanted to highlight this !

Plus, I've learnt many things because you don't hesitate to share and teach your knowledge !  

Thank you very much ! 

Didero !

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 30, 2013 - 10:49 am

outstanding work!  glad we could assist!  it really helps when themes/plugins read and follow the wp api...  its possible, its just an outdated theme from before wp added the wp editor api to support using it anywhere, so dont want to be too harsh... ;)

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