Show Current User Logged in

  • Posts: 10
  • Thank you received: 0
11 years 5 months ago #107435

Hi, I was wondering if there's an option with Hikashop to display the current user logged in. Example: once a user has logged in, at the top of the page it will display Logged in as: User XYZ.

Currently, if a user is logged in to the site, there is nothing to let them know that they are logged in. What I did to help this was to install a joomla extension that allows me to have a "Log Out" link, which I have display only for registered users and displays next to the "Login Link" when the user is logged in.

What I'd like to do is to display a "Login" link if the user is not logged in and if the user is logged in, have the "Login" link be replaced with a "Log Out" link and the user name next to it.

Does anyone have a solution for this? Thanks guys.

Hugs,

Natalie

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #107460

Hi,

This is not really a HikaShop related problem.
You can do this with the Joomla login module, or I think that there is some extensions which allow that. :)

Regards,

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
11 years 5 months ago #107534

Hi Xavier, I figured that it was and I've been scanning through Joomla extensions but haven't found anything that looked promising yet. Would you have any suggestions? Maybe one you've used in the past or heard of on the forums? Any leads would be awesome :) Thanks Xavier!

Hugs,

Natalie

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #107555

Hi,

I don't really know any extensions which is doing that, but the defualt Joomla login module display a login form when the user is logged out, and display the "Logout" button when the user is connected.
You can to create custom HTML module to display only when the user is logged in or logged out.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum