![]() |
Sender Avatar In Private Message List
I've seen a few requests for it and wanted it myself, I spent a lot of time on it and then realized I wasted a lot of time and it was actually quite simple. Now this works whether you store your avatars in the filesystem or database.
Upload the plugin. Then: In your pm_messagelistbit template find: Code:
<if condition="$show['pmicons']"><td class="alt2"><if condition="$show['pmicon']"><img src="$pm[iconpath]" alt="$pm[icontitle]" /><else /> </if></td></if> Code:
<if condition="THIS_SCRIPT!='usercp'"> <if condition="$sk_avurl"><td class="alt2" width="80"><img src="$sk_avurl[0]" width="60" /></td><else /><td class="alt2" width="60"><img src="images/misc/noavatar.gif" width="60" border="0" /></if></td></if> </if> You'll be replacing the post icon that shows up between the status icon and the message itself. If your board allows users to not have an avatar and you're getting red x's on some, do this: https://vborg.vbsupport.ru/showpost....1&postcount=26 Credit to: TruthElixirX, Tralala, nevetS and Lionel For their help. Thanks. PS This hack is compatible with 3.7 |
very nice idea! gonna install this!
|
This won't work if you have avatars in the filesystem. :)
|
/clicks subscribe to thread
|
Quote:
|
Excellent work!! Thanks!
giggity giggity |
I really like this idea. I wish it could be used with the filesystem.
|
Probably a stupid question but... how do we change the avatars from the filesystem...
|
Quote:
|
i managed to use the filesystem
|
All times are GMT. The time now is 03:11 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:
|