- پشتیبانی از نسخه های
- 2.2
[CSCN] Moving Staff Tools to Nav Group 1.0.1
در نهایت، تصمیم گرفتم این ویژگی را (که قبلا در تم CSCN-Anniversary منحصر به فرد بود) به یک افزونه مستقل تبدیل کنم. این افزونه نوار کارکنان اصلی XF را به سه قسمت تبدیل میکند:
1. منوی هشدار پیشرفته : برای مدیران، اگر گزارشهای جدید دریافتی یا مواردی در صف تأیید وجود داشته باشد، نماد زنگ به نماد ساعت زنگ دار تبدیل میشود که گردانندگان و مدیران را نشان میدهد. وجود آنها
2. در سمت راست بالای منوی هشدار، پیوندهای ورودی (به عنوان نمادهای نشان دار) گزارش ها و صف تأیید همیشه نشان داده می شوند . // سبک CSS آن به طور خاص در این سبک بهینه سازی شده است تا اطمینان حاصل شود که همیشه در اکثر سبک های شخص ثالث خوب به نظر می رسد.
3. نماد آچار پیچ گوشتی (در سمت چپ نماد منوی کاربر) به عنوان یک دکمه فقط مدیر برای AdminCP عمل می کند.. با این حال، اگر هر افزونهای را با ورودیهای اضافه شده به منوی ناظران نوار کارکنان نصب کردهاید، این نماد آچار پیچ گوشتی نیز در دسترس مدیران قرار خواهد گرفت و منوی کشویی حاوی ورودیهای جدید معرفیشده توسط آن افزونهها را نشان میدهد.
هنگامی که مواردی وجود دارد که توجه ناظران را جلب می کند، نماد منوی هشدار به این شکل است:

و زمانی که چیزی در صف تأیید و صف گزارش وجود ندارد، نماد منوی هشدار به این صورت است:

هنگامی که ماوس را روی نمادهای مدال نگه میدارید، رنگ پسزمینه تغییر میکند. اگر پسزمینه هدر منو را با رنگهای روشن تنظیم کرده باشید (مانند سبک پیشفرض XF 2.x) به سختی قابل توجه است. با پسزمینه سرصفحه منوی تاریک (در وبسایت دوست من با سبک XenTR Revolution نصب شده) به این شکل به نظر میرسد:

در نهایت، تصمیم گرفتم این ویژگی را (که قبلا در تم CSCN-Anniversary منحصر به فرد بود) به یک افزونه مستقل تبدیل کنم. این افزونه نوار کارکنان اصلی XF را به سه قسمت تبدیل میکند:
1. منوی هشدار پیشرفته : برای مدیران، اگر گزارشهای جدید دریافتی یا مواردی در صف تأیید وجود داشته باشد، نماد زنگ به نماد ساعت زنگ دار تبدیل میشود که گردانندگان و مدیران را نشان میدهد. وجود آنها
2. در سمت راست بالای منوی هشدار، پیوندهای ورودی (به عنوان نمادهای نشان دار) گزارش ها و صف تأیید همیشه نشان داده می شوند . // سبک CSS آن به طور خاص در این سبک بهینه سازی شده است تا اطمینان حاصل شود که همیشه در اکثر سبک های شخص ثالث خوب به نظر می رسد.
3. نماد آچار پیچ گوشتی (در سمت چپ نماد منوی کاربر) به عنوان یک دکمه فقط مدیر برای AdminCP عمل می کند.. با این حال، اگر هر افزونهای را با ورودیهای اضافه شده به منوی ناظران نوار کارکنان نصب کردهاید، این نماد آچار پیچ گوشتی نیز در دسترس مدیران قرار خواهد گرفت و منوی کشویی حاوی ورودیهای جدید معرفیشده توسط آن افزونهها را نشان میدهد.
هنگامی که مواردی وجود دارد که توجه ناظران را جلب می کند، نماد منوی هشدار به این شکل است:

و زمانی که چیزی در صف تأیید و صف گزارش وجود ندارد، نماد منوی هشدار به این صورت است:

هنگامی که ماوس را روی نمادهای مدال نگه میدارید، رنگ پسزمینه تغییر میکند. اگر پسزمینه هدر منو را با رنگهای روشن تنظیم کرده باشید (مانند سبک پیشفرض XF 2.x) به سختی قابل توجه است. با پسزمینه سرصفحه منوی تاریک (در وبسایت دوست من با سبک XenTR Revolution نصب شده) به این شکل به نظر میرسد:

Finally, I decided to make this feature (previously exclusive in CSCN-Anniversary theme) into a standalone addon. This plugin turns the XF original staff bar into three parts:
1. The enhanced Alert menu: For Moderators, if there are incoming new reports or approval queue items, the bell icon will be turned into a badged alarm-clock icon indicating moderators & administrators their existence.
2. In the top-right side of Alert menu, the entry links (as badged icons) of reports & approval queue always shown up. // Its CSS style has been specifically tweaked in this style to make sure it always look good in most 3rd-party styles.
3. The wrench-screwdriver icon (to the left of user menu icon) functions as an admin-only button to AdminCP. However, if you installed any add-ons with entries added to the staffbar moderators menu, then this wrench-screwdriver icon will be also available to moderators and will show a dropdown menu containing those new entries introduced by those add-ons.
This is what the alert menu icon looks like when there are things grabbing moderators' attention:
[CSCN] Moving Staff Tools to Nav Group
And this is what the alert menu icon looks like when there's nothing in the approval queue and report queue:
[CSCN] Moving Staff Tools to Nav Group
When you mouse-hover the mod badge icons, there's a background color change. It is barely noticable if you have set the menu header background with light colors (like XF 2.x default style). This is what it looks like with dark menu header background (on my friend's website with XenTR Revolution style installed):
1. The enhanced Alert menu: For Moderators, if there are incoming new reports or approval queue items, the bell icon will be turned into a badged alarm-clock icon indicating moderators & administrators their existence.
2. In the top-right side of Alert menu, the entry links (as badged icons) of reports & approval queue always shown up. // Its CSS style has been specifically tweaked in this style to make sure it always look good in most 3rd-party styles.
3. The wrench-screwdriver icon (to the left of user menu icon) functions as an admin-only button to AdminCP. However, if you installed any add-ons with entries added to the staffbar moderators menu, then this wrench-screwdriver icon will be also available to moderators and will show a dropdown menu containing those new entries introduced by those add-ons.
This is what the alert menu icon looks like when there are things grabbing moderators' attention:
[CSCN] Moving Staff Tools to Nav Group
And this is what the alert menu icon looks like when there's nothing in the approval queue and report queue:
[CSCN] Moving Staff Tools to Nav Group
When you mouse-hover the mod badge icons, there's a background color change. It is barely noticable if you have set the menu header background with light colors (like XF 2.x default style). This is what it looks like with dark menu header background (on my friend's website with XenTR Revolution style installed):