Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not saved category ID - Node BB v0.9.3 #43

Open
thanhhungtn1 opened this issue Jan 14, 2016 · 2 comments
Open

Not saved category ID - Node BB v0.9.3 #43

thanhhungtn1 opened this issue Jan 14, 2016 · 2 comments

Comments

@thanhhungtn1
Copy link

Currently, whatever I entered in the categoryId in setting page not has any effect.
It's still posting articles to catID 1 which is "Announcement" for me. I want it to post into "Comments" category so I changed the category id to 4 but no change. I entered another id which is 2 for example. Still post to the categoryid 1.

@thanhhungtn1
Copy link
Author

In addition, I'm using wordpress.
And when I deleted the post in the category. The comments system still showed up in the articles but cannot posting comments.

@frandiox
Copy link
Contributor

@thanhhungtn1 Did you change the category ID in the admin panel or in the code?
There is a new variable since the last release:

var nodeBBURL = '//your.nodebb.com',
    articleID = '<?php echo the_ID(); ?>',
    categoryID = 1;

Set categoryID it to 0 in order to use what you specified in the admin panel.

About the second problem, check #40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants