DaveM Well-known member Mar 17, 2020 #1 Is there anyway to have a widget only display to a selected usergroup?
tom3 Active member Mar 17, 2020 #2 Yes this is possible, you have to add the following to your widget under Display condition: $xf.visitor.isMemberOf(5) The number represents the ID of the user group, you can change it to your desired one. Upvote 1 Downvote
Yes this is possible, you have to add the following to your widget under Display condition: $xf.visitor.isMemberOf(5) The number represents the ID of the user group, you can change it to your desired one.
DaveM Well-known member Mar 17, 2020 #3 Thomson said: $xf.visitor.isMemberOf(5) Click to expand... Thanks that worked great just as I need it. Upvote 0 Downvote
Thomson said: $xf.visitor.isMemberOf(5) Click to expand... Thanks that worked great just as I need it.