View Single Post
Old
  (#2 (permalink))
mikem
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
05-30-2003, 08:59 PM

Open the Site Visitors block file in a TEXT editor. NOT Notepad or Wordpad.

change ALL of this code
Code:
$content .="<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
$content .=""._SV_USERLOGIN."

\n";
$content .="<table border=\"0\"><tr><td>\n";
$content .=""._NICKNAME.":</td></tr>\n";
$content .="<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"></td></tr>\n";
$content .="<tr><td>"._PASSWORD.":</td></tr>\n";
$content .="<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></td></tr>\n";
	    if (extension_loaded("gd")) {
$content .="<tr><td colspan='2'>"._SV_SECURITYCODE.": [img]modules.php?name=Your_Account&op=gfx&random_num=$random_num[/img]</td></tr>\n";
$content .="<tr><td colspan='2'>"._SV_TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"8\" MAXLENGTH=\"6\"></td></tr>\n";
$content .="<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
	    }
$content .="</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
$content .="<input type=\"hidden\" name=\"mode\" value=$mode>\n";
$content .="<input type=\"hidden\" name=\"f\" value=$f>\n";
$content .="<input type=\"hidden\" name=\"t\" value=$t>\n";
$content .="<input type=\"hidden\" name=\"op\" value=\"login\">\n";
$content .="<input type=\"submit\" value=\""._LOGIN."\"></form>
\n\n";
to this
Code:
$content .="<center>Welcome Guest</center>\n";
Instead of the Loggin part of the block you normally see when not logged in, your Guests that are not logged in will now only see
"Welcome Guest"
at the top of the block where the loggin part used to be.

mikem
   
Reply With Quote