REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] SubForums In Columns
#1
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
Install:
  • 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.

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

What:
* Order subforums in 2 or 3 columns.

Note:
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 ^^

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

Demo:
http://beta.thingiej.be/index.php


Attached Files
.zip   SubForumColumns.zip (Size: 6.02 KB / Downloads: 143)
#2
Good plugin, but how can I change 2 or 3 columns to... 1 column Smile, which is more useful on my board?
#3
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 />';
#4
LeX- Wrote:/.../
Change $comma = ','; into $comma = '<br />';

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

Forum
Subforums: Subforum1
Subforum2

How change code to make this:

Forum
Subforums:
Subforum1
Subforum2
#5
Open forumbit_subforums

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

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

Thanks a lot - works great! Big Grin
#7
Could you make it display the # of threads/posts like here:
http://forums.ffinsider.net/

Big Grin
#8
I could but i wont. Extra queries needed for rather 'useless' information.
#9
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.
#10
Forumlink ?
It only changes the images on depth == 3 (Subforums)


Forum Jump:


Users browsing this thread: 1 Guest(s)