Halp! Trying to add side column
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #1
Halp! Trying to add side column
I am trying to add a side column to my index page in order to show latest status and Lee's attachment gallery...problem is,  I need the forums and the right column to be fluid.  This code makes the right column shrink on smaller res screens and then break margins but the forum column does not shrink!  Here is my code...I'm trying, but I suck at formatting!

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<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}
{$gn}

<table width="100%" border="0" align="center">
<tr>
<td valign="top" width="70%">
{$forums}
</td>
<td valign="top" width="225px">
{$custom_status_index}

{$fishhattachment_gallery}
</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" />
{$fishhattachment_gallery}{$footer}
</body>
</html>


[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-27-2011 06:16 AM by RocketFoot.)
01-27-2011 05:43 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Halp! Trying to add side column
Any screenshot?

01-27-2011 06:17 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #3
RE: Halp! Trying to add side column
http://www.7173mustangs.com/index.php

Looks good on widescreen but not so good on 1024x768!

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-27-2011 06:19 AM by RocketFoot.)
01-27-2011 06:19 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Halp! Trying to add side column
Try resizing the banner in your Market Place forum.

01-27-2011 06:31 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #5
RE: Halp! Trying to add side column
Haha, I didn't even notice that!  Thanks RateU!  

OK...I think I got it now!  

Does it look ok?

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

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-27-2011 07:05 AM by RocketFoot.)
01-27-2011 06:40 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Halp! Trying to add side column
It is better. But still out of margin.
If you really want a big banner there, try to restyle the forums that have banner. You can use template prefix.

01-27-2011 07:08 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #7
RE: Halp! Trying to add side column
(01-27-2011 07:08 AM)RateU Wrote:  It is better. But still out of margin.
If you really want a big banner there, try to restyle the forums that have banner. You can use template prefix.
I'm not sure I follow?  You mean with XThreads?

[Image: gallery_2_628_39582.jpg]
01-27-2011 07:22 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: Halp! Trying to add side column
Yep. A very simple example:
   

Image at the right side (not the MyBB logo)  is 256px.
Banner size is 486px.

Forum 2 and Forum 3 use the same template prefix.
Forum 1 uses default template.

So, it is possible to make it two column (with XThreads).

01-27-2011 07:39 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #9
RE: Halp! Trying to add side column
WOW!  That looks great!  

I made a global temp named mp_forumdisplay_threadlist and copied forumdisplay_threadlist contents with some minor changes to the % but nothing happened.  (I did add the mp_ prefix to the forum)  Do you have the basic example as above that I can start with?

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-27-2011 07:50 AM by RocketFoot.)
01-27-2011 07:47 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #10
RE: Halp! Trying to add side column
You should create mp_forumbit_depth2_forum template, not mp_forumdisplay_threadlist template.
Where you put the advertisement banner?

01-27-2011 08:05 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: