link to user profile pages
I am currently using bbpress, along with front end pm. In my directory of users in front end pm, I would love each user’s name to link to their bbpress profile page.
This is the section of php within front end pm I would be looking to add the profile urls to I think:
foreach($users as $u)
$directory .= “<tr class=’trodd”.$a.”‘><td>”.$u->display_name.”</td>”;
$directory .= “<td>actionURL.”newmessage&to=”.$u->user_login.”‘>”.__(“Send Message”, “fep”).”</td></tr>”;
if ($a) $a = 0; else $a = 1;
Any thoughts on how I would do this?
Thank you in advance 🙂
- You must be logged in to reply to this topic.