How to limit # of forums displayed under mainpage categories, pagination, collapse ?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #21
RE: How to limit # of forums displayed under mainpage categories, pagination, collapse ?
(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.

My Blog
02-09-2012 12:56 PM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #22
RE: How to limit # of forums displayed under mainpage categories, pagination, collapse ?
(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.

Thanks again for your help !
02-09-2012 02:17 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #23
RE: How to limit # of forums displayed under mainpage categories, pagination, collapse ?
(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:
1
2
3
4
5
6
7
8
9
10
11
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:
1
2
3
4
5
6
7
8
9
10
11
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.


02-10-2012 01:26 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: