kartik786
07-15-2011, 11:05 AM
<a href="$vboptions[homeurl]/profile.php?$session[sessionurl]user=<if condition='$post[user_username]'>$post[user_username]<else />$post[username]</if>" ><if condition="$show['profile']"><!--href="member.php?$session[sessionurl]u=$post[userid]"<if condition="$post[usertitle]">$post[usertitle]<else />$post[username]</if>--></if><if condition="$post[user_fname]">$post[user_fname]<if condition="$post[user_lname]"> $post[user_lname]</if><else />$post[username]</if></a><script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
<if condition="$post[user_fname]">$post[user_fname]<if condition="$post[user_lname]"> $post[user_lname]</if><else />$post[username]</if>
</if>
We had inserted first name and last name variables in registration fields and wanted to show full name instead of username, so we made the above changes to reflect it in postbit. It works.
But the person who did it forgot to maintain uniformity, so last post by is still showing username and not full name .. same is the case in who's online, forumhome, forumdisplay templates.
Can someone guide what changes to be made to maintain uniformity?
<else />
<if condition="$post[user_fname]">$post[user_fname]<if condition="$post[user_lname]"> $post[user_lname]</if><else />$post[username]</if>
</if>
We had inserted first name and last name variables in registration fields and wanted to show full name instead of username, so we made the above changes to reflect it in postbit. It works.
But the person who did it forgot to maintain uniformity, so last post by is still showing username and not full name .. same is the case in who's online, forumhome, forumdisplay templates.
Can someone guide what changes to be made to maintain uniformity?