Home  | FAQ  | Search  | Memberlist  | Usergroups  | Register  | Profile  | Log in  | Log in for your private messages
Confirming a User's Login

 
Post new topic   Reply to topic    myWebland Forum Index -> Customization
View previous topic :: View next topic  
Author Message
nathaningram
Newbie


Joined: 05 Jun 2006
Posts: 6

PostPosted: Tue Jun 13, 2006 3:41 pm    Post subject: Confirming a User's Login Reply with quote

Currently, when a user logs in, the blog just pushes the person back to the main page. The only difference in where they were before is that there is an ADMIN CP link at the top of the page.

I can forsee that some (stupid) users might not realize they're actually logged in at this point and e-mail me a million times.

Is there a way to place up there by ADMIN CP some additional text like "LOGGED IN AS [USERNAME]"?

Thanks!
Nathan
Back to top
View user's profile Send private message
nathaningram
Newbie


Joined: 05 Jun 2006
Posts: 6

PostPosted: Thu Jun 15, 2006 2:00 pm    Post subject: Reply with quote

no ideas? Crying or Very sad
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Sun Jun 18, 2006 9:52 am    Post subject: Reply with quote

Look for this line in the index.php file

Code:
if(isset($_SESSION['username']) && isset($_SESSION['passwd']))
{
   $template->assign_vars(array(
     'ADMIN_MENU'  => '<center><span class="menuitem"><b><a class="std" href="./admin.php">Admin CP</a></b><span></center>',
   ));
}


change it to

Code:
if(isset($_SESSION['username']) && isset($_SESSION['passwd']))
{
   $template->assign_vars(array(
     'ADMIN_MENU'  => "<center><span class=\"menuitem\"><b><a class=\"std\" href=\"./admin.php\">Admin CP</a> LOGGED AS [".$_SESSION['username']."]</b><span></center>",
   ));
}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    myWebland Forum Index -> Customization All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
TNX?


Powered by phpBB © 2001, 2005 phpBB Group
Contact Us