MyBB Community Forums

Full Version: Subforum - line limit 1.4.4 (Fixed)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi guys, i need some help with this for MyBB 1.4.4
http://community.mybboard.net/thread-31206.html

Its not working for 1.4.4 Huh

Can someone please tell me what the correct change is? I would like it set to 6 subforums per line.

Thanks! Smile
What's the point of posting this? As soon as a support member comes they are just gonne close this.
Did i post in the wrong section? post can be moved easy if needed.

Sorry, Just looking for some help.. thanks!
No but you are posting 2 threads for the one thing.
i see, well.. you are correct. My bad!
Well, it's here now. No harm done. No sense in me bumping the old thread now ...LOL

Unless they want me to Wink
I have just talked to LeX.. this is what he said to do

Open ./inc/functions_forumlist.php

Find
		foreach($parent as $forum)

Add Above
 		$count = 0; 

Find
					eval("\$forum_list .= \"".$templates->get("forumbit_depth3", 1, 0)."\";");
					$comma = ', ';

Add Below
					++$count;
                   			if($count == X)
                    			{
                        			$comma .= "<br />";
                        			$count = 0;
                    			}

Change X to your needs.


I have tried this and it still does not work.
He said it should. Does anyone have any ideas why its not working for me still?

ok, tried again and almost success.
seams now its only 1 forum section it's not taking affect on.

Tried with firefox and IE.. both the same.
It's set to show 9 sf's per row. Anyone know why its just 1 section thats not working?
Strange, i created all the sf's again, and that fixed the 1 section that was not working.
Now, then i changed the number order of the sf's .. and now its not working again ..LOL

I just don't get why it does this? Is this a database thing causing it?
Its gotta be something like that. It never remembers the above code changes i made.

Please help
Are you trying to only do like 2 or 3 sub-forums in a row? And then in a new row, 2 or 3 more?
Thanks Tom

I have it set to do 10 sf's ..and then start a new line.

So every 10 sf's.. a new line begins
Like this

Main Forum,
Sub Forums: 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
So you have
if($count == 10)
correct? Also, what isn't working, exactly? Is it not working at all, as in putting them in new rows, or is it only working on some and not on others?
Pages: 1 2 3