I try using the code above to hide from conversation_list, but get error:
Template public:conversation_list_macros: Cannot call method isMemberOf on a non-object (NULL) (src\XF\Template\Templater.php:984)
The code is: conversation_list_macros
I want to do something, but I need your help.
So in /online/ I want to hide (not shown) the users from specific user group (e.x moderators) I used this XF\Option\UserGroup::renderSelectMultiple to select user groups to show in online, all exclude will be hide for all (visitors and...
Hello to all I need help.
In ACP I create the list where we need to show all users with the same custom_title and username.
If a user with username : gaga, have title gaga.
My code is
$username = // what need to put here to get username from each user in list
I need some help with buildLink()
The code above works and linked to the member profile, but I need to redirect to the member profile #about tab.
Please, someone, help to understand how to build a link in xenforo 2.