خوش آمدید!

برای دریافت آخرین بروزرسانی‌های افزونه، استایل و ... نیازمند ثبت‌نام در انجمن می‌باشید تا با ما بروز بمانید!

ثبت نام!
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

  • انجمن مجهز به سیستم تشخیص کاربران دارای چند حساب کاربری می‌باشد در صورت مشاهده حساب کاربری شما مسدود میگردد.
پشتیبانی از نسخه های
  1. 2.1
  2. 2.2
نیاز به ویرایش مجوزهای گروه‌های کاربری
  1. هست
Add a permission setting to control who can view the "Staff online" widget.
view-staff-online.png


Staff online is not a separate widget - it is part of the "members_online" widget.

You can turn off the display of Staff online globally via the widget settings, but that means nobody can see it - not even administrators.

You can turn off the display of the entire Members online widget (including Staff online) for specific users using the widget display condition field - but that shows or hides both parts of the widget.

On our sites, we want to discourage users from contacting staff directly for support and want them to use our helpdesk and report management system instead.

Using this permission setting, we can disable the display of Staff online for registered users while keeping it visible to administrators and moderators so the staff know which other staff are online. This also allows us to display the Members online part of the widget to all users, independently to who can view the Staff online component.

Widget configuration:

Make sure that Staff online block is enabled in the Members online widget:
view-staff-online-1.png


If you are restricting the Staff online component to only staff, the limited number of users will justify turning on the "Run dedicated staff query when necessary" option to ensure you get accurate data.

In this case, it is safe to leave it turned on, because it will be disabled automatically for any user who does not have permission to view the staff online list.

However, if you are allowing other larger user groups to also view Staff online, you might want to leave it turned off to save the extra query - but the Staff online list may not be accurate.

If you don't have the "Enable 'Staff online' block" option enabled, there's no point in using this addon, since nobody will see it anyway.

Permissions:

Assuming you are following the "only staff can view the staff online widget" model, then set the "View staff online" permission to "No" for guests and the Registered user group.
view-staff-online-2.png


Then for any user groups you want to have access (eg Administrative and/or Moderating), set permission to Yes.

Note that this permission is linked to the View member lists permission - a user must have both to be able to view the Staff online list.
  • لایک
واکنش‌ها[ی پسندها]: Queen
نویسنده
Roxana
دریافت‌ها
1
بازدیدها
149
اولین انتشار
آخرین بروزرسانی
رتبه‌بندی
0.00 ستاره 0 رتبه‌بندی

فایل‌های بیشتری از Roxana

آخرین بروزرسانی‌ها

  1. v1.0.1 bugfix

    one of the core functions we over-ride in the addon has had its signature change in XF 2.2.x (it...
بالا