The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Friend in postbit
is can show $block_data[friendbits] (template: memberinfo_block_friend) in postbit?
|
#2
|
|||
|
|||
Amigo, why would you want that in the postbit? It kinda makes no sense. :/
|
#3
|
|||
|
|||
My idea is to show how many friends you have.($post[friendcount])
and below, 6 images at random avatars of his friends. any ideas? |
#4
|
|||
|
|||
It's possible, but it would definitely slow down the load of threads. I wouldn't recommend that, but count of total friends is acceptable - and I assume you already know how to add it to the postbit. I'd personally stick with that.
|
Благодарность от: | ||
felixthekat85 |
#5
|
|||
|
|||
Thank you friend.
consider your suggestion to not load the show threads. Equal, if you know it, I would like it you share it. and I evaluated whether it is worthwhile or not. Another question. The condition of MemberInfo <if condition="$prepared['isfriend'] OR $post['userid'] == $bbuserinfo['userid']"> content </if> is possible apply in Postbit?? |
#6
|
|||
|
|||
Quote:
PHP Code:
You can uncomment the echo line to see what is available. I'll leave it to you to figure out how to display the avatars Also, if you don't use the thumbnail images, it's probably a good idea to remove the "thumb" fields from the query to cut down on memory used. I should probably add that I'm not a database expert, so this may not be the most efficient way to get the info you need. Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|