Create user attribute that creates a link

Permalink
Is it possible to create a user attribute that can create a link that will link to that specific users profile? I didn't like the limited display a manipulative ability of the C5 members page so I made my own and used the Enhanced user list block to configure it. Only problem is that there is no way to link back to a profile page of users other than yourself so you can message or friend them. I want this functionality back. My first thought was to somehow have an attribute that will create a link for that specific users page.

Possibly using this code in conjunction with a check box attribute to turn it on or off? Or an attribute that will insert this code so a link appears:
<div class="ccm-profile-member-username"><a href="<?php echo $this->url('/profile','view', $user->getUserID())?>"><?php echo $user->getUserName()?></a></div>


Anyone know how to accomplish this? Any help would be great thanks.

pakigreenl
 
mehreenbaakza replied on at Permalink Reply
mehreenbaakza
Hi, did you ever find a solution for this? I need to achieve the exact same thing you describe here.
pakigreenl replied on at Permalink Reply
pakigreenl
I had to go a different route as I never got an answer to this either.
mehreenbaakza replied on at Permalink Reply
mehreenbaakza
Hi, thanks for your response Pakigreen. For anyone looking to achieve something similar, I came up with a solution - here are the instructions, including a sample from one of the websites I did:http://www.concrete5.org/documentation/how-tos/designers/display-us...