Jump to the post that solved this thread.
Solved: 9 Years, 3 Months, 1 Week ago How to have "Normal Threads" title always appear.
#1
Solved: 9 Years, 3 Months, 1 Week ago
I noticed that with MyBB the "normal threads" title that appears before the normal threads, does not appear unless there are sticky threads causing both "important threads" title and "normal threads" title to appear.

Is there anyway to have the "Normal Threads" title always appear?

I believe it will be a PHP edit but I cannot seem to find where in what file I might need to edit the php...
Reply
#2
Solved: 9 Years, 3 Months, 1 Week ago
Add the following line:


$shownormalsep = true;

at line 1070 of forumdisplay.php.
Regards, Ad Bakker (NL)
Reply
#3
Solved: 9 Years, 3 Months, 1 Week ago
(2015-08-30, 12:12 PM)Ad Bakker Wrote: Add the following line:


$shownormalsep = true;

at line 1070 of forumdisplay.php.

I tried this before but it causes "Normal Threads" to appear before each listed thread.
Reply
#4
Solved: 9 Years, 3 Months, 1 Week ago
(2015-08-30, 05:56 PM)viviannahz Wrote: I tried this before but it causes "Normal Threads" to appear before each listed thread.

I'll have a look. I tested it, but probably with too few threads Blush .


I think the solution is when you change the added line into:

if (!isset($shownormalsep)) $shownormalsep = true;
Regards, Ad Bakker (NL)
Reply
#5
Solved: 9 Years, 3 Months, 1 Week ago
(2015-08-30, 06:03 PM)Ad Bakker Wrote:
(2015-08-30, 05:56 PM)viviannahz Wrote: I tried this before but it causes "Normal Threads" to appear before each listed thread.

I'll have a look. I tested it, but probably with too few threads Blush .

Thank you for being so helpful and friendly Smile  I also tried adding an else case to the if / else conditions that determine when the "normal threads" title bit appears and it caused it to appear for every two threads? Not sure why it does this.

I have figured it out. It repeats because of this code:

LINE 999 foreach($threadcache as $thread)

I placed the boolean value before this and now it appears for every forum without repeating Smile
Reply
#6
Solved: 9 Years, 3 Months, 1 Week ago
Sorry, I saw your reaction after I added my solution to my message. Huh It makes no difference as long as it works. Big Grin
Regards, Ad Bakker (NL)
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)