![]() |
Friend in postbit
1 Attachment(s)
is can show $block_data[friendbits] (template: memberinfo_block_friend) in postbit?
|
Amigo, why would you want that in the postbit? It kinda makes no sense. :/
|
My idea is to show how many friends you have.($post[friendcount])
and below, 6 images at random avatars of his friends. any ideas? |
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. :)
|
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?? |
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:
|
All times are GMT. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|