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:	1479
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.
  #91  
Old 10 Jan 2008, 22:26
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Real name: Adam
what php version you running? People need to start letting people know this is for php5+ or whatever cause I just upgraded to 5+ from 4.4.4 and now I have all sorts of errors from mods. Also fixed tons of errors from mods. Not to say this is the case with your mod will find out in bit while I test.
Reply With Quote
  #92  
Old 11 Jan 2008, 01:07
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Real name: Alex
When the avatar shows up in the inbox of your PM's, is it shruck to fit or the same usual size?
__________________
OzChess - Australia's Chess Forum- http://www.ozchess.com
Reply With Quote
  #93  
Old 11 Jan 2008, 05:22
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Real name: Tim
In the PM list it is resized to a smaller size but in the actual PM itself it is the normal size.
Reply With Quote
  #94  
Old 17 Jan 2008, 21:25
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
I like the hack, but didn't want to replace the post icon with the avatar, so I put the post icon and the status icon on top of each other. Here's my pm_messagelistbit template:

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

Thanks for the hack, I like it a lot!
__________________
Of all the things I've lost in life, I miss my mind the most.
Reply With Quote
  #95  
Old 07 Mar 2008, 08:12
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Real name: Alex
Originally Posted by TheMilkCarton View Post
Just tweak the html to add:

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

in the <img> code.

Don't think this works in IE6, though.. but you could create a class for this in the CSS instead, and use a few of the IE6 tricks.

Edit:
It is already coded in the html for a width of 60, anyway. Although I didn't use that since my PM page is heavily customized.
For those of us who aren't programmers, how do I do this?

ie.

Admin CP > User Options > etc.

Thanks,

AO
__________________
OzChess - Australia's Chess Forum- http://www.ozchess.com
Reply With Quote
  #96  
Old 19 Mar 2008, 03:47
Trana Trana is offline
 
Join Date: Apr 2005
Originally Posted by AWJunkies View Post
I have this same issue and about to uninstall. I love this idea and have used it for a while but couldn't figure out the culprit on what was happening. Now I have. Will remove for now.
For everyone that is having this problem (where members get a db error when viewing their PM boxes), can you tell me what hacks you have installed? Are you running VBSEO?

I narrowed it down a little bit. I found that the affected members have records in pmtest with no related records in pm. Something is inserting PMs incorrectly and it causes this mod to blow up. Perhaps the author could code in a function to check and see if the userid is blank, and if so, to use the noavatar.gif instead. I know this is a workaround, but it will fix this for everyone that is having problems until the offending culprit is found.

Thanks!
Reply With Quote
  #97  
Old 19 Mar 2008, 06:20
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Tim, this adds a query for every unique avatar on the page, so if you have 22 users sending you PMs and they are all listed on this page, it will add 22 queries for the page on top of the vb default and whatever else they having running in there.
Reply With Quote
  #98  
Old 30 Mar 2008, 22:37
SativaGlow SativaGlow is offline
 
Join Date: Jan 2008
Installed! Nice one!
Reply With Quote
  #99  
Old 12 Jul 2008, 22:19
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Originally Posted by Trana View Post
For everyone that is having this problem (where members get a db error when viewing their PM boxes), can you tell me what hacks you have installed? Are you running VBSEO?

I narrowed it down a little bit. I found that the affected members have records in pmtest with no related records in pm. Something is inserting PMs incorrectly and it causes this mod to blow up. Perhaps the author could code in a function to check and see if the userid is blank, and if so, to use the noavatar.gif instead. I know this is a workaround, but it will fix this for everyone that is having problems until the offending culprit is found.

Thanks!
Trana,

I stumbled on this today, if you still need the fix it is:

Got to the plugin manager, find the plug in 'PM Avatars' and edit

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

to:

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

That would stop the errors for you, it basically checks if the $userid = 'cc' and then only runs the hook if it isn't. It's expecting the $userid to equal something like '67453' but something makes it 'cc'... my code just ignores it if it is!

Let me know how you get on, it will fix it!

AO
Reply With Quote
  #100  
Old 22 Jul 2008, 04:59
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Real name: Adam
Finished adding this with 0 queries added yes 0. Will give to mod owner or will just release it. I also integrated it with opacity avatar MOD.
Attached Images
File Type: jpg pm_avatar2.jpg (49.4 KB, 33 views)
File Type: jpg pm_avatar.jpg (64.6 KB, 33 views)
__________________
Reply With Quote
  #101  
Old 22 Jul 2008, 05:24
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
asome AWjunkies look really sweat
Reply With Quote
  #102  
Old 22 Jul 2008, 23:20
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Real name: Tim
Originally Posted by AWJunkies View Post
Finished adding this with 0 queries added yes 0. Will give to mod owner or will just release it. I also integrated it with opacity avatar MOD.
You can release it yourself if you want. Wouldn't bother me none.
Reply With Quote
  #103  
Old 02 Aug 2010, 19:59
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Real name: Alex
Originally Posted by Gripemaster View Post
*INSTALLED* Very cool!
Might be a cool mod, but the jury is still out.
__________________
OzChess - Australia's Chess Forum- http://www.ozchess.com
Reply With Quote
  #104  
Old 18 Aug 2010, 15:50
sami989 sami989 is offline
 
Join Date: Sep 2009
thank you very much it is useful hak
Reply With Quote
  #105  
Old 18 Oct 2010, 17:27
Kimberley Kimberley is offline
 
Join Date: Oct 2008
installed works great thank you
__________________
Relentless Flame Forum + IbpArcade & Game Downloads
Bringing People Together Around The World
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 11:02.

Layout Options | Width: Wide Color: