2012-05-14, 04:36 AM
e.g. now I have
Index > Category > Forum > Thread
I want
Index > Forum > Thread
Possible?
Index > Category > Forum > Thread
I want
Index > Forum > Thread
Possible?
Remove "category" from navigation breadcrumb
|
2012-05-14, 04:36 AM
e.g. now I have
Index > Category > Forum > Thread I want Index > Forum > Thread Possible?
2012-05-14, 04:46 AM
Remove the following from ./inc/functions.php around line 3300.
No longer involved in the MyBB project.
2019-10-24, 12:52 PM
Hi, this solution is compatible also with mybb 1.8?
I would like to remove "category" forum name from navigation breadcrumb (the second forum name in navigation). Isn't possible edit it only in templates? Thank you
2019-10-24, 01:50 PM
It is not possible to remove a category by jusrt editing templates, because cat and forum are treated as the same variable with no differentiation.
[ExiTuS]
2019-10-24, 02:21 PM
(2019-10-24, 12:52 PM)niere8 Wrote: Hi, this solution is compatible also with mybb 1.8? yes, but it's a code change, not template edit. Install the patches plugin if you don't want to make edits directly. What goes around comes around
2019-10-24, 03:29 PM
(This post was last modified: 2019-10-24, 03:36 PM by [ExiTuS]. Edited 1 time in total.)
A hard PHP code change to remove categories is made in /inc/functions.php (v 1.8.21) line 4458+:
Remove this (second) condition in if statement: to dismiss all categories.Edit I you don't want to heavily modificate your code, you can just replace the 'c' by 'xyz' or any else weird string, that will never be a positive condition. [ExiTuS] |
« Next Oldest | Next Newest »
|