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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2004, 08:36 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Where's this < br > coming from?

Where's that extra line on top coming from? I'm using vb 2.3.5

Here's my entire "forumdisplay_loggedinusers" template
PHP Code:
<normalfont>Browsing this Forum$browsers</normalfont
And here's the part from the "forumdisplay" template
PHP Code:
<center><table width="723" border="0">
  <
tr>
      <
td width="115" valign="top"><div align="left">$newthreadlink</div></td>
      <
td valign="top">
<
div align="center">$onlineusers</div></td>
      <
td width="215" valign="top"
        <
div align="right">$forumjump</div></td>
  </
tr>
</
table></center

Please help me asap!
Attached Images
File Type: jpg browsing.jpg (18.5 KB, 0 views)
Reply With Quote
  #2  
Old 07-30-2004, 09:18 PM
defi's Avatar
defi defi is offline
 
Join Date: Nov 2003
Location: Florida
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The <br /> is occurring above this code it seems

Code:
<normalfont>Browsing this Forum: $browsers</normalfont>
Reply With Quote
  #3  
Old 07-30-2004, 10:22 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's what i would have thought, but thats my ENTIRE "forumdisplay_loggedinusers" template. There's no < br > or anything above it.
Reply With Quote
  #4  
Old 07-30-2004, 11:21 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove the align in the <td> tag for online users in forumdisplay, and see what happens.
Reply With Quote
  #5  
Old 07-30-2004, 11:58 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^I tried

PHP Code:
<center><table width="723" border="0">
  <
tr>
      <
td width="115" valign="top">$newthreadlink</td>
      <
td valign="top">$onlineusers</td>
      <
td width="215" valign="top">$forumjump</td>
  </
tr>
</
table></center
but no luck......it can't be a template issue. Is it getting it from one of the PHP files?
Reply With Quote
  #6  
Old 07-31-2004, 09:10 PM
Fairclough Fairclough is offline
 
Join Date: Mar 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try pushing it up with some CSS? Like style="padding-bottom: 10px"

I know its kinda crude, but its what I do if somethings not aligned right.
Reply With Quote
  #7  
Old 08-01-2004, 04:11 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I may be wrong but I don't think you'll be able to get rid of it like that. The left cell is defined as being 115px and the right is defined as being 215px with your $onlineusers variable being in the middle; the problem is that $onlineusers is greater than the width available (notice the second line that has the "closed thread icon" extends past the right column). Try removing the 115 length from the left column to see if that helps out.
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 08:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03927 seconds
  • Memory Usage 2,249KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete