ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 21,390
- Points
- 823
Reputation:
Hi all,
I'm trying to get a widget to display only if the visitor is in a particular user group and viewing a particular forum.
My current display condition is this:
Getting the first condition to work is fine. But using the second condition, either by itself or in conjunction with the first condition means that the widget never displays.
Editing the
Read more
Continue reading...
I'm trying to get a widget to display only if the visitor is in a particular user group and viewing a particular forum.
My current display condition is this:
$xf.visitor.isMemberOf(19) AND $forum.node_id == 61
Getting the first condition to work is fine. But using the second condition, either by itself or in conjunction with the first condition means that the widget never displays.
Editing the
forum_view
template, I have determined that this is in fact the correct...Read more
Continue reading...