Deleting the warning page and access to all but the administrator Deleting the warning page and access to all but the administrator
 

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]

Main Menu

Deleting the warning page and access to all but the administrator

Started by tsgraves, August 10, 2004, 09:10:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tsgraves

I understand how to disable the voting etc. that is easy. Can the login page be hidden ? I got disqualified on an award because the reviewer claimed this created a chat site. Even with the setting to off for the public it still has the warning page and the password set up. ..........Thanks TS Graves

Joachim Müller

edit themes/yourtheme/theme.php and find <!-- BEGIN login -->
                       <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
Replace with<!-- BEGIN login -->
                       <!--<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>-->
<!-- END login -->


To log in as admin, you will have to go to http://yoursite.tld/your_coppermine_folder/login.php manually...

GauGau

P.S. In the future, please search the board - this has been asked (and answered) before a thousand times.
P.S Is there any reason why your posting deals with something completely different than the subject suggests? In the future, make sure to use subjects that actually describe your problem, e.g. "Remove login link" or similar would have been a good choice

tsgraves

All that does is hide the 'login' link.... you just commented it out.   What I want is for the warning page to be skipped/removed/etc. and no password required.  Is that possible?

Thanks for your help!



P.S.  -- I searched the boards for 'remove warning page', 'hide warning', etc.  and no results were found.
P.S.  -- Maybe you were confused.  Hopefully I just cleared things up -- the subject of this thread precisely deals with the discussion herein...

Nibbler


tsgraves

Clarification : Remove the Register and The Terms and Conditions page..........Thanks

Joachim Müller

to remove registration, just go to coppermine config and set "Allow new user registrations" to "No". If there's no registration, no-one will ever see the "terms and conditions page".

GauGau

tsgraves

 When I have done this in the past " turned off access to new users " I have gone back and it is on again?  I am the only administator. I can't have this show up it caused a disqualification twice now on an award rewiew............Thanks ;D 

tsgraves

 I did everything as you instructed, both the access buttons are set at " No" . It still shows the Register, which still leads you to the terms and conditions page and  registration...........Thanks :(

Joachim Müller

Post a link, so we can have a look. Also, package up your custom theme folder into a zip and attach it to your posting (using the additional options link at the bottom left of the screen when composing a message).

GauGau


Joachim Müller

to get rid of the register link, edit themes/eyeball/theme.php, find<!-- BEGIN register -->
                                                <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> |
<!-- END register -->
and replace with<!-- BEGIN register -->
                                                <!--<a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> |-->
<!-- END register -->
, but I'd be more concerned about the "Allow registration" - "No" setting in coppermine config not being taken into account; this means there's something fishy with your whole install.

As far as I can see from the output your page generates, you're running cpg1.2.1 (if this is true, you are posting on the wrong board, as this one is dedicated to cpg1.3.x) or you haven't upgraded properly from cpg1.2.1 to cpg1.3.x
Note that you mustn't use a theme that was designed for cpg1.2.x with cpg1.3.x, unless you apply all modifications that are mentioned in the theme upgrade guide that comes with the cpg1.3.x package.

GauGau

P.S. [off topic] you say you were running the page on a design competition - I can't see the legitimacy of this, as you're using a nearly unmodified version of the coppermine theme "eyeball". Although it isn't illegal, I personally wouldn't do this, as a question of moral... [/off topic]