Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 link directory...can someone make this?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #117
RE: link directory...can someone make this?
(01-30-2011 05:17 AM)Skiilz Wrote:  
(12-26-2010 10:49 PM)ZiNgA BuRgA Wrote:  No he didn't.  inc/functions_forumlist.php is a MyBB file.
It's something related to this thing?

PHP Code:
1
2
3
4
5
6
7
			if(isset($fcache[$forum['fid']]))
			{
				$forum_info = build_forumbits($forum['fid'], $depth+1);

				// Increment forum counters with counters from child forums
				$forum['threads'] += $forum_info['counters']['threads'];
....


But I don't know how to code it to display the number :/ any tip please!

Somewhat, but as I said, it's not an easy task, which is why you're probably not going to be able to get us to do it (in other words, the best chance of doing it is to try to learn it yourself).
If you do try to do it yourself, you'll need to recursively sum up the counts of all the subforums, if you can figure out how to do that.

Hope that helps.

My Blog
01-30-2011 12:50 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: link directory...can someone make this? - ZiNgA BuRgA - 01-30-2011 12:50 PM

 Standard Tools
Forum Jump: