MyBB Hacks

Full Version: Check if forum have a subforum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to use this?

<if $subforums then>
this forum contains subforums, then show them
<else>
no subforums detect, hide
</if>

i want to show the content if the forum has a subforum only
In which template?
in forumdisplay
inside threadlist, can we?
(03-23-2018 08:17 AM)bekti Wrote: [ -> ]in forumdisplay
(03-23-2018 08:17 AM)bekti Wrote: [ -> ]inside threadlist

Assuming it is forumdisplay template, then your code should works.
Yes but in fact is not,
The code always show to in forum type sub category inside the category
(03-24-2018 09:21 AM)bekti Wrote: [ -> ]Yes but in fact is not,
The code always show to in forum type sub category inside the category

Did you try it in a fresh and clean MyBB installation?
What's your forum URL and the page where it doesn't work?
Reference URL's