Wouldnt it be easier to use vb urls instead of regular hyperlinks? Or are the normal hyperlinks safer? Lol sorry I'm a noob with this coding stuff and I've learned some php (I think so atleast) from looking at others work....here is what I'm talking about.
PHP Code:
<if condition="$bbuserinfo['pmunread']">
<a href="private.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/newpm.gif" border="0" width="22" height="10"></a>
</if>