Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Sender Avatar In Private Message List Details »
Sender Avatar In Private Message List
Mod Version: 1.00, by .Tim (Member) .Tim is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (3 votes - 4.33 average) Installs: 85
Released: 24 Sep 2006 Last Update: 25 Sep 2006 Downloads: 325
Not Supported Uses Plugins Template Edits  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pmavexample.jpg
Views:	1482
Size:	27.8 KB
ID:	53845  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 25 Sep 2006, 08:03
nevetS nevetS is offline
 
Join Date: Jun 2005
I created a much simpler plugin... Wow Lionel!


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

and then in the template:


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

plugin gets attached to private_messagelist_messagebit.

A quick hack, but it seems to work for me.
Reply With Quote
  #17  
Old 25 Sep 2006, 09:01
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
You may need to add a require ;


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

__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #18  
Old 25 Sep 2006, 09:50
Selene Selene is offline
 
Join Date: Feb 2005
thanks problem solved

Last edited by Selene; 25 Sep 2006 at 09:57.
Reply With Quote
  #19  
Old 25 Sep 2006, 09:56
Selene Selene is offline
 
Join Date: Feb 2005
Originally Posted by nevetS
I created a much simpler plugin... Wow Lionel!


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

and then in the template:


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

plugin gets attached to private_messagelist_messagebit.

A quick hack, but it seems to work for me.

cool that works, but just one problem. Those who dont have an avator, they get that no image pic with cross which looks ugly. Any way to get rid of that? so that members without avator are left out with no avator in the pm display.

here is what i mean:


Last edited by Selene; 25 Sep 2006 at 09:59.
Reply With Quote
  #20  
Old 25 Sep 2006, 10:14
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Originally Posted by Paul M
You may need to add a require ;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
definitely more elegant than mine :-)
Reply With Quote
  #21  
Old 25 Sep 2006, 17:40
nevetS nevetS is offline
 
Join Date: Jun 2005
functions_user.php is already included in private.php

to resolve the missing image problem... maybe something like...

<if condition="$sk_avatar"></if>

or maybe even make the variable in the plugin the whole tag, so if it's null, nothing gets printed.
Reply With Quote
  #22  
Old 25 Sep 2006, 22:36
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Real name: Tim
Thanks guys. That code works both ways, with filesystem and database. So I've updated the code. Thanks again for your help.
Reply With Quote
  #23  
Old 25 Sep 2006, 22:44
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
*INSTALLED* Very cool!
Reply With Quote
  #24  
Old 25 Sep 2006, 23:19
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Installed*
Reply With Quote
  #25  
Old 25 Sep 2006, 23:22
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Now i just got the Red X's and i didn't before
Reply With Quote
  #26  
Old 25 Sep 2006, 23:54
xman_79's Avatar
xman_79 xman_79 is offline
 
Join Date: Jun 2006
Real name: Suleiman
My solution is :
Replace in pm_messagelistbit template :

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

with

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

Create a image :
Width 80 and height 80
name : no_avatar.jpg
location : vb/images

and result :
Attached Images
File Type: jpg pm_is.jpg (26.6 KB, 384 views)
Reply With Quote
  #27  
Old 26 Sep 2006, 00:18
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by xman_79
My solution is :
Replace in pm_messagelistbit template :

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

with

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

Create a image :
Width 80 and height 80
name : no_avatar.jpg
location : vb/images

and result :
Genious!
Reply With Quote
  #28  
Old 26 Sep 2006, 03:04
Trana Trana is offline
 
Join Date: Apr 2005
Nice one.
Reply With Quote
  #29  
Old 26 Sep 2006, 22:26
xman_79's Avatar
xman_79 xman_79 is offline
 
Join Date: Jun 2006
Real name: Suleiman
Originally Posted by Shazz
Genious!
Thank u and welcome .
Reply With Quote
  #30  
Old 27 Sep 2006, 01:48
Jeordie015 Jeordie015 is offline
 
Join Date: Nov 2002
It messed up my layout. I'm running vB3.6.0. It looks like it took out a column or something. I'm not sure how to fix it though. See screenshot.
Attached Images
File Type: gif avatarpm.gif (4.3 KB, 34 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:43.

Layout Options | Width: Wide Color: