forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: stvis on August 22, 2010, 11:02:29 am
-
Hi François,
thank you for this great plugin, works nice for my needs at most :-)
I have installed the plugin "forum" too and would like to hide the forum-link from the SYS_MENU for unregistered Users too.
Would be nice, if you can give me a hint which direction to go for figuring/hacking it out... :-)
merci beaucoup,
Thomas
-
Hum, not so easy i guess, as the forum button is created by the forum plugin...
Have a look into the plugon.config.php file to see how it works....
-
Thank you, may be this is the right beginning... I will try that.
-
I think the Menu Link will be creaded in /plugins/forum/codebase.php. But I'm not a php-professional and i think this is now not the right place here furthermore.
Think I will ask the developers of the forum-plugin...
Thanks a lot for your Help !
:)
-
I have installed the plugin "forum" too and would like to hide the forum-link from the SYS_MENU for unregistered Users too.
Open codebase.php, find
codebase_sys_user_button('forum.php', $lang['fr'], '', $lang['fr']);
and replace with
if (USER_ID) codebase_sys_user_button('forum.php', $lang['fr'], '', $lang['fr']);
-
I've just seen that you already started a new thread here (http://forum.coppermine-gallery.net/index.php/topic,66740.0.html).