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 |
#102
|
||||
|
||||
Quote:
For vB3.8 Mod I have made sure the queries are kept to minimum because we don't have the userid of the last poster and so instead of fetching the userid from username I have created a function to fetch avatar URL from username. You can refer to my blog post here for the same. |
#103
|
|||
|
|||
You could do, (which is how I did it on my site), however if they do fix this bug then it will leave the mod broken for subsequent versions. It's a tricky one.
|
#104
|
|||
|
|||
Threadbit avatar (file system one also) can be displayed without even adding a single sql query..
You will need to join tables of avatar in $thread array by using forumdisplay_query AND threabit_process plugin. i remember i did same kind of paid mod for one guy long ago and this mod really gives a cool look to forum. |
#105
|
|||
|
|||
Quote:
|
#106
|
||||
|
||||
Thanks İnstalled ....
|
#107
|
||||
|
||||
Thanks for the update great job! :up:
|
#108
|
||||
|
||||
Quote:
Yes I thought about that when I was writing the plugin but then decided against it because creating a join with threads and posts can be lot more resource heavy than executing the single query. Unless bottle neck we cannot say if one more query is faster or the join but I would assume a query. Share your views as well. |
#109
|
|||
|
|||
Quote:
I have seen page having 80 queries executed in .5 sec and 12 queries in 1sec (in same site). whether u join or make new query it will take around same time (.1 sec diiference).. but people like having 20 queries executed in page rather than 40 queries. |
#110
|
||||
|
||||
That search thingie ain't working so far. I'll investigate later.
|
#111
|
|||
|
|||
wow that's look great
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|