The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
eliminate a gap in FORUMDISPLY
Please take a look at the screenshot to see the problem. There is a visible space there that I just can't seem to get rid of. I have been trying to do this for a couple days now and I think it's got me licked. The problem is only happening with the threads list and not with subforums lists. Any help with this would be appreciated. Thanks, Gabe Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title> <if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if> </head> <body> $header $navbar <if condition="$show['threadslist']"> <!-- threads list --> <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="forumid" value="$forumid" /> <!-- controls above thread list --> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread2.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else /> </if></td> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </tr> </table> <!-- / controls above thread list --> <div class="main_tcat"> <div class="main_tcat_tl"><div class="main_tcat_tr" style="text-align:left"> <span style="float:$stylevar[right]"> <span id="forumtools" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></span> <if condition="$show['forumsearch']"> <span id="forumsearch" nowrap="nowrap"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></span> </if> </span> $vbphrase[threads_in_forum]<span class="normal"> : $foruminfo[title]</span> </div></div> </div> <table width="100%" class="main_tcat2" cellpadding="0" cellspacing="0"> <tr valign="bottom"> <td class="main_tcat_left"><img src="{IF}/tcat-bl.png" alt="" border="0" /></td> <td width="100%" style="padding-bottom:12px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> <tbody> $announcebits <if condition="$show['search_engine']"> <if condition="$show['threadicons']"> <td class="thead" colspan="2"> </td> <else /> <td class="thead"> </td> </if> <td class="thead" width="100%"> <if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if> $vbphrase[thread] / $vbphrase[thread_starter] </td> <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td> <else /> <tr> <if condition="$show['threadicons']"> <td class="thead" colspan="2"> </td> <else /> <td class="thead"> </td> </if> <td class="thead" width="100%"> <if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&order=desc&sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if> <a href="$sorturl&order=asc&sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] / <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] </td> <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td> <if condition="$show['inlinemod']"><img src="images/styles/mech/gradients/gradient2_tcat.gif"> <if condition="$show['popups']"> <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td> <else /> <td class="thead" align="center"> <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" /> </td> </if> </if> </tr> </tbody> </if> <if condition="$show['threads']"> <!-- show threads --> <tbody id="threadbits_forum_$foruminfo[forumid]"> <if condition="$show['stickies']"> $threadbits_sticky </if> $threadbits </tbody> <!-- end show threads --> <else /> <!-- show no threads message --> <tbody> <tr> <td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center"> <div style="padding: 16px"> <if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br /> <span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if> </div> </td> </tr> </tbody> <!-- end show no threads message --> </if> </table> </td> <td class="main_tcat_right"><img src="{IF}/tcat-br.png" alt="" border="0" /></td> </tr> </table> <br /> <!-- forum tools menu --> <div class="vbmenu_popup" id="forumtools_menu" style="display:none"> <form action="moderator.php?f=$forumid" method="post" name="forumadminform"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr> <if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr> <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></td></tr> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr> <if condition="$show['adminoptions']"> <tr> <td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div> <div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div> <div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div> <div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div> <if condition="$show['addmoderator']"> <div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div> </if> <if condition="$show['post_new_announcement']"> <div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div> </if> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite" align="center"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="f" value="$forumid" /> <input type="submit" class="button" value="$vbphrase[perform_action]" /> </td> </tr> </if> </table> </form> </div> <!-- / forum tools menu --> <!-- inline mod menu --> <if condition="$show['inlinemod']"> <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]"> $threadadmin_imod_menu_thread </div> </if> <!-- / inline mod menu --> <!-- / popup menu contents --> <else /> <!-- controls for non-popup browsers --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px"> <tr> <td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td> <td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td> </tr> <tr valign="top"> <!-- forum tools --> <td class="alt1"> <div class="smallfont"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div> <if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" /> <a href="subscription.php?$session[sessionurl]do=addsubscription&f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></div></if> <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></div> </div> </td> <!-- / forum tools --> <!-- search this forum --> <td class="alt1"> <form action="search.php?do=process" method="post"> <div class="smallfont"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <strong>$vbphrase[search_this_forum]</strong> :<br /> <input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br /> <a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a> </div> </form> </td> <!-- / search this forum --> </tr> </table> <br /> <!-- / controls for non-popup browsers --> </if> <if condition="$show['ajax_js']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- vB_AJAX_Threadlist_Init('threadslist'); //--> </script> </if> <!-- ############## END THREADS LIST ############## --> </if> $forumhome_markread_script <if condition="$show['popups'] AND $show['forumsearch']"> <!-- forum search menu --> <div class="vbmenu_popup" id="forumsearch_menu" style="display:none"> <form action="search.php?do=process" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / forum search menu --> </if> <!-- icon key --> <if condition="$show['threadslist']"> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/thread2_new.gif" alt="$vbphrase[new_posts]" border="0" /></td> <td class="smallfont">$vbphrase[new_posts]</td> <if condition="$vboptions['usehotthreads']"> <td><img src="$stylevar[imgdir_statusicon]/thread2_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td> <td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td> <else /> <td colspan="2"> </td> </if> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/thread2.gif" alt="$vbphrase[no_new_posts]" border="0" /></td> <td class="smallfont">$vbphrase[no_new_posts]</td> <if condition="$vboptions['usehotthreads']"> <td><img src="$stylevar[imgdir_statusicon]/thread2_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td> <td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td> <else /> <td colspan="2"> </td> </if> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/thread2_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td> <td class="smallfont">$vbphrase[thread_is_closed]</td> <if condition="$show['dotthreads']"> <td><img src="$stylevar[imgdir_statusicon]/thread2_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td> <td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td> <else /> <td colspan="2"> </td> </if> </tr> </table> <else /> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum3_new.png" alt="$vbphrase[contains_new_posts]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_contains_new_posts]</td> <td><img src="$stylevar[imgdir_statusicon]/forum3_old.png" alt="$vbphrase[contains_no_new_posts]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td> <td><img src="$stylevar[imgdir_statusicon]/forum3_old_lock.png" alt="$vbphrase[a_closed_forum]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td> </tr> </table> </if> </body> </html> |
#2
|
||||
|
||||
My guess is that the space is caused somewhere here:
Code:
<tr valign="bottom"> <td class="main_tcat_left"><img src="{IF}/tcat-bl.png" alt="" border="0" /></td> <td width="100%" style="padding-bottom:12px"> I suggest that you copy the entire code, put it on editpad and save. Then in your FORUMDISPLAY template start removing codes little by little starting with the area I posted above. Use the copy and paste method so if the results are horrible or no change occured you can always paste the code back. Generally I make wide spaces around the codes I'm editing so I can navigate back to it easily. I also tend to wrap my codes with: Code:
<!-- editing here --> code to edit here <!-- / editing here --> That way I can also check where I've been editing. Just a few tips for troubleshooting. |
#3
|
||||
|
||||
Thanks for the tip Freesteyelz. I'll give it a try. And thanks for the reply.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|