Closed (fixed)
Project:
IMCE
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2008 at 11:30 UTC
Updated:
19 Sep 2012 at 12:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
nath commentedSubscribing
Comment #2
nokes commentedHi...
I know this thread is pretty old, but I have a client that requested this same thing, so I looked into it briefly. I came up with the following (very basic) patch. It just adds another permissions flag ("access imce personal files") which is available in the Access Control area (like "access imce" and "administer imce"). If the permission is not granted, and the user does not have "administer imce", then they don't see the Personal files tab anymore.
I hope it still helps someone.
peace,
Nokes
Comment #3
ao5357 commentedCan we get this for 6.x?
Comment #4
ao5357 commentedOk, so in D6 I got the tab to not show up by commenting out function imce_user_page_access() and
which can be found at the very end of imce_menu().
I make no claim to the effectiveness or reliability of this, but it made the thing go away while still letting me use the button through BUEditor. Just to let you know.
Comment #5
weseze commentedI would recommend making a small module to do this. If the IMCE module is updated the above won't work anymore since the code will be overwritten.
Comment #6
askibinski commentedYou can easily modify tabs in your template.php, but this may also be possible with this new module:
http://drupal.org/project/tabtamer
Haven't checked it out yet though.
Comment #7
xurizaemon#5 is a good workaround, but +1 for addition of an additional permission OR per-profile option to make this easily configurable sitewide without having to add custom code on each site.
I like that the implementation in #2 on this thread appears to check roles in a way which allows removing the tab from UID=1's user page also.
Can we bump this ticket to 6.x, or is this issue for 5.x hardcore folks? ;)
Comment #8
crabcakes commentedThis works, thanks!
Comment #9
ufku commentedThank you all for your interest.
Here is the patch for 6.x-1.x branch which makes File browser tab optional. It's now a profile option as suggested.
This patch also makes the tab link open as a standalone page(not embedded), which is a required step for solving many issues of theme js and css interference.
I regret to inform 5.x users that there won't be any new features for it.
ps: run update.php after applying the patch. otherwise all profiles(except user#1) will have the tab disabled, which is the only side effect of not updating immediately.
Comment #10
ufku commentedthe patch.
Comment #11
ufku commentedthis one retains Id texts.
Comment #12
jippie1948 commentedThe patch seems to work fine. Thanks!
Comment #13
ufku commentedcommitted. thanks.
Comment #14
jvieille commentedWorks perfectly.
Will it be in the next module release?
Comment #15
extrarumeno commentedHow to upload direcly image with Bueditor in the path IMCE without browse ?
So it is more simple for user.
and this is lacking in these two modules (really perfect)
Thanks!
Comment #17
DanilaD commentedThank you, this patch helped me.
Comment #18
IT100 commentedAs suggested in #6
I tested TabTamer: this is a excellent update proof solution.
Just hide 'filebrowser' in the user settings section
100IT
Comment #19
Traveler777 commentedCan confirm that. TabTamer works perfectly so far.
Comment #20
trkest commentedThe ICME file browser settings can be controlled from here:
/admin/config/media/imce
Comment #21
x7ian commentedI dont see any option for controlling the users file browser tab.
Comment #22
x7ian commentedOh, found it!
Its inside each profile configuration,
thank you!