top menu for registered users top menu for registered users
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.