MyBB Hacks

Full Version: How to limit # of forums displayed under mainpage categories, pagination, collapse ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(02-09-2012 09:28 AM)akm Wrote: [ -> ]So, actually it appears there is not money involved, just participation on the forum ?
You may wish to read the definition of free software: http://en.wikipedia.org/wiki/Free_software

Also note that it claims to collapse *all* forums, as opposed to select ones.
(02-09-2012 12:56 PM)ZiNgA BuRgA Wrote: [ -> ]
(02-09-2012 09:28 AM)akm Wrote: [ -> ]So, actually it appears there is not money involved, just participation on the forum ?
You may wish to read the definition of free software: http://en.wikipedia.org/wiki/Free_software
Also note that it claims to collapse *all* forums, as opposed to select ones.

Good point.
Am definitely not that conversant in IT terms.
But thought the concept of MyBux was interesting... guess maybe a way to try to get folks to use the forum, who knows ?
Not sure how 'open' the software would be.
But, will definitely be checking any 'plugins' out with forums like this before trying... just like did with xthreads, and think it really helped.
Will keep at it.
(02-09-2012 12:33 PM)akm Wrote: [ -> ]Should only apply to the homepage category display.
And, yes, would like the homepage to open always with categories in a collapsed view... and, if possible, to go back to the collapsed view if the homepage is refreshed.

If you don't mind the categories will be collapsed when the index is refreshed or every times the index is accessed, you can try this:

functions_forumlist.php, find:

PHP Code:
if(isset($collapsed[$collapsed_name]) && $collapsed[$collapsed_name] == "display: show;")
{
	$expcolimage = "collapse_collapsed.gif";
	$expdisplay = "display: none;";
	$expaltext = "[+]";
}
else
{
	$expcolimage = "collapse.gif";
	$expaltext = "[-]";
}


Change it to:

PHP Code:
if(isset($collapsed[$collapsed_name]) && $collapsed[$collapsed_name] == "display: show;")
{
	$expcolimage = "collapse.gif";
	$expaltext = "[-]";
}
else
{
	$expcolimage = "collapse_collapsed.gif";
	$expdisplay = "display: none;";
	$expaltext = "[+]";
}


Personally (only my personal opinion), I prefer to do a template edit (maybe forumbit_depth1_cat) by using a javascript toggle things, like accordion and etc.

Pages: 1 2 3
Reference URL's