Users unsure how to register or missed the buttons at top left Users unsure how to register or missed the buttons at top left
 

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

Users unsure how to register or missed the buttons at top left

Started by waynepyrah, April 12, 2005, 01:49:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

waynepyrah

Hi I'm having a problem with my site http://cgi.pyrah.com/coppermine in that some users are unsure that they have to register and some are saying they missed the login/register buttons.  Is there anything really simple I can do to assist them by say making the buttons bigger, saying you aren't logged in more photos available once logged in and stuff like that ??

Cheers, Wayne

Nibbler

You could replace your anycontent.php with this:

<?php

if (!USER_ID){
starttable("100%""Welcome");
echo <<< EOT
<tr>
<td class="tableb" >
To see all the pictures available, please <a href="login.php">Login</a> or <a href="register.php">Register</a>.
</td>
</tr>
EOT;

endtable();
}
?>


and then enable it by adding anytcontent/ to the start your 'contents of the main page' setting in config.

waynepyrah

Hi thanks just tried that and got this "Parse error: parse error, unexpected $ in /files/home3/willandwayne/coppermine/anycontent.php on line 13"

Nibbler

EOT;endtable(); are supposed to be on 2 lines, so

EOT;
endtable();