Please or Register to create posts and topics.

Call from a side widget link the myProfileLink();?

Hello.

I want to add “Profile” as a link into the side widgets. Is there an easy way to call the myProfileLink() from outside the plugin?

In other words it’s easy to add

Members | Subscriptions | Activity | Logout

to a side widget because they are direct links but this profile link is user dependent.

Thank you.

I sorted it out… if anybody wants to do the same here is the way I did it

 

echo ‘Welcome: <a href=”http://www.yourwebsite.com/forum/profile/’ . $current_user->user_login . ‘”>’. $current_user->user_login .'</a><br />’;

Asgaros has reacted to this post.
Asgaros