Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
Hiding "Media Manager" in "Greebo"
I need a way to hide the "Media Manager" for users that are not logged in
Avatar
notacoder #1
Member for 3 months · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Hiding "Media Manager" in "Greebo"
Please help!

I am not really a big coder and try to hide the "Media Manager" from pages when users are not logged in.

The explanation in https://www.dokuwiki.org/media_manager is no longer working

Also was already commented in 2018 on stackoverflow

Does not work in Release 2018-04-22b "Greebo"
because the tpl_action mechanism is deprecated and the php code
changed (tested May 2019). – Ed Doerr May 25 at 13:46

I wish there was an option in config: disableactions

Is there any known workaround for now?
Avatar
schplurtz (Moderator) #2
Member since Nov 2009 · 493 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
https://www.dokuwiki.org/plugin:denyactions ? It allows you to deny actions to readonly users.

If that works for you, please update https://www.dokuwiki.org/media_manager
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4724 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
You can do this with the tplmod plugin.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-18, 19:00:47 (UTC +01:00)