Hi
The following SQL query will fetch who replied to any thread.
SELECT DISTINCT xf_post.user_id,
xf_post.username, xf_user.user_group_id
FROM xf_post, xf_user
WHERE thread_id = ?
AND xf_user.user_id = xf_post.user_id
ORDER BY user_id ASC
I want to...
I am trying to hide post username if he is a member of certain user group
The following conditional statement is working in template "post_macros" but with error "Template error: Cannot call method isMemberOf on a non-object (NULL)"
<xf:if is="$post.User.isMemberOf([x,y,z])">
<xf:macro...