top menu for registered users top menu for registered users
 

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

top menu for registered users

Started by kapilcool, May 08, 2008, 02:52:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kapilcool

Hi,
I am new to coppermine software and have some questions.

1: How can i disable the top level menu, which provides options to create album, modify album, my profile etc. I have already hacked the php file to automatically create an album based on username of the user.

2: Another question:-) How I can force a user to upload a picture into a certain album as there will be only one, which will be created automatically on registration!!

Thanks,
kapil

Joachim Müller

We have a strict "one question per thread" policy that you agreed to respect when signing up. Do so in the future.

Quote from: kapilcool on May 08, 2008, 02:52:05 AM
1: How can i disable the top level menu, which provides options to create album, modify album, my profile etc. I have already hacked the php file to automatically create an album based on username of the user.
You can edit the so-called "user-admin" menu by editing themes/yourtheme/theme.php. If your custom theme doesn't contain that section, copy the section (and only that section) from themes/sample/theme.php into a new line before ?>of the file themes/yourtheme/theme.php

Quote from: kapilcool on May 08, 2008, 02:52:05 AM
2: Another question:-) How I can force a user to upload a picture into a certain album as there will be only one, which will be created automatically on registration!!
If there is only one album the user is allowed to upload to, then only that album will show up in the dropdown box.