vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=127414

Sender Avatar In Private Message List
by .Tim
24 Sep 2006 08:37

2 Attachment(s)
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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:
http://www.vbulletin.org/forum/showp...1&postcount=26

Credit to:
TruthElixirX, Tralala, nevetS and Lionel
For their help. Thanks.

PS This hack is compatible with 3.7

SnickersTK 24 Sep 2006 09:22

very nice idea! gonna install this!

ForumDog 24 Sep 2006 10:57

This won't work if you have avatars in the filesystem. :)

MediaHound 24 Sep 2006 14:13

/clicks subscribe to thread

.Tim 24 Sep 2006 14:24

Quote:

Originally Posted by ForumDog
This won't work if you have avatars in the filesystem. :)

Oh, well then I'll need to look into that!:confused:

trackpads 24 Sep 2006 16:15

Excellent work!! Thanks!

giggity giggity

Lionel 24 Sep 2006 16:44

I really like this idea. I wish it could be used with the filesystem.

kersti 24 Sep 2006 18:17

Probably a stupid question but... how do we change the avatars from the filesystem...

.Tim 24 Sep 2006 18:21

Quote:

Originally Posted by kersti
Probably a stupid question but... how do we change the avatars from the filesystem...

Admincp > Avatars > User Picture Storage Type

Lionel 24 Sep 2006 22:57

i managed to use the filesystem

.Tim 24 Sep 2006 23:04

How did you do that?

Selene 25 Sep 2006 02:53

yes lionel how did u do that can u please tell us what to modify

Lionel 25 Sep 2006 03:02

I created a plugin

hook location: private_messagelist_messagebit

I named it: Avatar in PM

plugin content


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and I put $pmavatar in template at the location indicated in this hack

Shazz 25 Sep 2006 03:03

Thats just for file system? Mmmm..
Anyway *clicks install

.Tim 25 Sep 2006 03:15

Quote:

Originally Posted by Lionel
I created a plugin

hook location: private_messagelist_messagebit

I named it: Avatar in PM

plugin content


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and I put $pmavatar in template at the location indicated in this hack

Weird, that didn't work for me on my test board. Oh well, I'm working on a universal way that works with either method.


All times are GMT. The time now is 11:56.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.