Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 04-03-2006, 11:58 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah. That's probably the most annoying part. I removed that as well. Since I labeled the main forums after the name of my site, it looked weird. Haha.

section02 > section02 > Announcements

No thanks. =P
Reply With Quote
  #12  
Old 04-04-2006, 12:01 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup...It was rather redundant on the original design but I'm sure they had their reasons.

This is what shows on Forum Home:

Code:
Conceptualized In The Summer Of 2000. What We Do Is Not Just A Game To Us...It's A Way Of Life.
And in ShowThread

Code:
bac-Community Forum > What's The 411? > Announcements > Thread title here...
Reply With Quote
  #13  
Old 04-04-2006, 12:06 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh that's nice. =D
Reply With Quote
  #14  
Old 04-04-2006, 12:13 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, vbphrased too. Nothing fancy, just practical.
Reply With Quote
  #15  
Old 04-04-2006, 01:24 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz
Well, the natural behavior of row vertical-aligns itself centered. Yarub had the right edit. You may have removed:

Code:
<tr valign="bottom">
When it should have been
Code:
<tr>
Ok, I kept my original code and simply changed that line with "Bottom' to <tr>. It is still bottom aligned for some reason.

I also tried Yarubs code again. This time it did not remove the portion of my navbar (it was my code replacement mistake before) but it is still bottom aligned again
Reply With Quote
  #16  
Old 04-04-2006, 01:33 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you've edited the original navbar template the behavior of the above edits may not work as intended. Try replacing:

Code:
<td class="alt1" align="left" style="border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; ">
With
Code:
<td class="alt1" align="left" style="vertical-align:center;border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; ">
Reply With Quote
  #17  
Old 04-04-2006, 01:37 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it with my original again, still the same

This is the ENTIRE navbar

Code:
<script type="text/javascript">
<!--
function log_out()
{
    ht = document.getElementsByTagName("html");
    ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    if (confirm('$vbphrase[sure_you_want_to_log_out]'))
    {
        return true;
    }
    else
    {
        ht[0].style.filter = "";
        return false;
    }
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<div align="center">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="99%">

            </thead>
        <tbody id="collapseobj_navbar" style="$vbcollapse[collapseobj_navbar]">
            <tr><if condition="$bbuserinfo['userid']">
                <td class="alt1" width ="1%" align="left" style="border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; border-right-width:1px">$nav_av_image
                </td></if><if condition="$bbuserinfo['userid']">
                <td class="alt1" width="100%" style="border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; border-left-width:1px; border-right-width:1px">

<p align="center">

<else />
                </p>
            </if>
    
                <if condition="is_array($navbits)">
                <else />
                </if>
                <if condition="$bbuserinfo['userid']">
                <div align="center">

<table width="" border="0" bgcolor="" cellspacing="0" cellpadding="4"><tr><td>
<p align="center"><font color="#FF9900" size="7">{</font></td><td>
<font face="Arial, Helvetica, sans-serif"  >
<div align="center"><b><font color="#FF9900">Today's Quote</font></b></div>
<script src="http://www.heartlight.org/hls/qm.js">
</script></font></td><td>
<p align="center"><font size="7" color="#FF9900">}</font></td></tr></table>

</div>

<!-- End HL Code - http://www.heartlight.org -->
                <td class="alt1" valign="middle" nowrap="nowrap" align="left" style="border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; padding-left: 5px; padding-right: 5px; border-left-width:1px; border-right-width:1px">
                <div class="smallfont"><font color="#FF9900">
                    <strong style="font-weight: 400">
                    <phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]<br>
                    <br>
                    </phrase></strong></font>
                    <b>$vbphrase[members]: <font color="#FF9900">$numbermembers</font></b><phrase 1="$bbuserinfo[username]"></phrase><br />
                    Users Online: $totalonline<br><br />
                    <a href="search.php?do=getnew">New Threads</a>: $nav_new_threads<br />
                    <a href="search.php?do=getnew">New Posts</a>: $nav_new_posts</div></td>
                <if condition="$bbuserinfo['pmunread'] and $permissions['pmquota'] > 0">
                <td style="border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; border-right:1px solid #FFFFFF; background-repeat: no-repeat; border-left-width:1px; padding-left:5px; padding-right:5px" class="alt1" align="left" width="5">
                <else />
                <td class="alt1" align="left" style="border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; border-left-width: 1px; border-right: 1px solid #E1E4F2; padding-left:5px; padding-right:5px">
                </if>
                    <div class="smallfont"><if condition="$show['pmstats']">
                        <div align="center" class="smallfont">
                            <table cellpadding="0" cellspacing="1" border="0" width="75%">
                                <tr align="center">
                                    <td colspan="3" nowrap="nowrap">
                                    <div class="smallfont">
                                        <a href="$vboptions[bburl]/private.php">Private Messages</a><br>
                                        <br />
                                        $vbphrase[unread_x_nav_compiled]
                                        <b><font color="#FF9900">:</font></b> $vbphrase[total_x_nav_compiled]<br>
                                        <br>
                                        Mailbox Meter<br></div></td>
                                </tr>
                                <tr><if condition="$pm_show['allfolderstotal']">
                                    <td width="$pm_tdwidth[total]" style="border:1px solid #CCCCCC; background-color:#FF9900; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>">&nbsp;</td>
                                    </if><if condition="$pm_tdwidth[quota] > 0">
                                    <td width="$pm_tdwidth[quota]" style="border:1px solid #CCCCCC; background-color:#e1e4f2; font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>">&nbsp;</td>
                                    </if>
                                </tr>
                            </table>                        
                </div></if></div></td>
                <else /><if condition="$show['guest']">
                    <!-- guest welcome message -->
                    <td class="alt1" valign="middle" width="100%" align="left" style="border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; border-left-width:1px; border-right-width:1px">
                    <div align="center">
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase><br />
                        <br />
                        <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
                    </div></td>
                    <!-- / guest welcome message -->
                </if>
                <!-- login form -->
                <td class="alt1" style="border-right:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; padding:0px; border-left-width:1px" align="left">
                <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
                    <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                        <tr>
                            <td class="smallfont">$vbphrase[username]</td>
                            <td>
                            <input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                            <td class="smallfont" colspan="2" nowrap="nowrap">
                            <label for="cb_cookieuser_navbar">
                            <input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
                        </tr>
                        <tr>
                            <td class="smallfont">$vbphrase[password]</td>
                            <td>
                            <input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
                            <td>
                            <input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                        </tr>
                    </table>
                    <input type="hidden" name="s" value="$session[sessionhash]" />
                    <input type="hidden" name="do" value="login" />
                    <input type="hidden" name="vb_login_md5password" />
                    <input type="hidden" name="vb_login_md5password_utf" />
                </form></td>
                <!-- / login form -->
                </if>
            </tr>
        </tbody>
    </table></div>
    
<div align="center">
    
<table border="0" width="99%" id="table2" cellspacing="0" cellpadding="0">
    <tr>
                <td class="alt5" colspan="3" style="border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; " height="5">
                </td>
            </tr>
    <tr>
                <td class="alt1" align="left" style="vertical-align:center;border-left:1px solid #E1E4F2; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; ">
    
                <if condition="is_array($navbits)">
                <table cellpadding="0" cellspacing="0" border="0" id="table3">
                    <tr valign="bottom">
                        <td>&nbsp;<a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                        <td>&nbsp;</td>
                        <td width="100%" height="25"><span class="navbar">
                        <a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">
                        $vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                    </tr>
                    <tr>
                        <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3">
                        &nbsp;<a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a>
                        <strong>$navbits[lastelement]</strong></td>
                    </tr>
                </table>
                <else />
                <div class="navbar" style="font-size:10pt">
                    &nbsp;<a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a>
                    <strong>$vboptions[bbtitle]</strong></div></if>
                </td>
                <if condition="$bbuserinfo['userid']">
                <td id="navbar_search" height="35" width="105" bgcolor="#F5F5FF" style="border-left:1px solid #FFFFFF; border-top:1px solid #E1E4F2; border-bottom:1px solid #E1E4F2; "><b>
                <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" style="text-decoration: none">
                <img src="http://talkjesus.com/images/search2.gif" border="0"></a></b> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                <td id="navbar_search" height="35" bgcolor="#F5F5FF" width="25" style="border-right: 1px solid #E1E4F2; border-top: 1px solid #E1E4F2; border-bottom: 1px solid #E1E4F2; ">
                <div class="smallfont">
                <a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()" style="text-decoration: none; font-weight:700">
<center>
                <img border="0" src="http://talkjesus.com/images/menu/exit.gif" width="16" height="16" alt="Logout"></a></div></center>
                </td></if>
                </tr>
</table>
    
</div>
    
    <div align="center">
    
    <table border="0" width="99%" id="table4" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center" height="5">
            </td>
        </tr>
        </table>
    
</div>
    
<!-- / breadcrumb, login, pm info -->

<if condition="$show['forumdesc']">
    </div>
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
    </tr>
    </table>
</if>



<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
    
    <if condition="$show['searchbuttons']">
    <!-- header quick search form -->

    <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">$vbphrase[search_forums]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
            <form action="search.php" method="post">
                <input type="hidden" name="do" value="process" />
                <input type="hidden" name="showposts" value="0" />
                <input type="hidden" name="quicksearch" value="1" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
            </form>
            </td>
        </tr>
        <tr>
            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
        </tr>
        </table>
    </div>
    <!-- / header quick search form -->
    </if>

    <if condition="$show['member']">
    <!-- user cp tools menu -->
    <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        
        <tr><td class="thead">$vbphrase[quick_links]</td></tr>        
        <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
        <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                
        <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
        <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
        
        <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
        <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
        <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
        <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
        <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
        
        </table>
    </div>
    <!-- / user cp tools menu -->
    </if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

    <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
            <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
            </form>
            </td>
        </tr>
        </table>
    </div>

<!-- / PAGENAV POPUP -->
</if>
Reply With Quote
  #18  
Old 04-04-2006, 02:07 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe...You didn't remove:

Code:
<tr valign="bottom">
Change to:
Code:
<tr>
Reply With Quote
  #19  
Old 04-04-2006, 02:11 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well well well Found the problem. Firefox!

Try my site in IE and FF
www.talkjesus.com

You can see on forumhome for example, the forum cells in FF are vertically taller as if a new blank line is inserted.
Reply With Quote
  #20  
Old 04-04-2006, 02:45 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would do it, if the vB templates have been modified. Setting a height in a <tr> or <td> tag may show up differently in IE and Firefox; sometimes an unused element. Removing unnecessary codes and using CSS often resolves those occurances.

With my site I have to be almost exact since I deal in pixels which meant editing quite a bit.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12377 seconds
  • Memory Usage 2,316KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (9)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete