![]() |
Lynne,
I'm on 4.2.0, I've followed every instruction twice, disabled all hooks and still can't get this to show. All I see is "Array". Any more ideas? Can I PM you my site details? |
Quote:
|
Quote:
|
Update:
Thank you, Lynne The Great In case anyone has issues, make sure to put in the name of the custom template in the block configuration page (Template To Use). That's the part I missed - Think that should be added to the instructions. Does anyone know how to make this into Avatars? |
Quote:
Quote:
|
1 Attachment(s)
Quote:
|
Quote:
PHP Code:
However you'll need to account for the fact as it stands you'll just get a long line of avatars; you need something in the template code to make them wrap after 4 avatars. Also bear in mind this adds 1 query per avatar. |
Quote:
|
You could rewrite the query that gets the users online and JOIN with the avatar table and get the avatar that way and then you don't get an extra query per user for the avatar. (Check the query for the post user since that query grabs and avatar for the user.)
|
Lynne - Is it possible for you to help create a code for those who want Avatars like Mark.B's?
|
All times are GMT. The time now is 10:26 AM. |
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:
|