Friday, January 09, 2009

Smart-Thinker DNN Forums

Forum Guidelines

Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement

First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)

Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service. We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  UserProfile Template Tokens
Previous Previous
 
Next Next
New Post 1/9/2008 5:30 PM
Informative
  Rodney Joyce
3071 posts
www.DNNDir.com
1st Level Poster




UserProfile Template Tokens  (Australia)
Modified By Rodney Joyce  on 12/22/2008 4:15:29 AM)


The Template consists of standard HTML and 3 different types of Parameters (all enclosed in [ ]). To insert a language string, prefix the Parameter with *L*. For example, if you had a language string in your .resx file called "lbName.Text" then you can have this replaced at runtime by using [*L*lblName.Text] in your template. You can also insert any core profile property by referencing the name, prefixed with *C*. It is case-sensitive and needs to be an exact match. For example, to reference the Biography property, you would use [*C*Biography].  The following custom tokens can also be used:

 

[UPDATEDATE] Displays the date that this user last updated their core profile
[VIEWCOUNTER] Displays the number of times this profile has been viewed
[EDITPROFILE] Displays the edit icon to take the user to the Edit Profile screen (Admin or owner only)
[AGE] Displays the user's current age
[NEXTAGE] Displays the user's next birthday age
[DOBDAY] Displays the day for DOB
[DOBMONTH] Displays the month for DOB
[DOBMONTHNAME] Displays the month name for DOB
[DOBYEAR] Displays the year for DOB
[BIRTHDAYCOUNTDOWN] The number of days until the user's next birthday
[BIRTHDAY] The user's next birthday date
[CENSORSHIP] The user's censorship rating
[BACKBUTTON] Displays a back button link if a passed-in userID is used
[NEXTDECADEAGE] Displays the user's next decade birthday age
[DECADEBIRTHDAYCOUNTDOWN] The number of days until the user's next decade birthday
   

 

Click here to see the common UserProfile List tokens (friend lists, group members, user directory etc).

Click here to see the UserProfile StoryFeed tokens.

 


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
Previous Previous
 
Next Next
  Forums  DotNetNuke  Smart-Thinker U...  UserProfile Template Tokens
Top Threads Minimize
In the past 1 week, we have 22 new thread(s) and 48 new post(s)
The most popular thread has been Re: Sponsored Enhancement Proposal Estimate - StoryFeed Commenting
The most active thread has been accept Friend Request?
Print  

Smart-Thinker is powered by DotNetNuke - please support us and DotNetNuke - DotNetNuke Powered!
© 2008 Smart-Thinker