Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Sub forum icons
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 4:23 am

Hi Steve,

I could do even better.

In the attached images you are able to see what happens step by step when I turn a forum with unread posts into a subforum.

Cheers

1.jpgImage Enlarger2.jpgImage Enlarger3.jpgImage Enlarger4.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2013 - 10:52 am

well, I just have to apologize again for not being able to run this down...  I feel really bad...  

another generic, vague question that you may not understand what I am attempting to ask... I need to run down the details myself on the question...  but...

have you modified any of the template tags for subforum elements to not 'bubble up' data from the lowest level?  this would be counts ad such...  there are arguments in some of the subforum template functions where you can have the parents include data from the lower level or not...  by default, we include all the lower level forums but some dont want thtat...  not even sure it affects unread status... but wanted to ask...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 11:08 am

Mr Papa said

have you modified any of the template tags for subforum elements to not 'bubble up' data from the lowest level?  this would be counts ad such...  there are arguments in some of the subforum template functions where you can have the parents include data from the lower level or not...  by default, we include all the lower level forums but some dont want thtat...  not even sure it affects unread status... but wanted to ask...

Yes you are correct.

In the beginning of this year you (or maybe Andy) showed me how to hide the lowest level subforum from showing up in the group view. I changed the All nested option from 1 to 0.

  sp_ForumIndexSubForums('allNested=0', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2013 - 11:23 am

well, as a quick test, what happens if you set that back to 1?  I need to look at the code and see if that even matters for unread status (dont know)...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 4:08 pm

Mr Papa said
well, as a quick test, what happens if you set that back to 1?  I need to look at the code and see if that even matters for unread status (dont know)...

I will test and get back to you.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2013 - 5:23 pm

okay. thanks. focusing on the delete issue first.

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 18, 2013 - 9:33 am

Hi Steve,
When i tryed to add the 'allNested=0' argument to the spGroupView.php of my testforum, i found an argument that is used in the latest version of the default theme:

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

thats missing in the spGroupView of my main forum:

sp_ForumIndexSubForums('allNested=0', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

I tryed to add allNested before the new argument:

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

but i supose i am doing something wrong or you simply can not add more than one extra argument, since unreadIcon=sp_SubForumUnreadIcon.png displays as text beside the subforums in groupview.

Take a look at http://sethwire.com/?page_id=6

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 18, 2013 - 10:04 am

Forgot to mention that i replicated the problem.

The subforum icons stoped working at the testforum as well, when i added the allNested argument.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2013 - 11:17 am

if you have multiple arguments, they are just in one string, separated by an & symbol...  so

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

so that is good news...  at least now we know whats causing the stoppage...  I will have to do some research to see if that is by design or changeable...  frankly, with allnested set to 0, that is a flag to not bubble up lower level subforum information to the parent level...  so not really surprised the unread status icons follow that rule too... otherwise, you get mixed data... you would be showing an unread in one instance, but the rest of the data (last post info) wont match...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 21, 2013 - 10:56 am

Mr Papa said

so that is good news...  at least now we know whats causing the stoppage...  I will have to do some research to see if that is by design or changeable... 

Ok, i am crossing my fingers that it´s changeable.

 

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