vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   wierd issue on forum index (https://vborg.vbsupport.ru/showthread.php?t=168382)

ldogg 01-21-2008 03:35 PM

wierd issue on forum index
 
so last night I was trying to insert a random banner next to my header image. I ran into issues with the placement of the banner, and scrapped the idea for now. Then I changed my header image, and I thought all went well. My problem is with the forum index page. there is a 3" blank space on the right side of the page. it forces the scroll bar at the bottom, and when you look at that space there isn't anything there. now here where it's weird. I can accept that I messed something up when I was trying to add the ad banner, but it's only on the index. if I open a section it's fine, go to the gallery. it's fine, go into the arcade, its fine. I am using VBadvanced as my front end CMPS product, and the main page is also fine. Any ideas on what I broke?

Thanks,

Larry

PaulSonny 01-21-2008 03:57 PM

When trying to place the banner, which template did you edit?

Thanks, Paul.

ldogg 01-21-2008 03:59 PM

I was in default style>header.
here is the text from that template
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">

<tr>
<td align="center"><a href="Http://www.thescmas.com"><img src="$stylevar[titleimage]" border="0" alt="The Southern Colorado Marine Aquarist Society" /></a></td>


</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

PaulSonny 01-21-2008 04:02 PM

Can you please post a link to your site to see the problem?

Thanks, Paul.

ldogg 01-21-2008 04:05 PM

<a href="http://www.thescmas.com/forums/index.php" target="_blank">http://www.thescmas.com/forums/index.php</a>

here you go.

PaulSonny 01-21-2008 04:07 PM

Cant seem to view your site.

I get this error message. "Sorry. The administrator has banned your IP address. "

If you haven't do any other template modifications and dont have anything else installed in the header template I would try 'reverting' the template.

Thanks, Paul.

ldogg 01-21-2008 04:13 PM

Well I tried to copy the original version in there, but I will ty it again and see what happens. the wierd things is, it's only on that one page. all the others look ok. is there a template to governs the layout of the forum index?

--------------- Added [DATE]1200939316[/DATE] at [TIME]1200939316[/TIME] ---------------

ok, I reverted what I posted above to this..


<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


same issue.

Grampz 01-21-2008 04:15 PM

It looks to me like your image file is longer than it needs to be causing the forced scroll bar. I would recommend changing the size of the images, and then trying to use the image again. I believe this is what you need to do. I could be wrong. I thought I was wrong once, turns out I was mistaken. :cool:

ldogg 01-21-2008 04:19 PM

haha! ok, I will resize the pic, and see what happens.

PaulSonny 01-21-2008 04:25 PM

Yeah that was my original thought the size of the image, but when he said just that one page?

The Forum home relates to the forum index.

Thanks, Paul.

ldogg 01-21-2008 04:33 PM

no dice. I made the image really small and it's still an issue.

Grampz 01-21-2008 04:40 PM

The first time I looked at your page, I saw what you were talking about. The enlarged banner causing a scroll bar at the bottom. Now, when I look at it again, all of it looks fine. Try clearing your temp files and looking again. Let us know.

ldogg 01-21-2008 04:41 PM

here is the first section from my forumhome template
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<if condition="$vboptions['show_random']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
</table>
<br />
<br />
</if>
<!--Gallery-Addition-->
<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

--------------- Added [DATE]1200941111[/DATE] at [TIME]1200941111[/TIME] ---------------

well, I have cleared my temp data, and the forum index still has the scroll, and blank area on the right side. all of other pages are fine.

--------------- Added [DATE]1200952183[/DATE] at [TIME]1200952183[/TIME] ---------------

recreating the template and moving my Navbar and header info into the new template fixed the issue. no idea what broke the default template.


All times are GMT. The time now is 02:18 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.01062 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete