[Skip to main content](#vessel-content)

#   How to check to see if logged in

##

- **[mrdan](/forum/user/3459-mrdan "View mrdan's Profile")**
- [![mrdan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3459-mrdan "View mrdan's Profile") Topic Author
- [ Offline](/forum/user/3459-mrdan)

Less More

- Posts: 38
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#24799](#24799) by [mrdan](/forum/user/3459-mrdan "View mrdan's Profile")  *[How to check to see if logged in](/forum/4-how-to/24799-how-to-check-to-see-if-logged-in#24799 "Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.")* was created by *[mrdan](/forum/user/3459-mrdan "View mrdan's Profile")*

Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.

Last edit: 15 years 2 months ago by [mrdan](/forum/user/3459-mrdan "View mrdan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0Nzk5LWhvdy10by1jaGVjay10by1zZWUtaWYtbG9nZ2VkLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14321
-
-

15 years 2 months ago [\#24800](#24800) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to check to see if logged in wp emember](/forum/4-how-to/24799-how-to-check-to-see-if-logged-in#24800 "Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.")*

In the joomla menu manager, when you edit a menu you can define what group can see it. So you will be able to display a menu or not based on whether the user is logged in or not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0Nzk5LWhvdy10by1jaGVjay10by1zZWUtaWYtbG9nZ2VkLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mrdan](/forum/user/3459-mrdan "View mrdan's Profile")**
- [![mrdan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3459-mrdan "View mrdan's Profile") Topic Author
- [ Offline](/forum/user/3459-mrdan)

Less More

- Posts: 38
- Thank you received: 0
-
-

15 years 2 months ago [\#24801](#24801) by [mrdan](/forum/user/3459-mrdan "View mrdan's Profile")  Replied by *[mrdan](/forum/user/3459-mrdan "View mrdan's Profile")* on topic *[Re: How to check to see if logged in wp emember](/forum/4-how-to/24799-how-to-check-to-see-if-logged-in#24801 "Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.")*

Excellent. Is there also a way to see if logged in in a PHP function?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0Nzk5LWhvdy10by1jaGVjay10by1zZWUtaWYtbG9nZ2VkLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14321
-
-

15 years 2 months ago [\#24804](#24804) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to check to see if logged in wp emember](/forum/4-how-to/24799-how-to-check-to-see-if-logged-in#24804 "Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.")*

Yes. Again, that's not related to HikaShop but joomla:
[ www.semicolon.co.za/php/check-if-user-is...in-joomla-1-5-x.html](http://www.semicolon.co.za/php/check-if-user-is-logged-in-in-joomla-1-5-x.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0Nzk5LWhvdy10by1jaGVjay10by1zZWUtaWYtbG9nZ2VkLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
