Quote:
Originally Posted by nCODE
sorry, I dunno, try PMing the owner of the picture
and shabbirbhimani,
did some modifications, if you dont mind.
added the functionality to show the avatar in search results.
Instructions
1) Import the product and allow overwrite...
2) Now you have to edit one template: Search Templates --> search_threadbit
Find
Code:
<vb:if condition="$show['threadicon']">
And add the following just above it
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>
Find
Code:
<dt>{vb:rawphrase last_post_by}</dt>
And add the following just above it
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>
Note: Some custom templates have the above code as
Code:
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
|
Thank you for this, but did you asked the creator before posting?
anyway, the code
PHP Code:
<vb:if condition="$show['threadicon']">
is NOT on my search_threadbit