MyBB Hacks

Full Version: Halp! Trying to add side column
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
How can I add these things?  Everything I try to add does not work in the side column??  Are there some variables for latest posts that I can try?  Or any other variables that I could add quick and easy?  LOL
Unfortunately, you need a plugin for that.
In my opinion, displaying the latest posts in front page is a bit hard to "maintain".
I mean, it can be displaying only 'Great!', 'LOL', or other "not meant" words.
I think, it is better for displaying a good threads with a good contents, for example, Latest / featured Wiki / Blog from your Wiki / Blog section (still, you need a plugin for this).

But, I don't know whatever contents displayed in your portal.
Personally (it is only my personal opinion), if I have a "serious" portal page, I will try to not displaying the same section / contents / blocks for Index and Portal.
I prefer to put a different contents between Portal and Index.
For example, If I have a latest threads in my portal, I don't want displaying it again in my index.
Maybe I prefer for displaying, for example, Hot Topics (most views / replies).

It is only my personal opinion Biggrin

BTW, could you post the forum description that have the banner?
You can censor the URL and banner link if you want.
I just want to know why you need to put the valign middle for the bottom rows (where the banner laid).
(01-28-2011 01:52 AM)RateU Wrote: [ -> ]Unfortunately, you need a plugin for that.
In my opinion, displaying the latest posts in front page is a bit hard to "maintain".
I mean, it can be displaying only 'Great!', 'LOL', or other "not meant" words.
I think, it is better for displaying a good threads with a good contents, for example, Latest / featured Wiki / Blog from your Wiki / Blog section (still, you need a plugin for this).

But, I don't know whatever contents displayed in your portal.
Personally (it is only my personal opinion), if I have a "serious" portal page, I will try to not displaying the same section / contents / blocks for Index and Portal.
I prefer to put a different contents between Portal and Index.
For example, If I have a latest threads in my portal, I don't want displaying it again in my index.
Maybe I prefer for displaying, for example, Hot Topics (most views / replies).

It is only my personal opinion Biggrin

BTW, could you post the forum description that have the banner?
You can censor the URL and banner link if you want.
I just want to know why you need to put the valign middle for the bottom rows (where the banner laid).
Good points!  I may forgo the latest topics on index...I did get 2 boxes working from ProStats (if I add anymore, it displays them side by side and ruins the margins)  I might just make another image or maybe a small flash menu to some of the hidden forum features (music player, movie player, etc.)

Here is the code for the banner in forum description:

Code:
<div align="left"><a href="http://www.cjponyparts.com/Default.aspx?utm_source=7173mustangs&utm_medium=forum&utm_campaign=forums

" target="_blank"><img src="http://www.7173mustangs.com/banners/cjpony.jpg"></a></div>


I didn't need to do valign, I found <p> in the codes that I used earlier to space the banner away from the forum name!  LOL!

(01-28-2011 02:10 AM)RocketFoot Wrote: [ -> ]I didn't need to do valign, I found <p> in the codes that I used earlier to space the banner away from the forum name!  LOL!

Biggrin

You have a unique index now Smile
I love it!  Thanks RateU!  BiggrinBiggrin
We do have the Xtdisportal plugin that RateU made - from that you can choose the posts you want to display on index.

http://mybbhacks.zingaburga.com/showthread.php?tid=474
I just noticed a little weirdness in Internet Explorer with my new side bar!  It looks perfect in FireFox but the right column is to wide in IE...

http://www.7173mustangs.com/index.php

Here is the correct spacing in FF:
[Image: dr8b6h.jpg]

And here is the incorrect spacing in IE:
[Image: 11tbrxd.jpg]

Sometimes, the layout totally breaks after a screen refresh in IE!

here is my index template code:

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$ps_header_index}
{$gn}

<table width="100%" border="0" align="center">
<tr>
<td valign="top" width="85%">
{$forums}
{$ps_footer_index}
</td>
<td valign="top" width="15%">

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Google Custom Search
</strong></td>
</tr>
<tr>
<td class="trow1">
<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="007957757079081443050:ry9tf_ln-ii" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="25" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>






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



{$fishhattachment_gallery}
{$custom_status_index}


<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Get VIP Status
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><a href="http://7173mustangs.com/janotas_subscription_page.php"><img src="http://www.7173mustangs.com/banners/vipbox_index.png" border="0"></a></center>
</td>
</tr>
</table>

<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Random Gallery Image
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><a href="http://www.7173mustangs.com/ezgallery.php"><img src="http://www.7173mustangs.com/gallery/rotator.php" border="0" style="max-width:160px;" /></a></center>
</td>
</tr>
</table>

<br />


<ProStats>



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

{$boardstats}
<dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>
	<dt><img src="{$theme['imgdir']}/off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>
	<dt><img src="{$theme['imgdir']}/offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

I checked the side bar contents one by one and none of them seem to be causing this...
I hope someone can spot something I am missing!  I still have a lot of users on IE!  I hate to have a broken forum index...Ouch

Its the attachment gallery - take the collapsible bit off - that will fix it I think. I had a similar issue with my sidebar in IE - when I took all the collapsibles out it worked.
I removed the collapse div but it is still doing it.  I did find that turning the IE compatibility button on fixes it, but it messes a few other things up...mainly the borders around stuff in the members profile page.  IE SUCKS!  LOL

I think I fixed it by adding this to the index page template:

Code:
<meta http-equiv="X-UA-Compatible" content="IE=7" />


This way, the other pages are not affected by putting the site into ie7 mode.

It could also be the size of the images in the bar - IE will render the bar taking the image sizes into account. FF and opera should override that. Or you have padding /margin stuff. This affects the box model.
Pages: 1 2 3
Reference URL's