remove login remove login
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

remove login

Started by riley08, June 11, 2004, 09:09:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riley08

I couldnt seem to post in Mods, but I am running 1.3 now.

Sorry but I couldn't find this..

How can I remove the Login button, so only the admin can login by going to login.php or something of the sort.

Thx

1.3 is great!

Casper

Open your theme.php.  Find the section
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->


Change it to
<!-- BEGIN login -->
                   <!--     <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>  -->
<!-- END login -->


Note, do not remove the existing commented out bits from the file.
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