The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatars are all broken?
All of the avatars on my forums are broken. You can't see them on the post (it just has a broken image), but you can view them on peoples profile. So, I was just wondering what is happening?
Thanks! |
#2
|
|||
|
|||
Has this happened since upgrading from 3.0.x to 3.5.x or on installing a style?
It is possible that the avatar code in the postbit template is the obsolete code for 3.0.x which doesn't work in 3.5.x |
#3
|
|||
|
|||
I haven't updated...I just brought vbulletin and I got the 3.4 verison. But I have updated the styles. But I checked the postbit and eveything seemed to be okay.
|
#4
|
|||
|
|||
ok, just for good measure,
in your postbit and postbit_legacy templates, find the code that resembles this (it may not be identical) Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> |
#5
|
|||
|
|||
OMG!!! it is all messed up now! this is the code that I put in:
Code:
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> <div class="smallfont"> <br /> and this is how my forum looks: link to forum: www.kellyforums.com/forum |
#6
|
|||
|
|||
ok, replace the code you posted above with
Code:
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <div class="smallfont"> <br /> |
#7
|
|||
|
|||
OMG!!! your the best!!!! thank you so much!!! everything is perfect now.
|
#8
|
|||
|
|||
Sorry about the panic before, I forgot that the code is slightly different for postbit_legacy which is why it broke.
(You can tell I don't use postbit_legacy very often ) Glad it's working now though |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|