Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?  (Read 4234 times)

0 Members and 1 Guest are viewing this topic.

stvis

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9096
  • aka Frantz
    • Ma galerie
Re: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
« Reply #1 on: August 22, 2010, 07:04:55 pm »

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....
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
« Reply #2 on: August 23, 2010, 10:22:33 am »

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

stvis

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
« Reply #3 on: August 23, 2010, 10:33:19 am »

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 !

 :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
« Reply #4 on: September 01, 2010, 03:26:55 pm »

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
Code: [Select]
codebase_sys_user_button('forum.php', $lang['fr'], '', $lang['fr']);and replace with
Code: [Select]
if (USER_ID) codebase_sys_user_button('forum.php', $lang['fr'], '', $lang['fr']);
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Final Extract 1.2: Remove Menuitems from other Plugins (e.g. Forum)?
« Reply #5 on: September 01, 2010, 03:30:19 pm »

I've just seen that you already started a new thread here.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.