MyBB Central

Full Version: [r4] SubForums In Columns
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
MyBB Version: MyBB 1.4
New Settings: 6 [ SubForums In Columns Group ]
New Templates: 0
DB Changes: 0
File Changes: 0
Files: 2
  • ./inc/plugins/sbc.php
  • ./inc/function_forumlist.php [MyBB 1.4.6]
Images: 0
  • Upload ./inc/plugins/sbc.php into your ./inc/plugins/ folder
  • Overwrite ./inc/functions_forumlist.php
  • Go to your PluginManager and Activate the "SubForums In Columns" Plugin.

  • Number of columns
  • Custom On image
  • Custom Off image
  • Custom OffLock image
  • Custom forumbit image width
  • Custom forumbit image height

* Order subforums in 2 or 3 columns.

Originally Made For 1.2.* By Zaher1988; His Copyright Remains
If you deactivate this plugin; be sure you also reupload a fresh copy of ./inc/functions_forumlist.php. Else your index will look a lil' messy ^^

Deactivate 1.2.* version; Upload 1.4 version && activate.

Good plugin, but how can I change 2 or 3 columns to... 1 column Smile, which is more useful on my board?
If you want 1column; just leave it like it was ? =/
Thats one row seperated by comma.
So change the $comma var into a <br />
Open your functions_forumlist.php and find
PHP Code:
                    eval("\$forum_list .= \"".$templates->get("forumbit_depth3"10)."\";");
$comma ', '

Change $comma = ','; into $comma = '<br />';
LeX- Wrote:/.../
Change $comma = ','; into $comma = '<br />';

Thanks for help, but <br /> tag must be added for subforums too.
When I tryed your code:

Subforums: Subforum1

How change code to make this:

Open forumbit_subforums

add a <br /> after {$lang->subforums}
LeX- Wrote:Open forumbit_subforums

add a <br /> after {$lang->subforums}

Thanks a lot - works great! Big Grin
Could you make it display the # of threads/posts like here:

Big Grin
I could but i wont. Extra queries needed for rather 'useless' information.
All right.

Hey, I don't know if this is a bug, but when I change to custom images, it ends up changing the normal images for my boards.
Forumlink ?
It only changes the images on depth == 3 (Subforums)
Pages: 1 2 3 4 5 6 7 8 9