Support Forums

user info for logged in user

This is a discussion on user info for logged in user within the Technical Support forums, part of the Technical Support Forums category; What variables hold the information of the current logged-in user? I am specifically looking for the extra and extra2 fields ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 10-27-2009, 12:38 PM   #1
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 13
business is on a distinguished road
Default user info for logged in user

What variables hold the information of the current logged-in user? I am specifically looking for the extra and extra2 fields of the user profile of the currently logged-in user.
__________________
v 4.2.0 Developer - Default Template
business is offline  
Old 10-27-2009, 12:53 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,363
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by business
What variables hold the information of the current logged-in user? I am specifically looking for the extra and extra2 fields of the user profile of the currently logged-in user.
as with all variables the variables available very depending on what page you are on. It doesnt make any sense at all for the script to store user details like extra registration fields when a user is just browsing a site. Variables generally only exist when and where needed.

use smarty debug to see what variables are available on any given page.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 10-27-2009, 02:45 PM   #3
curmudgeon
 
Join Date: Mar 2006
Posts: 5,363
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

also just to add,some user variables are stored in php sessions which are accessible anywhere by using smarty to access the session variable...

Smarty.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accordion menu item if user logged in skekum TemplateCodes 2 08-20-2009 09:41 AM
Modifying User Account requires user to re-enter Email Address nagrap2 Technical Support 2 02-16-2009 11:45 AM
User to User payment?? apotrader Modules / Plugins / Modifications 7 10-28-2008 01:08 PM


All times are GMT -4. The time now is 01:09 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0