HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[Resolved] Missing sub-forum links [v9.0.5]

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#95083 (In Topic #18932)
Avatar

Community saint

Awhile back (maybe late v8) I reorganized my forum structure due to a large number of added forums. I created a new forum and added the existing forums under the new one creating sub-forums, reducing the footprint of my forum. The new sub-forums showed up as links under it's forum head. Looked good and no members complained. Life was good and I was happy.  :thumbs:

The new structure looked like this:


Tonight I was looking at doing more changes to the forum and clicked on the edit link to edit the root forum, but changed my mind (after realizing this is not where I wanted to be) and clicked the save button on the edit screen (instead of just using the browser's back button). To my surprise all the sub-forum links had disappeared, but the structure is still the same.

Was there a change recently (v9?) in the forums are displayed that would have caused those links to no longer display?

Or did I find one of those obscure bugs that only I can dig up and only affects my site?  :dry:  :lol:


Steve
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by JeanLiked by sholzy)  
Rating:
#95086
Avatar

Fan in action

This is not a bug, but feature, actually :)

There is a variable called "huge number" related to number of forums. So, if you have more forums than its value sub-forums will not be displayed on the home page because of performances.

However, you can change this variable and your forums will be displayed. I found tutorial here, but this is for pre-v9 releases. I think that there is also a command you can enter into ocCLE, but I haven't try it yet.

Freelancing as a way of life
LoneShooter.com
Back to the top
 
Posted
Rating:
#95088
Avatar

This in OcCLE should do it:

Code

:set_value('max_forum_detail','500');

We'll make it a proper option at some point, in v10 I hope (we need to rearchitect how ocPortal does config options first, because there are getting too many to add with how it currently works). This option is just there to save performance, but to be honest you'd probably not notice a different.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95093
Avatar

Community saint

LoneShooter said

This is not a bug, but feature, actually

There is a variable called "huge number" related to number of forums. So, if you have more forums than its value sub-forums will not be displayed on the home page because of performances.

However, you can change this variable and your forums will be displayed. I found tutorial here, but this is for pre-v9 releases. I think that there is also a command you can enter into ocCLE, but I haven't try it yet.

Thanks for the link! My memory got a kick in the rear after reading that article, and following the two links back to a forum post and a tracker by MitraX. I remember reading that forum post and thinking I'll never have a need for that as I'll never have that many forums. Well, I was at 96 forums and everything was working great… until I added another forum grouping and 6 more forums. So much for thinking I'll never have that many forums.  :lol:


Chris Graham said

This in OcCLE should do it:

Code

:set_value('max_forum_detail','500');

We'll make it a proper option at some point, in v10 I hope (we need to rearchitect how ocPortal does config options first, because there are getting too many to add with how it currently works). This option is just there to save performance, but to be honest you'd probably not notice a different.

Thanks, Chris. I'll give this a try, and if I have any more issues on this I'll post again.

On a muti-site network, does this need to be set on all sites or just the hub containing the forum?


Steve
Back to the top
 
Posted
Item has a rating of 5 (Liked by sholzy)  
Rating:
#95095
Avatar

On a muti-site network, does this need to be set on all sites or just the hub containing the forum?

All sites, if the forum is accessible independently from each site.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: