View Full Version : Pics showing up in Firefox but not in IE
Spank
07-27-2008, 10:05 PM
I've put profile pics in my staff page, but I must have done something wrong, because they're showing fine in Firefox, but they are not showing at all in Internet Explorer.Anybody any ideas what might cause this?
cheat-master30
07-27-2008, 11:05 PM
Can you give a demo page where this is happening (the link to said page)?
Spank
07-27-2008, 11:22 PM
Sure, www.empyron.com/forums/staff.php
Lynne
07-28-2008, 12:00 AM
Sure, www.empyron.com/forums/staff.php (http://www.empyron.com/forums/staff.php)
It's not showing up on my firefox either. But, looking at the source code, your image tag is not proper. Look at the height and width statements (the size shows, not the height="y" or width="x"). Fix that, and it might be fixed. (Do you allow Guests to see profile pics, cuz I don't see any on the member pages either.)
Spank
07-28-2008, 12:20 AM
yeah guests should be able to see them. I see them when viewing the page as a guest in Firefox.
I can see what you're talking about when I view the source code, but not on the actual template, so it's not something I can change., the 75 100 is there I think because the dimensions sets for vbulletin to reduce profile pics to.
This really has be stumped.
Edit: Ok I fixed the size issue, I'm a doughnut and missed it before. Problem still exists though =(
Lynne
07-28-2008, 02:38 AM
Hmmm, well I'm a bit confused because if I go to the member page for user 1 here: http://www.empyron.com/forums/member.php?u=1 I can see no user profile picture showing up anywhere which is why I asked if guests can see them.
Did you start this forum from scratch or import a 'used' database? I ask cuz I recently lost a harddrive on another site and had to start from scratch with it - install php, mysql, etc - except I did have a backup database. I basically reinstalled vbulletin and then imported the old database (same version of vb) and I had a similar issue with the avatars. I had to rebuild the bitfields (I think that's what it was that 'fixed' it).
blind-eddie
07-28-2008, 03:09 AM
Spank, you should read through the thread for the Meet the Staff Page (https://vborg.vbsupport.ru/showthread.php?t=184491), any member who's name is on that page, must have a profile image uploaded for it to display on that page.
Hasann's new version shows avatar's.
Looks like you edited your's a lot. You may have removed some coding that you shouldn't have.
cheat-master30
07-28-2008, 09:00 AM
It seems the images point to blank transparent images to me, possibly because not everyone listed had a profile image or the like...
Spank
07-28-2008, 09:48 AM
Hmmm, well I'm a bit confused because if I go to the member page for user 1 here: http://www.empyron.com/forums/member.php?u=1 I can see no user profile picture showing up anywhere which is why I asked if guests can see them.
Did you start this forum from scratch or import a 'used' database? I ask cuz I recently lost a harddrive on another site and had to start from scratch with it - install php, mysql, etc - except I did have a backup database. I basically reinstalled vbulletin and then imported the old database (same version of vb) and I had a similar issue with the avatars. I had to rebuild the bitfields (I think that's what it was that 'fixed' it).
I have imported my users from myBB, but the profile pics were uploaded afterwards. Where's the option to rebuild the bitfields? It sounds like your closest to what's causing the problem =)
It seems the images point to blank transparent images to me, possibly because not everyone listed had a profile image or the like...
It does look like that, but they do have profile images, I've given all the staff profile pics (2 of them have default nostaffpics)
Lynne
07-28-2008, 01:50 PM
I have imported my users from myBB, but the profile pics were uploaded afterwards. Where's the option to rebuild the bitfields? It sounds like your closest to what's causing the problem =)
If you turn debug on in your config.php file, then the option shows up under vbulletin options in your admin cp. You can also do it directly by pointing your browser to: http://www.yoursite.com/admincp/index.php?do=buildbitfields
Spank
07-28-2008, 03:03 PM
Thanks Lynne, still not solved the problem though.
It's maybe one of life's great mysteries. =(
blind-eddie
07-28-2008, 03:10 PM
Show me your meetstaff_usergroupbit template.
Spank
07-28-2008, 03:18 PM
Do you not mean the usergroup template? That's the one that I've been editing?
I also don't see how it's a problem with anything in there, as the profile pics are not showing up on the profiles in internet explorer.
blind-eddie
07-28-2008, 03:19 PM
The meetstaff_usergroupbit template calls the info to the staff page.
I use both IE & FF , I have no issue's. I sent you what I use.
Spank
07-28-2008, 03:22 PM
Usergroupbit template:
<tr>
<td class="alt2" align="center" valign="middle" width="100">
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[profilepicurl]" $user[ppwidth] $user[ppheight] alt="<phrase 1="$user[username]">$vbphrase[xs_picture]</phrase>" border="0" /></a>
</td>
<td class="alt1" width="100%" >
<div class="bigusername"><a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow">$user[musername]</a> $user[onlinestatus]</div>
<div class="smallfont">$user[usertitle]</div>
<ul class="list_no_decoration">
<if condition="$show['locationfield'] AND $user['field2']">
<div class="smallfont" title="$vbphrase[location_perm]">
<li><span class="shade">$vbphrase[location_perm]:</span> $user[field2]
</div>
</if>
</li>
<if condition="$user['field4']">
<li><span class="shade">$vbphrase[occupation]:</span> $user[field4]</li>
</if>
<if condition="$user['field3']">
<li><span class="shade">$vbphrase[interests]:</span> $user[field3]</li>
</if>
<li><span class="shade">$vbphrase[last_activity]:</span> $user[lastonline]</li>
<li><span class="shade">$vbphrase[join_date]:</span> $user[datejoined] at $user[timejoined]</li>
<li><span class="shade">$vbphrase[birthday]:</span> $user[birthday]
<li><span class="shade">$vbphrase[posts]:</span> $user[posts]</li>
<li><span class="shade"><phrase 1="$user[username]">$vbphrase[visit_xs_homepage]</phrase>:</span> <a href="$user[homepage]" target="_blank" dir="ltr">$user[homepage]</a></li>
<if condition="$show['pmlink']">
<li>
<img class="inlineimg" src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" />
<a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</li>
</if>
<if condition="$show['emaillink']">
<li>
<img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" alt=" <phrase 1="$user[username]"> $vbphrase[send_message_via_email_to_x]</phrase>" border="0" />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</li>
</if>
</ul>
</td>
</tr>
<if condition="$user['field6']">
<tr>
<td class="alt1" colspan="2" width="100%">
<dt class="shade">$vbphrase[field6_title]</dt><dd>$user[field6]</dd></td>
</tr>
</if>
<if condition="$showforums">
<tr>
<td class="alt1" colspan="2" width="100%">
<dt class="shade">Forums $user[username] Maintains:</dt> $user[forumbits]</td>
</tr>
</if>
blind-eddie
07-28-2008, 03:26 PM
ok, You were usiing the newest version that showed avatars, right?
You may need to revert the Meet Our Staff Templates and re edit it the way you want.
I to had that issue with images now wanting to display.
Revert the meetstaff template first, view your page.
Spank
07-28-2008, 11:40 PM
Ok problems fixed, I'm so stupid lol. The guest usergroup permissions were set not to be able to view profile pics. Because I never use IE I wasn't logged in to my site on it, so I couldn't see the pics.
Thanks to everyone for trying to help a stupid person ^_^
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.