A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Remove Post Count from subforum (0)
Aug 18, 2010
4:44 am
Member
Forum Posts: 10
Member Since:
May 5, 2010
Offline

I've been trying to work this out but to no avail.  Is it possible to remove the subforum post count from being displayed next to the subforums, i.e. where it says subforums (0)?

This is because the post/topic counts are now included in the Parent Forum which is what I want.  I have tried changing the sfpagecomponent.php file and remove['topic_count'] however it displays Array next to each of the subforums.

Any help would be most aprreciated.

Thanks in advance.


Aug 18, 2010
5:02 am

SP Master
Forum Posts: 22216
Member Since:
Nov 9, 2008
Online

You should be able to remove it OK. You need to remlove the whole construct – i.e,

' ('.$subforum['topic_count'].')'.

That should do it…

Yellow Swordfish
Aug 18, 2010
5:22 am
Member
Forum Posts: 10
Member Since:
May 5, 2010
Offline

Thank you Yellow Swordfish.  That worked.


Aug 18, 2010
8:20 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

np. glad we could help!

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, steve.engelking
73 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79531

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22211), Mr Papa (23688)