Qleb
02-24-2010, 10:00 PM
this well show the user avatar in forumdsiplay
by image.php file
try it demo here -->> Click here (http://www.qleb.net/forumdisplay.php?f=129)
open the template ( threadbit )
and add this code where u like the avatar to appear
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px; height: 39px; border: 0px;" >
<a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div>
or for advanced , if you like to add this avatar inside single (td)
open template (FORUMDISPLAY)
at line : 73 in orginal template you need to add new (td)
its mean we has added a new td in forumdisplay table .
below this code
<if condition="$show['search_engine']">
you well find something like this
<td class="thead"> </td>
copy and past the (td) line again to be like
<td class="thead"> </td>
<td class="thead"> </td>
few lines below find (<else />)
add the same td line copy and past the (td) line below <else /> to be like
<td class="thead"> </td>
<td class="thead"> </td>
save (FORUMDISPLAY) and open ( threadbit )
find in (threadbit)
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
above of it add
<td class="alt2">
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px; height: 39px; border: 0px;" >
<a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div>
</td>
thats all
enjoy
by image.php file
try it demo here -->> Click here (http://www.qleb.net/forumdisplay.php?f=129)
open the template ( threadbit )
and add this code where u like the avatar to appear
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px; height: 39px; border: 0px;" >
<a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div>
or for advanced , if you like to add this avatar inside single (td)
open template (FORUMDISPLAY)
at line : 73 in orginal template you need to add new (td)
its mean we has added a new td in forumdisplay table .
below this code
<if condition="$show['search_engine']">
you well find something like this
<td class="thead"> </td>
copy and past the (td) line again to be like
<td class="thead"> </td>
<td class="thead"> </td>
few lines below find (<else />)
add the same td line copy and past the (td) line below <else /> to be like
<td class="thead"> </td>
<td class="thead"> </td>
save (FORUMDISPLAY) and open ( threadbit )
find in (threadbit)
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
above of it add
<td class="alt2">
<div style="background: url(images/misc/unknown.gif) no-repeat center; width: 40px; height: 39px; border: 0px;" >
<a href="member.php?$session[sessionurl]u=$thread[postuserid]"><img src="image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div>
</td>
thats all
enjoy