MyBB Community Forums

Full Version: What is the forum thread count link ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to add forum thread count link in some page.

[Image: 2957349.png]

All forum name with their thread count link...

For forum name I can give the direct link like

MYBB1.6 General Support (6144)

Like this, But this thread link should get changed as thread increases in forum.

I think just my guess I have to add this beside my forum link
{$threads}{$unapproved['unapproved_threads']}

Like this:-
[url=http://community.mybb.com/forum-127.html]MYBB1.6 General Support[/url] {$threads}{$unapproved['unapproved_threads']}

But than this is not working, as I have not specified which thread count... How can I do this, as i wanted to add my 3 forum thread count...

It just shows up..like this
MYBB1.6 General Support ()

MYBB1.6 Plugin Support ()

MYBB1.4 General Support ()

there is no thread count there. its blank

Hope this was clear...

THanks





Do you mean to show Thread/Post counts in front of Category name ?
not infront of category name but beside of each forum with their thread count link.

Like this

MYBB1.6 General Support (6144)

Forum name and link beside how many threads has been made that thread count...

Thanks
Alright, Go to: ACP Templates > Your theme's Templates > Forum Bit Templates > forumbit_depth2_forum > and find;
<strong><a href="{$forum_url}">{$forum['name']}

and add the following code just after that;
 ({$threads}{$unapproved['unapproved_threads']})

Save template. It should look like this;
[attachment=22119]
Do you mean like this...
[url=http://community.mybb.com/forum-127.html]MYBB1.6 General Support[/url] {$threads}{$unapproved['unapproved_threads']}

But will that work, If I add this in my different page and not in forumbit_depth2_forum. I want to give this link somewhere else...I was just confused how it will identify which forum thread to be counted..

If I give like this:-
[url=http://community.mybb.com/forum-127.html]MYBB1.6 General Support[/url] {$threads}{$unapproved['unapproved_threads']}

[url=http://community.mybb.com/forum-147.html]MYBB1.6 Plugin Support[/url] {$threads}{$unapproved['unapproved_threads']}

[url=http://community.mybb.com/forum-81.html]MYBB1.4 General Support[/url] {$threads}{$unapproved['unapproved_threads']}

and I want result to be this:-
MYBB1.6 General Support (6144)

MYBB1.6 Plugin Support (242)

MYBB1.4 General Support (15307 )

Like I am making 1 different php page and I want to give these links there.

Thanks


Edit:-
I tried... it Its not giving same result...

It just shows up..like this
MYBB1.6 General Support ()

MYBB1.6 Plugin Support ()

MYBB1.4 General Support ()

there is no thread count there. its blank
Is anyone helping me in this...
Where are you trying to add this?
In my other site as reference link....
and may be in portal page too...
(2011-03-30, 09:53 AM)grave Wrote: [ -> ]In my other site as reference link....
and may be in portal page too...

You'd need a plugin to do this.
Can any one tell me what could be the query to run and store in database, I may try my first hand on plugin... I know complete Basic and little advanced php and have good command over MYSQL too, So I may try, if i get some hint to start.


Thanks
Or if someone can tell me, where can i find the place how this thread count works in forum..

please and
Thanks
bump ! can anyone help me with my this post.
(2011-03-30, 05:25 PM)grave Wrote: [ -> ]Can any one tell me what could be the query to run and store in database, I may try my first hand on plugin... I know complete Basic and little advanced php and have good command over MYSQL too, So I may try, if i get some hint to start.

Thanks
Or if someone can tell me, where can i find the place how this thread count works in forum..

please and
Thanks