coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: kapilcool on May 08, 2008, 02:52:05 AM

Title: top menu for registered users
Post by: kapilcool on May 08, 2008, 02:52:05 AM
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
Title: Re: top menu for registered users
Post by: Joachim Müller on May 08, 2008, 07:48:17 AM
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.