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: HOW TO HIDE TOP MENU ITEM LINKS?  (Read 5224 times)

0 Members and 1 Guest are viewing this topic.

passenger57

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
HOW TO HIDE TOP MENU ITEM LINKS?
« on: September 27, 2005, 12:39:02 am »

 :)
« Last Edit: September 30, 2005, 07:38:54 am by passenger57 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #1 on: September 27, 2005, 07:51:09 am »

yes, and this has been asked many times already. Please search before posting
Logged

passenger57

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #2 on: September 27, 2005, 07:43:06 pm »

 >:(
« Last Edit: September 30, 2005, 07:39:31 am by passenger57 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #3 on: September 28, 2005, 09:16:31 am »

*yawn*
Edit themes/yourtheme/theme.php, find
Code: [Select]
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::and replace with
Code: [Select]
<!--<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::-->to remove the link for everyone. Do the same thing to all other links you don't want displayed (do not remove them, but comment them out as suggested). To add links visible for the admin only, find
Code: [Select]
// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT

                <div align="center">
                <table cellpadding="0" cellspacing="1">
                        <tr>
                                <td class="admin_menu"><a href="editpics.php?mode=upload_approval" title="">{UPL_APP_LNK}</a></td>
                                <td class="admin_menu"><a href="config.php" title="">{CONFIG_LNK}</a></td>
                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="">{ALBUMS_LNK}</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="">{CATEGORIES_LNK}</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="">{USERS_LNK}</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="">{GROUPS_LNK}</a></td>
                                <td class="admin_menu"><a href="banning.php" title="">{BAN_LNK}</a></td>
                                <td class="admin_menu"><a href="db_ecard.php" title="">{DB_ECARD_LNK}</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="">{COMMENTS_LNK}</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="">{SEARCHNEW_LNK}</a></td>
                                <td class="admin_menu"><a href="util.php" title="">{UTIL_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
                        </tr>
                </table>
                </div>

EOT;
and edit this section accordingly.

However, I find it strange that you want to remove those links for regular users and recommend reviewing the overall idea.
Logged

passenger57

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #4 on: September 29, 2005, 06:24:21 am »

 :)
« Last Edit: September 30, 2005, 07:39:21 am by passenger57 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #5 on: September 29, 2005, 08:57:30 am »

your client? You claim to be a pro, yet you can't figure out how to search? You have no idea what upper case chars on a support board mean? Review your attitude, I would have expected such childish behaviour from a newbie kid, but not a pro. Refering to your client the way you do is not very nice and tells me even more about your attitude. I wish you good luck for the future... ::)
Logged

passenger57

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #6 on: September 30, 2005, 07:38:09 am »

 :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(:\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(v :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'( :\'(
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #7 on: September 30, 2005, 08:23:11 am »

passenger57,

Modifying your messages and deleting them after all the help you received is not only immature but unwarranted.  You are being rude, not only to the person who helped you, but to everyone who has access to these boards.  You waste my time when I could be helping others to see what is going on in this thread.  And you, undoubtedly will waste the time of countless of others.  Shame on you!

I think you owe everyone,  Gaugau, Devs, supporters, members and guests of coppermine a very sincere and humble appology.

Otherwise, you may find it difficult to receive help from others in the future.

I hope you are big enough to step forward and apologize.


Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HOW TO HIDE TOP MENU ITEM LINKS?
« Reply #8 on: September 30, 2005, 08:42:02 am »

Dennis,

I don't think that passenger57 will be able to apologize, as I just banned him ;). It's people with an attitude like his/hers that make me wonder sometimes why I'm doing this? Thank god there are other people who make it worth while.
Locking this thread now.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 20 queries.