The Arcive of vBulletin Modifications Site. |
|
Display Friend count in Posbit Details »»
|
|||||||||||||||||||||||||
One of our members asked for this so I figured I would do a quick share here.
Go to AdminCP> Styles & Templates> Postbit Legacy. Find: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
Code:
<if condition="$post['userid']"><div>Friends: (<b><a href="member.php?u=$post[userid]">$post[friendcount]</a></b>)</div></if> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice change! It would be nice if you could get it to load directly to the Friends tab. I tried to add "#friends" to the end of the url, but it didn't work.
|
|
#3
|
||||
|
||||
|
Thanks, never thought of that.
|
|
#4
|
|||
|
|||
|
Great one. Could we have similar for number of social groups?
|
|
#5
|
|||
|
|||
|
Quote:
I am not sure if there is a system count for social groups, but Ill look. If there is, it should be fairly simple. |
|
#6
|
|||
|
|||
|
If you download the friends browser mod you can then change the link to point to friends.php?u=$post[userid] which is what i've done.
|
|
#7
|
||||
|
||||
|
What is the "friends browser mod"?
|
|
#8
|
|||
|
|||
|
Very nice, thank you. I placed it a little differently, in postbit. not postbit legacy.
Code:
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> Code:
<if condition="$post['userid']"><div>Friends: (<b><a href="member.php?u=$post[userid]">$post[friendcount]</a></b>)</div></if> |
|
#9
|
|||
|
|||
|
I agree with Boofo, havent heard of that one.
|
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
|
|