Start ::
PostNuke 0.7 Support ::
XTE Support ::
Find out if user isloggedin
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- January 2004
- Status:
- offline
- last visit:
- 20.03.04
- Posts:
- 11
I tried using the $isloggedin variable in the theme to display info according to the logged in status. No luck.
I want to show the login box when not logged in and a submit news link in its place when they are logged in. -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 01.09.08
- Posts:
- 13408
if (pnUserLoggedIn())
?
See the pnAPI reference (look left!)
-----
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Freshman
- registered:
- January 2004
- Status:
- offline
- last visit:
- 20.03.04
- Posts:
- 11
Thats exactly how I did it with AutoTheme but I can't find a way to escape the theme and use PHP so it just puts it in as text. -
- rank:
-
Freshman
- registered:
- January 2004
- Status:
- offline
- last visit:
- 20.03.04
- Posts:
- 11
I got this error when I tried. did you make that tag up?
Fatal error: Smarty error: [in userdb:p3m_x/master.htm line 12]: [plugin] unknown tag - 'PHP' (core.load_plugins.php, line 118) in /home/project3/www/www/pn/includes/classes/Smarty/Smarty.class.php on line 1883
Start ::
PostNuke 0.7 Support ::
XTE Support ::
Find out if user isloggedin
