I worked around the new vanity url issue by creating two custom fields, one for numerical id and one for users with vanity urls.
This is the code I used for the postbit template edits. Change fields XX & YY to whatever your custom fields are.
Quote:
<if condition="is_member_of($bbuserinfo, 2, 5, 6, 7)">
<if condition="$post['fieldXX']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[fieldXX]&ref=profile">
<img alt="My Facebook" border="0" src="http://yourforums.com/forums/images/misc/facebook.png" border="0"/>
</if></if>
<if condition="is_member_of($bbuserinfo, 2, 5, 6, 7)">
<if condition="$post['fieldYY']">
<a href="http://www.facebook.com/$post[fieldYY]?ref=profile">
<img alt="My Facebook" border="0" src="http://yourforums.com/forums/images/misc/facebook.png" border="0"/>
</if></if>
|
Use at your own risk.
The first is for the numerical id & the second is used if the facebook profile uses a vanity url.