PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/)
-   -   strange alignment prob with firefox.. pic attached (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/142013-strange-alignment-prob-firefox-pic-attached.html)

sross February 7th, 2010 05:18 PM

strange alignment prob with firefox.. pic attached
 
1 Attachment(s)
Any idea what is causing this? What template is it maybe I can play with the template?.. Thanks!

Luciano February 8th, 2010 01:10 AM

well it seems that in the adv_gallery_imagebit template you are missing an open or closing td or tr tag ..
what style are u using?

sross February 8th, 2010 01:15 AM

default template for vbgallery:

here is the template:

Quote:

<td class="alt1" valign="bottom" width="$cellwidth">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td valign="middle" height="85">
<if condition="$images['sticky']">
<div align="$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" title="$vbphrase[sticky_image]" /></div>
</if>
<div align="center" style="margin-top:5px;margin-bottom:5px;">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$images[url]" /></a>
</div>
</td></tr><tr>
<td valign="bottom">
<if condition="$catinfo['catid'] == 'favorites'">
<div align="center" class="smallfont" style="margin-bottom:3px"><a href="misc.php?$session[sessionurl]do=removefav&amp;i=$images[imageid]&amp;return=favorites">$vbphrase[remove_from_favorites]</a></div>
</if>
<if condition="$catinfo['catid'] == 'subscriptions'">
<div align="center" class="smallfont" style="margin-bottom:3px"><a href="misc.php?$session[sessionurl]do=unsubscribe&amp;type=image&amp;i=$images[imageid]&amp;return=subscriptions">$vbphrase[disable_email_updates]</a></div>
</if>
<div align="center">
<if condition="!empty($showfields)">
<if condition="$showfields['rating'] OR $showfields['title']">
<if condition="$images['rating'] AND $showfields['rating']">
<span style="float:$stylevar[right]"><img alt="" border="0" src="$stylevar[imgdir_rating]/rating_$images[rating].gif" title="<phrase 1="$images[votenum]" 2="$images[truerating]">$vbphrase[x_votes_y_average]</phrase>" /></span>
</if>
$images[title]<br />
</if>

<if condition="$showfields['description']">
<span class="smallfont">$images[description]</span><br />
</if>

<if condition="$showfields['user']">
<span class="smallfont"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$images[userid]">$images[username]</a></span><br />
</if>
<if condition="$show['category']">
<span class="smallfont">$vbphrase[category]: </span>
<span class="smallfont"><a href="browseimages.php?$session[sessionurl]c=$images[catid]">$images[cattitle]</a></span><br />
</if>

<if condition="$showfields['dateline']">
<span class="smallfont">$images[dateadded] <span class="time">$images[timeadded]</span></span><br />
</if>
<if condition="$showfields['views']">
<span class="smallfont">$vbphrase[views]:</span>
<span class="smallfont">$images[views]</span><br />
</tr>
</if>
<if condition="$showfields['dimensions']">
<span class="smallfont">$vbphrase[dimensions]:</span><br />
<span class="smallfont">
<if condition="$images['width'] AND $images['height']">
<if condition="$images['originalwidth']">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl">$images[width] x $images[height]</a> |
<a href="$images[originalurl]" <if condition="$ppg_options['gallery_originalwindow']">target="blank"</if>>$images[originalwidth] x $images[originalheight]</a>
<else />
$images[width] x $images[height]
</if>
<else />
$vbphrase[n_a]
</if>
</span>
<br />
</if>
<if condition="$showfields['filesize']">
<span class="smallfont">$vbphrase[filesize]:</span>
<span class="smallfont">
<if condition="$images['originalfilesize']">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl">$images[filesize]</a> |
<a href="$images[originalurl]" <if condition="$ppg_options['gallery_originalwindow']">target="blank"</if>>$images[originalfilesize]</a>
<else />
$images[filesize]
</if>
</span>
</if>
<if condition="$ppg_options['gallery_allowreplies']">
<if condition="$showfields['posts']">
<span class="smallfont">$vbphrase[replies]: </span><span class="smallfont">$images[replies]</span><br />
</tr>
</if>
<if condition="$showfields['lastpost']">
<span class="smallfont">$vbphrase[last_post]: </span></td>
<if condition="$images['lastpostdateline']">
$images[lastpostdate] <span class="time">$images[lastposttime]</span> (<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$images[lastpostuserid]">$images[lastpostusername]</a>)
<else />
$vbphrase[never]
</if>
</span>
</if>
</if>
</if>
</div>
</td></tr></table>
</td>
I'm not sure what in there might be doing it (not a coder). Any ideas? thanks!

Luciano February 8th, 2010 01:32 AM

this is NOT the original imagebit template...
some table elements have been removed.. some not.. creating the strange effects..
you should "revert" the template... in the stylemanager

Luc

PS:
Original template:
Code:

Content visible to verified customers only.

sross February 8th, 2010 02:02 AM

bizarre, i used your template and there was no change at all. This is the page people see when they click into a gallery category.. are you sure thats the right template? Thanks for the help!

Luciano February 8th, 2010 02:20 AM

yes I am positive..
do you have different styles installed?
In which style did you paste the template?????
are you sure you have modified the template in the style you are viewing?
you can check the template if you go to ACP
vbulletin options -> general settings -> Add Template Name in HTML Comments -> YES

then go to the page and view the source code in your browser.. (after refreshing)
You should have the template name between <!-- start template name:xxx --> tags
Luc

sross February 8th, 2010 02:32 AM

I'm not having a good night lol. Well i set it to display template name in html, even after refresh it does not show anywhere in page source. I tried another browser too. The error that i get seems to only be in firefox. I even tried re-installing vbgallery overwriting all templates and it still does it sigh.. I have a coder that does part time work for me so he may be able to fix it.. I really appreciate the help tho any other ideas let me know :)

Luciano February 8th, 2010 02:41 AM

you are definitely using a non standard template...
What I suspect:
2 possibilities..

1. You are vewing a different style in firefox than in other browser..
Create a new top level style.. call it test style..
then view that style...
- Check the style name bottom left of page in style chooser
- make sure that in category settings you do NOT have selected Custom Style for this Category!!!! setting: default


2. you have modified your MASTERSTYLE and not a created style...
(that ones bad... you would have to remove vbgallery completely and reinstall it)

It would be helpfull to view the page

Luc

sross February 8th, 2010 03:18 AM

pm sent


All times are GMT -5. The time now is 08:16 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97