MyBB Community Forums

Full Version: Display forums horizontally
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,
is it possible to display the forums in this way

[Image: forumsk.jpg]

If so which part I have to modify. I've already added the images, I'd like only to put two forums in a line.

Thank you for the support
This might be easier to use column subforums, but for forum i've tried this (attached) unfortunately i couldn't figure out how to "forum order" are specifically placed. i've tried using single forums id and still resulting this twins. Wondering if someone can support this, for simple question how to divide each forum into 2 columns.[attachment=22537]
I'm fairly sure there was a plugin for this Smile
(2011-05-02, 02:28 PM)airborne Wrote: [ -> ]This might be easier to use column subforums, but for forum i've tried this (attached) unfortunately i couldn't figure out how to "forum order" are specifically placed. i've tried using single forums id and still resulting this twins. Wondering if someone can support this, for simple question how to divide each forum into 2 columns.

Thanks guy.

I've tried to do it too and I reached your same result, I don't even know how it works maybe a developer could help us. I'll try to PM some of them

The plugin is only for subforums and not for forums :/. I'm really unlucky -.-
I've tried to modify my template (forumbit_depth2_forum), to display forums in this way

[Image: forumsk.jpg]

I have simply added in forumbit_depth2_forum

<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>

But I obtained this

[Image: attachment.php?aid=22537]

If some developers could help to work it out it would be a great oppurtunity to give mybb a new look. Sorry if I created a duplicate thread, but it seems that in the other section the developers didn't check it :/
Isn't that how you want it...?
You already made one thread about this: http://community.mybb.com/thread-93348.html
(2011-05-02, 06:25 PM)pyridine Wrote: [ -> ]Isn't that how you want it...?

The forums duplicate Wink
(2011-05-02, 06:25 PM)Tom K. Wrote: [ -> ]You already made one thread about this: http://community.mybb.com/thread-93348.html
(2011-05-02, 06:25 PM)pyridine Wrote: [ -> ]Isn't that how you want it...?

The forums duplicate Wink

Forums duplicate, I want differents forum in a line

I know I created a duplicate, but it seems that developers didn't check it.

In this section it seems that there is more support from them

Delete the other one if it creates problem
You're going to have to change the templates more dramatically than that.

Very rough code that you'll need to customise...

Replace forumbit_depth1_cat with:
<div class="tborder" style="width:100%; padding:1px;">
<div class="thead" style="padding:4px;">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong><br />
<span class="smalltext">{$forum['description']}</span>
</div>
</div>
{$sub_forums}
<br />

Replace forumbit_depth2_forum with:
<div class="trow1" style="float:left; width:50%;">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<br />
<span class="smalltext">{$forum['description']}{$modlist}{$subforums}<br />
Threads: {$threads}{$unapproved['unapproved_threads']} Posts: {$posts}{$unapproved['unapproved_posts']}</span><br />
{$lastpost}
</div>
Thanks a lot. I really appreciated it.
I have modified it a bit to put also an image next to the forums.
Up it gives me problem if I click on a subforum or on a forum.

It displays in this way:

[attachment=22552]

Up I need help...
I changed the code in this way because subforum doesn't display properly

forumbit_depth1_cat

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody class="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_forum

<tr style="float: left; width: 50%;">
<td class="trow1">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>
<br/>
<span class="smalltext">
Threads: {$threads} Posts: {$posts} <br/> {$lastpost}
<br/>
</span>
</td>
</tr>

Here the images, that explain better my new problem
[attachment=22558]

[attachment=22559]