Zobacz pełną wersję : Uprawnienia w extcalendar
Chciałbym, by dodawanie/edytowanie/usuwanie wydarzeń w extcalendar było dostępne dla userów z rangą publisher. Czy jest to możliwe do zrealizowania ??
Nie chcę dawać admina, bo mi będą w panel administracyjny włazić :-/
Już znalazłem i działa.
In the config.inc.php traffic-jam online 28 swap the first usertype == to Publisher
Change from:
if (!defined('USER_IS_ADMIN ')) define('user_is_admin', ((($my->usertype == ' Administrator) || (# usertype>== ' super Administrator '))? true: false));
Change to:
if (!defined('USER_IS_ADMIN ')) define('user_is_admin', ((($my->usertype == ' Publisher) || (# usertype>== ' super Administrator '))? true: false));
In the extcalendar.php traffic-jam online 279
Change from:
if (# ] || has_priv('Administrator'))
Change to:
if (# ] || has_priv('Publisher'))
vBulletin® v4.2.5, Prawa przedruku © 2024 vBulletin Solutions, Inc. Wszystkie prawa zastrzeżone.
Tłumaczenie: Polskie Centrum Joomla!