Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2019
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Jun 2019
Posts: 3
We just completed a long overdue update to 7.7.1 and have some formatting issues that we're working on.

Sorry for the obvious question but our entire forum is aligned far to the left without any margin or padding. See here:
http://forums.musicplayer.com/ubbthreads.php/forums/18/1/The_Keyboard_Corner

Any guidance on where to resolve it would be great appreciated.

Thank you.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
It appears to be possibly a right side Island that is not displaying or corrupted..
Try checking your islands and turn them off.
in the cp.
Goto to portal&islands
column layout and hide them all.
Then clear cache in the cp.
That is where I would start

Last edited by Ruben; 06/19/2019 12:32 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2019
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Jun 2019
Posts: 3
Thank you, I'll give that a try.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Looking at the source of your forum it looks like you have some bad HTML displayed (possibly in your HTML includes, CP -> Display -> General -> HTML Includes), as an example:
Quote
<table class="center fw" style="padding:0;margin-top:-5px;">
<tr><td class="body_col fw"><table width="100%" class="t_outer" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" class="t_inner" cellpadding="0" cellspacing="1">
<tr>
<td class="tdheader">
The Keyboard Corner
</td>
</tr>
<tr>
<td class="alt-1">
<tr><td align="center" valign="center" ><IMG SRC="http://www.ex5tech.com/ads/KC_banner_02_new_ani.gif" BORDER="0" ><br /></td></tr>
</td>
</tr>
</table>
</td>
</tr>
</table>

Which looks like the category description, where your banner displays: http://www.ex5tech.com/ads/KC_banner_02_new_ani.gif

You should try disabling any HTML includes or HTML in descriptions, and see if the problem goes away; then if it is the culprit, rewrite your HTML to not have additional misused tags (such as closing cells that are already closed).

Note that out of the box you shouldn't be having these issues (or we'd have several sites complaining of the same problem), so its important to troubleshoot by removing bits of added code until you see what is causing the behavior that you're experiencing.

It is important to also add that any modifications to the out of the box coding is completely unsupported. If you have a developer making changes to php or template files and making changes, there isn't anything we can do to support any 3rd party changes; this includes any coding you add to the HTML includes (as we only support the coding as it comes shipped in the install archive).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Something probably in your html includes somewhere is adding a OAS script plus a right_ad class to your site.
So you need to look at that.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
I see that you are using an extremely old UBB.threads stock Style version.

You may want to update to the equivalent version of that for your current version of UBB.threads. It has several known formatting bugs that have since been squashed.

The style "ubbcentral" you are using is from UBB.threads 7.0. It has been updated and renamed to "UBB70"
https://www.ubbcentral.com/forums/ubbthreads.php/topics/261503/stock-ubb-threads-style-packs

[Linked Image]


The current UBB.threads style is known as "UBB77"
https://www.ubbcentral.com/forums/u...stock-ubb-threads-style-packs#Post262352

[Linked Image]


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
With all that said, I see that you do have some wierd container happening with your current forum body css. Im about to head out for a few hours, but will revisit this topic again when I return. Hopefully then, I can pin point what exactly is causing your page to not expand completely to the 100% width it is set to.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2019
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Jun 2019
Posts: 3
Thanks everyone for the help.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
It looks like you have some additional HTML on your page that is breaking the page layout.

You've included this large block to your header file:

Code
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142333847-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-142333847-1');
</script>
<div style="width: 100%; padding: 5px; text-align:center">



<!------ OAS AD 'Top' begin ------>
<SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Top');
//-->
</SCRIPT>
<!------ OAS AD 'Top' end ------>


</div>

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<!---------
	<td colspan="2" style="padding:0 15px 0 15px;">
	<img src="http://forums.musicplayer.com/images/logos.gif" alt="" width="520" height="84" border="0" usemap="#Map">
	<map name="Map">
			<area shape="rect" coords="-1,0,148,83" href="http://www.musicplayer.com/" alt="Music Player Network Home" title="Music Player Network Home">
			<area shape="rect" coords="156,17,247,60" href="http://www.guitarplayer.com/" alt="Guitar Player Magazine" title="Guitar Player Magazine">
			<area shape="rect" coords="250,18,355,60" href="http://www.keyboardmag.com/" alt="Keyboard Magazine" title="Keyboard Magazine">
			<area shape="rect" coords="358,19,448,62" href="http://www.bassplayer.com/" alt="Bass Player Magazine" title="Bass Player Magazine">
			<area shape="rect" coords="451,19,518,61" href="https://www.emusician.com/" alt="Electronic Musician" title="Electronic Musician">
	</map>
	</td>
------->
<td>
<!------ OAS AD 'Left' begin ------>
<SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Left');
//-->
</SCRIPT>
<!------ OAS AD 'Left' end ------>

</td>
</tr>
</table>
<table class="main_content" width="100%">
<tr><td valign="top">

If you look at the bottom of that block, you will find a new table gets created. Its the table with the defined class name of "main_content".

It begins and then never gets properly closed.


Now if we travel all the way to the bottom of your HTML, you are closing the page with the following code:

Code
</td>
<td valign="top" width="10%" class="right_ad">

<table  cellpadding="0" cellspacing="0">



<tr>
<td>
<!------ OAS AD 'Right' begin ------>
<SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Right');
//-->
</SCRIPT>
<!------ OAS AD 'Right' end ------>

</td></tr>

<tr><td style="background-color:#FFFFFF">
&nbsp;
</td></tr>

<tr><td align="center" style="background-color:#FFFFFF">
<!------ OAS AD 'Right1' begin ------> <SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Right1');
//-->
</SCRIPT>
<!------ OAS AD 'Right1' end ------>
<!------ OAS AD 'Right2' begin ------> <SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Right2');
//-->
</SCRIPT>
<!------ OAS AD 'Right2' end ------>

</td></tr>
<tr><td align="center" style="background-color:#FFFFFF">


</td></tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<td width="10%">&nbsp;</td>
<td width="40%" >
<!------ OAS AD 'Bottom1' begin ------> <SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Bottom1');
//-->
</SCRIPT>
<!------ OAS AD 'Bottom1' end ------>

</td>
<td width="20%">&nbsp;</td>
<td width="30%">
<!------ OAS AD 'Bottom2' begin ------> <SCRIPT LANGUAGE=JavaScript>
<!--
OAS_AD('Bottom2');
//-->
</SCRIPT>
<!------ OAS AD 'Bottom2' end ------>

</td>
</tr>

</td>
</tr>
</table>
</table>
<!----------- JQ 6/18/2019 removing old urchin in order to install new
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1208129-51";
urchinTracker();
</script>

<script type="text/javascript">
  _bizo_data_partner_id = "308"
</script>
<script type="text/javascript">
  var _bizo_p = (("https:" == document.location.protocol) ? "https://sjs." : "http://js.");
  document.write(unescape("%3Cscript src='" + _bizo_p + "bizographics.com/convert_data.js?partner_id=" + _bizo_data_partner_id + "' type='text/javascript'%3E%3C/script%3E"));
</script>
-------->


Right off the bat, I can see a quite obvious error:

Code
</td>
</tr>

</td>
</tr>
</table>
</table>

I would suggest that you revert your additional code back to stock (make a backup of it), and try loading your page again. It should now present itself as you'd expect wink Debug your custom stuff and if you choose, return it back to your page when fixed.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Your custom HTML is whats breaking your main forum page layout.


Go to Control Panel > General > HTML Includes

In the custom "Default Header" section, remove these red-highlighted lines.
[Linked Image]


In the custom "Default Footer" section, remove these red-highlighted lines.
[Linked Image]

EDIT:
If you have made custom headers/footers for each of your forums, you'll need to debug/make fixes to those also.

Last edited by isaac; 06/27/2019 5:33 AM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)