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: Any way to remove the menu from ' login.php ' and ' register.php ' ??  (Read 3226 times)

0 Members and 1 Guest are viewing this topic.

sanders208

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Any way to remove the top menu from ' login.php ' and ' register.php ' ??  ???


please email me at xerogravyti@aol.com
aim sn: sanders208
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231

Hi,
to hide the register link, go into config, and find 'User settings'  'Allow new user registrations', and switch it to no.

To hide the login link, you have to modify one file. Open your theme.php file,  and find;

Code: [Select]
<!-- BEGIN login -->

Now comment out everything between this code and this, using html comment code (<!--  -->);

Code: [Select]
<!-- END login -->
You MUST leave the code highlighted above in place.  If you need to log in, you will have to type the url in your browser, ...../coppermine/login.php
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de

please email me at xerogravyti@aol.com
aim sn: sanders208
The reason we have a support board is that others may benefit from questions asked and answers given, that's why we don't provide one-on-one support. Supplying email addresses or others means of one-on-one contact is contraproductive on any support forum and will only lead to your email address being subject to even more spam. It would have been better if you had posted a link to your gallery anyway, this is most often the only way for supporters to help. In the future, please don't post your email addy, but a link.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.