user profile link on index page
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #1
user profile link on index page
i had a welcome box in index page showing the text

welcome {user}, your last visit, private messages, so and so.... on index page

now i would like to make the {user} text to be linked to that user's profile as when he clicks on that text he must be redirected to his profile.
this happens when we click on the last post users that is displayed forum view in index page.
i tried of adding
<a href="{mybb->user['profilelink']}">{user}</a>
but didnt worked

as like in our forum http://mybbhacks.zingaburga.com/
   

any other solutions?
(This post was last modified: 10-21-2010 07:09 AM by 1master1.)
10-21-2010 06:08 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: user profile link on index page

HTML Code
<a href="member.php?action=profile&amp;uid={$mybb->user['uid']}">{$mybb->user['username']}</a>


My Blog
10-21-2010 07:37 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #3
RE: user profile link on index page
Thank you very much zinga Smile
10-21-2010 01:44 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: