Well, right now, you must edit your index in the ACP... But what if you wanted the guest to have a different index then the members? What if there's some BBCode that does not support what you want to do... like videos ect...
Here's the solution!
Find the comments
and
and replace everything between those comments with
be sure to replace the title and the descriptions! Html is supported! remember that within the [" "] boundaries, you may only use ['] to replace ["]
PS you can even do this to the tos.php!!
Here's the solution!
Find the comments
PHP:
// **********************************************************************
// End Prepwork - Output the page to the user
// This page sets up the new adoptions and then forwards the user to
// a secondary page for adoptables processing.....
// **********************************************************************
PHP:
// **********************************************************************
// Begin Template Definition
// **********************************************************************
and replace everything between those comments with
PHP:
// Lets see if the user is logged in or not...
if($isloggedin != "no"){
// So the member IS logged in...
$article_title = "TITLE";
$article_content = "HTML DESCRIPTION 4 MEMBERS";
// What guests see...
}
else if($isloggedin != "yes"){
// So the guest is NOT logged in...
$article_title = "TITLE";
$article_content = "HTML DESCRIPTION 4 GUESTS";
}
be sure to replace the title and the descriptions! Html is supported! remember that within the [" "] boundaries, you may only use ['] to replace ["]
PS you can even do this to the tos.php!!