The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Sender Avatar In Private Message List Details »» | |||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#42
|
||||
|
||||
Yeah, I've been getting that same error. I'll ask people to delete their sent folders if they get the error for now, but a fix would be great!
|
#43
|
||||
|
||||
I myself have never encountered this problem. Could it be people getting too close to their limit?
|
#44
|
|||
|
|||
All i get is squares, and res x's in my Pm box
|
#45
|
||||
|
||||
good one.. installed...
|
#46
|
|||
|
|||
Anyone? About the red x's in my pm list?
|
#47
|
||||
|
||||
I have no idea, check and make sure you've done all the steps correctly. I haven't had that problem.
|
#48
|
||||
|
||||
I seem to be encountering a strange problem. If a user goes to their User CP and sees the private message bit (if the PM is brand new and unread), the avatars don't show up. I'm not sure why.
I tried duplicating the plug-in that is used in private_messagelist_messagebit and put it in usercp_pmbit. When I do this, and refresh the page that has a private message on it says Code:
Database error in vBulletin 3.6.4: Invalid SQL: SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline, customavatar.width, customavatar.height FROM user AS user LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid WHERE user.userid =; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6 Error Number : 1064 Date : Sunday, February 4th 2007 @ 10:45:48 AM Script : http://********/forums/usercp.php Referrer : http://********/forums/private.php?do=newpm IP Address : 71.30.147.158 Username : AdminTest Classname : vb_database Here is a screenshot of what I mean (ignore the header at the top, it was already fixed.) |
#49
|
|||
|
|||
Parse error: syntax error, unexpected '<' in /home/salthub/public_html/private.php(1678) : eval()'d code on line 1
I have loaded ...loaded again,...again....I get this in my Pm list. Along with no avatar pics, and red X's Now I know I am not retarded! WTF! |
#50
|
||||
|
||||
I think you stuck an extra "<" in your template edit. Double check.
|
#51
|
|||
|
|||
I want to put this hack on my board, i tried all you all stated to do and i get the red X's if I dont get a red X then I get my wording up above and then my red X boxes down below the boxes...please help! I so would love to use this hack! what a great idea it was
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|