Global Session Variables

System allows you to display or use account details of logged in members. You can use these tags:

  • {session.member_id}
  • {session.group_id}
  • {session.username}
  • {session.password}
  • {session.sessionhash}
  • {session.email}
  • {session.joindate}
  • {session.lastvisit}
  • {session.totalvisits}
  • {session.totalactivepictures}
  • {session.totalinactivepictures}
  • {session.totalactivevideos}
  • {session.totalinactivevideos}
  • {session.totalactiveaudio}
  • {session.totalinactiveaudio}
  • {session.totalblocked}
  • {session.totalfavorites}
  • {session.totalafriends}
  • {session.totalifriends}
  • {session.totalvisitors}
  • {session.totalimessages}
  • {session.totalsmessages}
  • {session.newmessages}
  • {session.template}
  • {session.language}
  • {session.timeformat}
  • {session.timezone}
  • {session.expirationdate}
  • {session.picture}
  • {session.showadult}
  • {session.active}
  • {session.ipaddress}
  • {session.notify_pms}
  • {session.totalactiveguestbooks}
  • {session.totalinactiveguestbooks}
  • {session.approve_guestbooks}
  • {session.totalblogs}
  • {session.totalevents}

System allows you to display or use profile fields values of logged in members. The tag looks as follows.

  • session.profile_label

Replace “label” with a profile field's label you'd like to display.

You can also check if user is logged in by using the tag below

  • loggedin

Equals to 1 if user is logged in, 0 otherwise.

 
 
 
1157 views · Last modified: 2009/01/05 10:31 by vlad