Annnnd I just realized I can probably just make an ajax call to the /api/tags/tagName route and get all the information I need. 👍
SOLVED Where in src/routes/authentication.js does the registration-redirect take place?
I think I found the right file to edit, but I cannot find the right code block to comment out.
@Tom_Rade the redirect takes place here: https://github.com/NodeBB/NodeBB/blob/master/src/middleware/user.js#L236-L249
@Tom_Rade if you want to fix the registration link thing, I think client side JS is a better choice.
I believe the issue is caused by the whole thing being wrapped in a
<label>element. With some jQuery, you should be able to unwrap the terms so the links can be clicked.
It might also be possible to just make changes to templates.
@Tom_Rade you can fix it pretty easily with jQuery, I think. I haven't looked super hard into it.
@PitaJ I've got no experience with jQuery whatsoever. So I would very much appreciate it if you'd look into it. Thanks
Also I build my own NodeBB for Docker with custom plugins and stuff so a change in user.js would be no problem (just an sed command in my build script).