Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUsing AuthorID token (UserID)Using AuthorID token (UserID)
Previous
 
Next
New Post
1/21/2011 7:35 AM
 
I'm just starting to use this module now, so I am new and the documentation seems to be for v3.01.09 so not quite the latest.
What I'd like to do is to be able to link the Author to a profile using their UserID.  Is there a token available?
Expecting to be able to do something like this in the template:
<a href="/Profile/ID/[AUTHORID]/Default.aspx" title="Profile - [AUTHOR]">[AUTHOR]</a>
Is there a way this can be done?
 
New Post
1/27/2011 3:35 PM
 
Hmm... that's not going to be easy because, currently, there is not a Repository token that exposes the UserID of the Author, and I believe you need the UserID in order to construct a link to the user's profile page.  There may be a way to accomplish what you want via some javascript/jquery that you can embed in your template files, to take the author's name and find their ID.  Off the top of my head, I don't know of way to do that, but someone else reading this might.
 
New Post
1/3/2012 12:17 AM
 
Hi

I am using MyTokens from DNNSharp.com. The module compliments the core DNN Tokens and allows you to retrieve anything at all from the DB and turn it into a usable token. I have tested it with a number of the DNN modules and every module that supports normal tokens works with my tokens. It is very effective and well written. I must also say that DNNSharp offers the best support of any DNN developer that I have come across. 

Regards
Richard

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUsing AuthorID token (UserID)Using AuthorID token (UserID)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out