Hi!
How do I show the users' <%username%> in the user Control Panel page?
The header would be the best place for me ...
Thanks! =)
Hi!
How do I show the users' <%username%> in the user Control Panel page?
The header would be the best place for me ...
Thanks! =)
try this: right after
add:Code:if(isset($COOKIE_USERNAME)) $_SESSION['indexu_session_username'] = $COOKIE_USERNAME;
$user_name = $COOKIE_USERNAME;
then at the bottom, make the following change
which files? all the ones in indexu/cp that you want the user_name to appearCode:DisplayTemplate($theme_path."cp/header.html","\$title,\$cat,\$user_name");
then, in the themes/default/cp folder, open the corresponding files that you changed in the previous step, and add <%user_name%>
that should work
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Suggestion for cp/header.html:
about line 220:
look forand add:Code: <a href="change_pwd.php" class=menu>Change Password</a>
do the spaces with "nonbreaking spaces" (HTML-Tag) => VB does convert this!Code: -- Username: <%user_name%> [<a href="../logout.php">logout</a>]
Last edited by tjoerg; 07-26-2003 at 07:06 AM.
--------- applying hacks require a knack ---------
Thanks Esm and Tjoerg! =)