[XenBg] User Custom Widget [Deleted]

Milen

Member
Milen submitted a new resource:

[XenBg] User Custom Widget - Automatically displays a widget with user information in a beautiful way.

After searching for such or a similar widget for my forum but not finding one that worked and was suitable for XenForo 2.3, I decided to try to create a widget that would display user information in a beautiful way. And I succeeded, of course. After two long and painful weeks of learning, testing and error, there is finally a wonderful result.

The add-on requires no settings, no permission requirements, just install it, and it will automatically create a widget that displays user...

Read more about this resource...
 
Nice widget.

Once installed, can I set it to only show to a given user group? and can I set to show in particular areas of the forum rather than forum wide?
 
Nice widget.

Once installed, can I set it to only show to a given user group? and can I set to show in particular areas of the forum rather than forum wide?
I've been thinking about it, and there will be those opportunities soon. Permissions will be added as a start, then the ability to add the widget wherever the administrator wishes.
Nice widget.
Thank you. :giggle:
 
okay, cool... I can see the permission to only show it to a certain group is set in the Display conditions like this $xf.visitor.isMemberOf(123) found it in the thread below, so that thing should work fine assuming the "Display condition" filed is there in your plugin.
 
$xf.visitor.isMemberOf(123)
Yes, it is possible this way, but it is preferable to have an individual setting for each group separately, as with the other permissions. No, Yes, Never, this way it will be easier to set up both for me and for the people who use the add-on. I think there is a pretty easy way, but let me wake up and take a look. :giggle: :coffee:🫶

Edit:
Appearance > Widgets > [XenBg] Custom User Wiidget

And you can change its position to be anywhere you want. You can even add it to two or more different places. I will try and Display condition.
1736845474947.webp
Display condition works :D I am happy when I learn new things. :giggle: In Display condition just put --> !$xf.visitor.isMemberOf(2)
Where the number is, put the ID of the groups you want to see the widget. Example: !$xf.visitor.isMemberOf(0, 3, 4, 5) .,
0 - this is the administrator group, all others are after it.
 

Attachments

  • Екранна снимка 2025-01-14 105934.webp
    Екранна снимка 2025-01-14 105934.webp
    40 KB · Views: 1
Last edited:
Back
Top Bottom