Whether user is "logged in" in template

Hi ,

I want to check whether the user got logged in the template, so that i can display and hide my ads and custom menus.

is there any "bx_injection" code to do this ?

please help

Quote · 15 Dec 2015

Hi. This is not the way you should do it. Dolphin.Pro has the ability to have memberships, which are then enabled/disabled for menus and other items.

 

Maybe read some on-line documentation on the membership system on how it works, better you use native facilities than hack your own code.

Quote · 15 Dec 2015

Hi,

 

 I was doing some custom templating as per my client request so like i needed to add some condition but the below link helped me solve this :) I appreciate your help, as mentioned its not the appropriate way to do this ,I do understand that.

I fount the answer here :

 

https://www.boonex.com/forums/topic/Special-templates-code-for-Members-Non-Members-.htm

 

Thankyou

Quote · 15 Dec 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.