forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: sanders208 on July 11, 2004, 07:43:53 pm

Title: Any way to remove the menu from ' login.php ' and ' register.php ' ??
Post by: sanders208 on July 11, 2004, 07:43:53 pm
Any way to remove the top menu from ' login.php ' and ' register.php ' ??  ???


please email me at xerogravyti@aol.com
aim sn: sanders208
Title: Re: Any way to remove the menu from ' login.php ' and ' register.php ' ??
Post by: Casper on July 11, 2004, 08:29:24 pm
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
Title: Re: Any way to remove the menu from ' login.php ' and ' register.php ' ??
Post by: Joachim Müller on July 12, 2004, 08:48:29 am
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