Log in

View Full Version : Replacing Avatar In Postbit With Profile Pic Thumbnail


???`S?LV?R???`
08-16-2005, 02:24 AM
Alright well so far I've been lookin around and saw a few different hacks that use thumbnails, but I havn't figured how to to reproduce that into what I'm trying to do with the postbit.

Postbit template:
Find:
<if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a><br /></if>

Replace with:
<a href="member.php?$session[sessionurl]u=$post[userid]"> <img src="image.php?u=$post[userid]&type=profile" border="0"> </a><br />

After that you'll have your profile pic shown instead of your avatar, I tried a few different combinations of code to try and get it to show it as a thumbnail but with no luck so far. Anyone know what I'd have to add/change to complete this?


Btw here's one of the hack's code's I was looking at for ideas to complete this
https://vborg.vbsupport.ru/showpost.php?p=586660&postcount=30

???`S?LV?R???`
08-18-2005, 07:17 PM
anyone with any ideas?

kafi
04-06-2007, 06:32 PM
hmmm that would be nice :)