PDA

View Full Version : 4.0.3 How can I Link to a Users Profile? {$bbuserinfo['userid']} No Longer Parsing


NashChristian
04-12-2010, 07:36 AM
I used to use the following code in my navbar to link to the USERS PROFILE, however with the latest upgrade to 4.0.3, the code is no longer parsing correctly.

Here is the code (this is inside a <vb:if condition="$show['member']">):
<li><a href="member.php{vb:raw session.sessionurl_q}?u={$bbuserinfo['userid']}" rel="nofollow">Member Profile</a></li>

That worked perfectly in 4.0.2, however, here is what I'm getting now (4.0.3) in my browser address URL:
http://mysite.com/member.php?u={$bbuserinfo['userid']}

Causing a 404 error.

Since {$bbuserinfo['userid']} is no longer parsing (for some reason), how can I code this to work?

Thanks for the help!
:D Jeff

NashChristian
05-13-2010, 03:41 AM
bump...

Ryan Ashbrook
05-13-2010, 04:15 AM
Replace

{$bbuserinfo['userid']}

With

{vb:raw bbuserinfo.userid}