Main Contents

Forum

Nam Tran Ybarra @ July 6, 2008

You must be logged in to post

Search Forums:


 






Need access to __username__

UserPost

11:36 am
August 18, 2008


newsblaze

newsblaze

Member

posts 54

I need to access __username__ in a page.

I remember seeing in forum setup that you said it would autofill.

That means it should be available somewhere, but I can't find it.

I really want it in a login page, just the same way that

__MEMBER_NAME__  is available

Is it called something else or did you make it unavailable for a reason?

Also, why aren't many of the other variables available, such as firstname and lastname


NewsBlaze.com

3:43 pm
August 18, 2008


Nam Tran Ybarra

mstutorial

Admin

posts 258

Have you posted this question via Helpdesk?

I will double check as well. If it's not available now we will put it on 2.03 to do list

9:54 am
August 21, 2008


newsblaze

newsblaze

Member

posts 54

OK no need for that, I got it working, thanks

NewsBlaze.com

4:22 am
September 1, 2008


Nam Tran Ybarra

mstutorial

Admin

posts 258

We should put a collection of variables here maybe it can help others:

======================================

SESSION ['SESS_MEMBERSHIP_TYPE']
Membership type: It is Free & Paid
SESSION['SESS_USERNAME']
Username: The Username of your members
SESSION['SESS_FIRSTNAME']
First: The First of the Members.
SESSION['SESS_LASTNAME']
Lastname: The Lastname of the members.
SESSION['SESS_MEMBERSHIP_ID']
Membership ID: It is Membership levels [for eg. Silver, Gold]
SESSION['SESS_MEMBER_ID']
Member id: It is the auto no. which is available in the member table corresponding to the username SESSION['SESS_EMAIL']
Email: Email addresses of the members.

__MEMBER_NAME__
__SITE_NAME__
__MEMBERSHIP_LABEL__
__SUPPORT_EMAIL__
__VROOT_DIR__

__SPONSOR__

__LEFTBAR_LINKS__ to display left menu links.

  • Please insert __RIGHTBAR_LINKS__ to display right menu links.
  • Please insert __BOTTOM_LINKS__ to display bottom menu links.
  • Please insert __TOP_LINKS__ to display top menu links.
  • Please insert __TOP_SUB_LINKS__ to display top sub-menu links.
  • Please insert __VARPowered_by__ to display Powered By message set by CMS configuration (System Variables).
  • Please insert __CONTENTS__ to display main contents in site template.
  • Please insert __meta_title__ to display Meta Title on site page (within < HEAD > tag).
  • Please insert __meta_keyword__ to display Meta Keywords on site page (within < HEAD > tag).
  • Please insert __meta_description__ to display Meta Description on site page (within < HEAD > tag).
  • Please insert __meta_category__ to display Meta Category on site page (within < HEAD > tag).
  • Please insert __search_keyword__ to display Search Keywords on site page (within < HEAD > tag).
  • Please insert __meta_robots__ to display Meta Robots on site page (within < HEAD > tag).
  • Please use __VROOT_DIR__ path for root path of the site.
  • Please insert __PROMPT__ to display the prompt/message if an event occurs (ie. Add/Modify/Delete).
  • Please insert __SITE_NAME__ to display the Site Name on site page.
  • Please insert __page_title__ to display the Page Title at the top of the site page.
  • Please insert __upper_link_instruction__ to display the instructions on site page.
  • Please insert __VIDEO_TUTORIAL__ link to demonstrate the proper working of functionality on site page.
  • Please insert __JAVASCRIPT_CODE__ to apply javascript on the site page. It is must to have proper functioning.



  • About the MemberSpeed How To Tutorials forum

    Most Users Ever Online:

    47


    Currently Online:

    6 Guests

    Forum Stats:

    Groups: 2

    Forums: 8

    Topics: 255

    Posts: 652

    Membership:

    There are 360 Members

    There has been 1 Guest

    There is 1 Admin

    There are 6 Moderators

    Top Posters:

    newsblaze – 54

    macknox – 23

    jamesreilly – 22

    mknowles – 16

    cj_adminpro – 12

    resellit – 12

    Administrators: Nam Tran Ybarra (258 Posts)

    Moderators: David Dixon (40 Posts), robkiernan (27 Posts), tiggerific (16 Posts), Paul Inglis (5 Posts), joe (4 Posts), Nick_Sanders (0 Posts)