Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)? Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?

Started by stvis, August 22, 2010, 11:02:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stvis

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

François Keller

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....
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

stvis

Thank you, may be this is the right beginning... I will try that.

stvis

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 !

:)

Αndré

Quote from: stvis on August 22, 2010, 11:02:29 AM
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']);

Αndré