Well i found a solution with the users query :
const axiosInstanceForNativeAPI = axios.create({ baseURL: ENDPOINT_URL, headers: { Authorization: ADMIN_TOKEN_FOR_NATIVE_API }, }); export const getUserByEmail = email => axiosInstanceForNativeAPI.get(`/users?searchBy=email&query=${email}`); export const getUserByUsername = username => axiosInstanceForNativeAPI.get(`/users?searchBy=username&query=${username}`);Post count : how can I meddle with what's counted
-
Hello !
Here's my question : I'd like to know if it's possible (through the acp, a plugin or something) to ignore some categories in the post count that's displayed on people's profiles.
I'd prefer it if the posts made in the administration zone of my forum didn't appear in the stats, so I can keep track of the actual public activity on my forum.
Can anyone help with that ? -
Anyone ?
-
Ah, that's something nobody's ever asked before, actually
the post count is quite baked in to NodeBB's core code, so I don't actually know if there's a way to count only specific categories...
-
@julian Well thank you for your answer anyway
I'll keep checking this topic in case someone comes up with an idea !