I don't know if I should post this issue under IMCE, IMCE Bridge or under WYSIWYG so I'm going to start here.

I've been happily using WYSIWYG the same way for 18 months on dozens of sites without issues... but suddenly very stuck. I have always installed WYSIWYG with IMCE, IMCE Bridge and Tiny MCE. Not a single problem.

Someone told me to check out CK Editor - I tried it, it really is nicer that Tiny MCE. I decided to give it a go on my most recent client site (WYSIWYG with IMCE, IMCE Bridge)..

I set things up in the usual way but quickly found that only my admin user got the "Browse Server" button despite everything being set correctly to allow my other roles to use it. Switching back to Tiny MCE now the same problem... the little file Icon doesn't appear.

I've searched around and although other people report the same problem the posts don't seem to be recent. Some posts discussed the issue working directly with the text editors FCK/Tiny MCE without WYSIWYG module so I uninstalled and tried the direct approach (install FCKeditor module then IMCE).... still no button. I have now gone back to WYSIWYG and tried every approach I can think of tinkering with roles, input formats, permission rebuilds etc.

I currently have just one input format - (Default, Full HTML, all roles) and one WYSIWYG Profile (which includes IMCE). No button except for admin.

I'm out of ideas after 4 hours of experimentation.

Comments

twod’s picture

Project: Wysiwyg » IMCE Wysiwyg bridge
Version: 6.x-2.1 » 6.x-1.x-dev
Component: Miscellaneous » Code

That's a bit odd. Wysiwyg module doesn't do any special permission checks (it's all left up to the input format handling), and as far as I can see neither does the IMCE Wysiwyg bridge module.

IMCE module itself has no part in displaying the button or integrating with the editors via Wysiwyg. Wysiwyg module just grabs the info from imce_wysiwyg's hook implementation for the "Buttons and Plugins" list, the rest is up to imce_wysiwyg, so I'm moving this issue there.

Maybe there's an issue with imce_wysiwyg's JavaScript plugin files? If they are not loaded correctly when the editor starts there's no plugin to place the Browse button in the image dialog. I'd try using Firebug or a similar tool to see if all files are being loaded correctly (clear browser cache first) and try going from there, perhaps set some breakpoints in the code to see if the code is even run.

Anonymous’s picture

subscribing

m1n0’s picture

subscribing

m1n0’s picture

I found solution for me. Under Site Configuration -> IMCE assign some profile (I used User-1 profile) to role that you want use IMCE with

sun’s picture

Status: Active » Closed (won't fix)

Solution has been stated in #4 - not related to this bridge module.

zareen’s picture

This worked in Drupal 7. IMCE I allowed other roles to use same permissions as user-1. Gee... that's obscure! Thanks for this post or I would have never figured it out.

ximizu’s picture

Solution #4 works for me. thanks m1n0

tuthanh’s picture

#4 works for me. Please go to Configuration - IMCE and assign user roles to IMCE profile.

Thanks m1n0.

ashutosh_anand’s picture

Thanks m1n0 !

sonugoyalmca2006@yahoo.com’s picture

#4 worked for me.
Thanks!