Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Remove subforum thread count
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2015 - 10:43 am

Hello Ike,

As you know i am working on a new costum overlay to my forum. I have a lot of subforums and i would like to make a "cleaner" look.

Can you please tell me how to remove the subforum thread count? (see attached image) I want the subforum titles to remain ofcourse.

Thank you in advance!

subforum-count.jpgImage Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:03 am

Hey Meztli, a nice easy one laugh

If you don't already have the spGroupViewDesktop.php file in your child theme's templates > desktop folder you will need to copy it over from Reboot.

Locate the function sp_ForumIndexSubForums on line 141 and add the argument 'topicCount=0'

It should then look like:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&topicCount=0', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));

Should do the trick!

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:20 am

You are my hero Ike. It worked like a charm.

Thank you laugh

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:28 am

No problem, happy to help!

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:33 am

Just one more general question.

I have a hard time finding my way in the overlay. It´s much easier to add the changes to the child theme css. Is there any down side in doing this way?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:47 am

either is fine...  overlay change though can affect a large number of places in the css file... so you may have to change multiple locations in the css file... really just depends on what you want to change as to which is easier...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 11, 2015 - 11:50 am

Thanks Steve.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2015 - 6:18 pm

np. glad to help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79613