1 stevet Jun 19, 2005 18:56
3 stevet Jun 19, 2005 21:22
i get this error
Parse error: parse error, unexpected '<' in /home/release/public_html/teesblog/skins/SP_WARRIOR/_feedback.php on line 138
line 138 is
<?php user_login_link( '', '','Please logon or register now' ); ?>
4 topanga Jun 20, 2005 08:52
<?php
}
echo "You must be logged in to add a comment. <br />";
user_login_link( '', '','Please logon or register now' );
if( $disp_comment_form && is_logged_in() )
{ // We want to display the comments form to a registered member:
if( $Item->can_comment() )
{ // User can leave a comment
?>
Offcourse the former code gave an error, because I was opening a <?php in a parent <?php ...
5 stevet Jun 27, 2005 08:56
thanks - finally got round to adding that and it works
however it takes you to the login link which is fine if you are a registered member. What I want is the longon OR register page
this http://neukol.org.uk/teesblog/htsrv/register.php
for instance gives the ability to logon OR Register
I'd rather call it dynamically as I have several blog systems
this does NOT work
<?php
}
echo "You must be logged in to add a comment. <br />";
<a href="http://neukol.org.uk/teesblog/htsrv/register.php">Please Logon or Register Now</a>
if( $disp_comment_form && is_logged_in() )
{ // We want to display the comments form to a registered member:
if( $Item->can_comment() )
{ // User can leave a comment
?>
6 topanga Jun 27, 2005 12:40
On the logon-form, you can see a link to the register form..
if that is not enough, you can alter that link to the registerform, make is a little bigger, put a picture....
7 stevet Jun 27, 2005 12:45
On the logon-form, you can see a link to the register form..
that has been my experience but in this instance it did not appear[/code]