Does the url property in config.json match the address used to access the site?
Categories/ Parent categories problem
Hi guys, here's my problem. A while back, I set up a section for my website's football predictor league - which is on a Wordpress install, separate from the forum. So I added three "categories" which link to it - they're basically a bank of three links.
I used a category as the "parent" - Predictor League.
Since then, I expanded on how many categories we had for football discussion - adding another two, so we had a category for each football division in Scotland.
So far, so good. However, after adding the new ones, something strange happened - they seemed to adopt the "Predictor League" category as its "Parent category", despite not being explicitly set in the category's settings page. They were still on display on the main forum index.
Today, I added a new "parent" category for the four league forums - "SPFL Forums" - and set all four of my league categories to have that as their parent.
Even before I did though, the new category (SPFL Forums) was also added to the list under "Predictor League".
The parent categories of the two league categories shown in the above images have the Parent Category set as SPFL Forum, like so:
Anyone any inkling as to why this is happening?
P.S. - have a look at the forum yourselves if i'm confusing folk
Forum index: http://www.spflforum.com/
Predictor League: http://www.spflforum.com/category/7/predictor-league
SPFL Forums: http://www.spflforum.com/category/34/spfl-forums
Ahh, that's what's happened to me - when the new dashboard came in, I was playing about with it. Still, even with a parent assigned they remain.
I guess starting a new category for them then doing it the proper way with parent should get rid of it completely.
Should be fixed in https://github.com/NodeBB/NodeBB/issues/3686.
To fix the existing categories with dupe parents, just go to
/admin/manage/categories/<cid>and remove its parent then add the correct parent. Do this for all the categories that have wrong parent/children relationship.
@baris thanks I'll pull it tomorrow from git and fix the categories as you've said. It's not a big problem, more an oddity that occurred - thank you. And I really should raise bugs like this on GitHub!