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

Broken profile image Wordpress comments for forum installed in a subdir #80

Open
djensen47 opened this issue Feb 7, 2019 · 1 comment

Comments

@djensen47
Copy link
Contributor

I traced the issue to https://github.com/psychobunny/nodebb-plugin-blog-comments/blob/master/public/lib/wordpress.js#L44

What's happening is that the user.picture value has the forum prefix but the nomalizePost function also prepends the nodeBBUrl which also has the forum subdir.

Profile pics are coming up as /forum/forum/...

@djensen47
Copy link
Contributor Author

I had to resolved this with a URL rewrite rule on my reverse proxy.

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

1 participant