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

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

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

Started by sanders208, July 11, 2004, 07:43:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sanders208

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


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

Casper

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;

<!-- BEGIN login -->


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

<!-- 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
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

Quote from: sanders208 on July 11, 2004, 07:43:53 PMplease 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