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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ViewProfile Template Tokens in DNN6.2ViewProfile Template Tokens in DNN6.2
Previous
 
Next
New Post
6/11/2012 9:15 AM
 
Thank you Cathal, you are very kind.
This totally amazes me that no one else has found a solution to the friend / follow / meesage link on the profile page. I will patiently wait, unless there is another employee or even user who has this experience. Thank you,
 
New Post
6/13/2012 3:53 PM
 
I did find this article from Chris Hammond:
http://www.dotnetnuke.com/Resources/Blogs/EntryId/3392/Adding-a-website-link-to-the-Member-Profile-and-Directory-in-DotNetNuke-6-2.aspx
But, there has to be a better way than to use the member directory. How would I modify the business card look on the member directory displaying these links on the profile page without modifying the same look on the actual member directory page.
Still looking for the Tokens or another option. Thanks,
 
New Post
6/16/2012 4:38 PM
 

i looked into this and at present that is the best way -there is no simple tokenreplace element that can inject the relevant values. In fact this is how the core profile page works -it hosts a memberdirectory module with custom item template/alternative templates to support the send message/add as friend/follow actions - this allows you to change the look and feel (via module settings->member directory settings) but not the functionality.

I definately think some tokenreplace tokens would be better and could then be used in anything that supports tokenreplace (such as the html module) and will discuss this with the team when we meet to discuss the next major release

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/17/2012 10:53 PM
 
Thank you for your time Cathal
 
New Post
6/18/2012 1:24 PM
 

You need to add the Members Directory module on the page and use this template

                    <div class="friendProfileActions" data-bind="visible: !IsUser() && IsAuthenticated">
                    <ul>
                    <li><a href="" title="" class="ComposeMessage"><span data-bind="text: SendMessageText"></span></a></li>
                    <li>
                    <span>
                    <a href="" data-bind="click: addFriend, visible: FriendStatus() == 0"><span data-bind="text: AddFriendText"></span></a>
                    <span data-bind="click: addFriend, visible: IsPending()"><span data-bind="text: FriendPendingText"></span></span>
                    <a href="" data-bind="click: acceptFriend, visible: HasPendingRequest()"><span data-bind="text: AcceptFriendText"></span></a>
                    <a href="" data-bind="click: removeFriend, visible: IsFriend()"><span data-bind="text: RemoveFriendText"></span></a>
                    </span>
                    </li>
                    <li>
                    <span>
                    <a href="" data-bind="click: follow, visible: !IsFollowing()"><span data-bind="text: FollowText"></span></a>
                    <a href="" data-bind="click: unFollow, visible: IsFollowing()"><span data-bind="text: UnFollowText"></span></a>
                    </span>
                    </li>
                    </ul>
                    </div>


You can identify the 'tokens' for each action easily from the text.


hope it helps.

David

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ViewProfile Template Tokens in DNN6.2ViewProfile Template Tokens in DNN6.2


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