Problem with cover img
-
Same here. I can't find any option to allow users changing their cover image. Only admin users can do that for their own profile (not that of others).
-
@baris said:
regular users cant remove cover · Issue #3988 · NodeBB/NodeBB
https://community.nodebb.org/topic/7137/problem-with-cover-img
GitHub (github.com)
Thanks for your quick fix. There is still a bug with
nodebb-theme-persona
in/templates/partials/account/header.tpl
. The condition for the CoverPhoto menu should join with aisAdmin
condition. Unfortunately I couldn't find out how to combine conditions.<!-- IF isSelf OR isAdmin --> ... <!-- ENDIF isSelf OR isAdmin -->
or similar doesn't work. -
@alexschomb Yeah there are no conditionals in the template engine, either have to use a helper or set a variable server side like
isSelfOrAdmin = isSelf || isAdmin;
and then use that single variable in the template.