- Posts: 32
- Thank you received: 1
OS Property support center
question about function checkSpecial
- elkin cano
- Topic Author
- Offline
- Junior Member
-
Less
More
11 years 9 months ago #41368
by elkin cano
question about function checkSpecial was created by elkin cano
hello...
in my site (SPANISH SITE JOOMLA 3)
in the function checkSpecial [common.php (1512) ]
the function check for the name ("Super Users", "Super Administrator", "Administrator", "Manager")
but in mt joomla spanish this profile name are ( Super Usuarios ,Administrador ,Gestor )
i change the funcion to verify by ID groups not by the title...
i hope you check this
bye.
in my site (SPANISH SITE JOOMLA 3)
in the function checkSpecial [common.php (1512) ]
the function check for the name ("Super Users", "Super Administrator", "Administrator", "Manager")
but in mt joomla spanish this profile name are ( Super Usuarios ,Administrador ,Gestor )
i change the funcion to verify by ID groups not by the title...
Code:
$specialArrid= array(8,7,6);
$db->setQuery("Select b.id from #__user_usergroup_map as a inner join #__usergroups as b on b.id = a.group_id where a.user_id = '$user->id'");
i hope you check this
bye.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13435
- Thank you received: 1760
11 years 9 months ago #41375
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: question about function checkSpecial
Hi,
You are correct, that's good solution in case customers don't use English in their site.
Thanks
Dam
You are correct, that's good solution in case customers don't use English in their site.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.