Oct 30 2014 
Support Center » Knowledgebase » How to get more than 5 forums (default) for stats of forums/domains/categories? (only for MF v2)
 How to get more than 5 forums (default) for stats of forums/domains/categories? (only for MF v2)
Solution Please refer read the content of /mf_temp/header_mine.php. There are documents for functions that fetch stats for you. Just need to change params for functions, your stats will be changed.

To change number of top forums will be displayed: change "$top_forums = mf_get_top_forums(5, 'both');" to "$top_forums = mf_get_top_forums(number, 'both');". Replace number with your number, may be 10, 15 or 20, as you see fit. You can replace both with member or post. If you use both, the results will be ordered by number of members and number of posts. If you use member, the results will be ordered by number of member. If you use post, the results will be ordered by number of posts.

To change number of newest forums will be displayed: change "$newest_forums = mf_get_newest_forums(5);" to "$newest_forums = mf_get_newest_forums(number);". Replace number with your number, may be 10, 15 or 20, as you see fit.

To change number of random forums will be displayed: change "$random_forums = mf_get_random_forums(5);" to "$random_forums = mf_get_random_forums(number);". Replace number with your number, may be 10, 15 or 20, as you see fit.

To change number of available domains will be displayed: change "$available_domains = mf_get_domains(5);" to "$available_domains = mf_get_domains(number);". Replace number with your number, may be 10, 15 or 20, as you see fit.

To change number of available categories will be displayed: change "$available_categories = mf_get_categories(5);" to "$available_categories = mf_get_categories(number);". Replace number with your number, may be 10, 15 or 20, as you see fit.

If you get errors after changing params, get help from someone that have knowledge about PHP or you can post on forums, or submit a ticket.


Article Details
Article ID: 28
Created On: Aug 14 2007 10:49 PM

 This answer was helpful  This answer was not helpful

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | News
Language:

Help Desk Software By Kayako SupportSuite