The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Avatars In Thread Listing Details »» | |||||||||||||||||||||||||||
Download vB 3.8.x Compatible Version Here
What does this plugin do? This plugin add user avatars to the thread listing in forum display page. See the sceenshot for sample. How to Install the plugin? This plugin requires you edit vBulletin templates. Import the xml file from the product manager.. Edit the threadbit template. Find HTML Code:
<vb:if condition="$show['threadicon']">
HTML Code:
<a href="{vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.avatarurl}" border="0" /></a> HTML Code:
<dt>{vb:rawphrase last_post_by}</dt> Code:
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt> And add the following just above it. HTML Code:
<a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.lastposteravatarurl}" border="0" /></a> Find HTML Code:
{vb:raw forum.lastpostinfo} HTML Code:
<a href="{vb:link member, {vb:raw forum}, null, 'real_lastposterid', 'real_lastposter'}"><img height="48px" width="48px" style="float:left;margin-right:4px" src="{vb:raw forum.avatarurl}" border="0" /></a> Find the first occurrence of HTML Code:
<div class="inner">
HTML Code:
<a href="{vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}"><img height="32px" width="32px" style="float:left;margin:7px 4px 0 0" src="{vb:raw thread.avatarurl}" border="0" /></a> HTML Code:
<dl class="threadlastpost td">
HTML Code:
<a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.lastposteravatarurl}" border="0" /></a> Find HTML Code:
<div class="contact">
HTML Code:
<a href="{vb:link member, {vb:raw post}, null, 'userid', 'username'}"><img height="32px" width="32px" style="float:left;margin-left:4px" src="{vb:raw post.avatarurl}" border="0" /></a> If you are upgrading the plugin, just import the new plugin file and overwrite the existing plugins. Once done make the necessary edits to the search templates. Credits
Support This plugin is supported, so you can post your issues and queries either on my blog or in comments below. If you would like to Optimize your vBulletin for Less Server Load & Better User Experience, read this post on Optimizing vBulletin History Updated 21st August
Updated 18th August
Updated 17th August
Enjoy!!! Download Now
Show Your Support
|
26 благодарности(ей) от: | ||
8thos, Abhik, alfanexus, BCP Hung, BlueCheri, Erica1977, eTiKeT?, evelynpriscilla, fleshy66, Gemma, iiioroh, K4GAP, lagrace, markoroots, nacaruncr, Nacho Vidal, nCODE, obglobal.net, puertoblack2003, RaYdeN.ADM, reddyink, S!p, sadiq6210, Scalemotorcars, Successfulsteps, tekram |
Comments |
#2
|
|||
|
|||
OOO... this looks awesome!!
is there by chance make the avatar the status icon? like totally opaque if there's an unread post and make it 50% transparent if there's no unread post and also a nice border will be awesome... THANKS!! anyways, here's something from me: for a nice border, you have to do the following [NOTE: You can only use this if you have upgraded to the newer version: 1.01] Go to: AdminCP --> Styles & Templates --> The "<<>>" button of your template select Additional.css from CSS Templates and add this at the very bottom: Code:
/** * Avatar border by nCODE */ a.aw-avatar { *cursor: pointer; /* IE7 refuses to do this */ } .aw-avatar img, .aw-avatar .img, .aw-avatarCropper { background-color: rgb(252, 252, 255); padding: 2px; border: 1px solid #a5cae4; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; } .aw-avatar .img { display: block; background-repeat: no-repeat; background-position: 2px 2px; text-indent: 1000px; overflow: hidden; white-space: nowrap; word-wrap: normal; } find: Code:
<a href="{vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.avatarurl}" border="0" /></a> Code:
<a class="aw-avatar" href="{vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.avatarurl}" border="0" /></a> Code:
<a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.lastposteravatarurl}" border="0" /></a> Code:
<a class="aw-avatar" href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.lastposteravatarurl}" border="0" /></a> Find: Code:
<a href="{vb:link member, {vb:raw forum}, null, 'real_lastposterid', 'real_lastposter'}"><img height="48px" width="48px" style="float:left;margin-right:4px" src="{vb:raw forum.avatarurl}" border="0" /></a> Code:
<a class="aw-avatar" href="{vb:link member, {vb:raw forum}, null, 'real_lastposterid', 'real_lastposter'}"><img height="48px" width="48px" style="float:left;margin-right:4px" src="{vb:raw forum.avatarurl}" border="0" /></a></a> |
2 благодарности(ей) от: | ||
reddyink, Scalemotorcars |
#3
|
||||
|
||||
Thanks Shabbir.. Looks awesome.
|
#4
|
||||
|
||||
Great stuff. Thank you. Now if I could just find something similar for the forumhome template, then I will be in heaven...lol!
|
#5
|
||||
|
||||
Quote:
What do you want on forumhome? |
#6
|
||||
|
||||
Avatars next to last posts. As shown where with red arrow. And I will be prepared to pay for something like that.
Attachment 132002 |
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
That sounds great! Thank you. Just shoot me a PM when you are done, and we can chat about the funds.
|
#9
|
|||
|
|||
It would be really helpful you know... and also, the product works perfectly with vB 4.1.5 so you should make changes to the description...
|
#10
|
|||
|
|||
That would be a nice feature! And if possible make it selectable if a click on the avatar would bring you to the user profile or to the first unread message or the last message
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|