- Posts: 10
- Thank you received: 0
Kunena 7.0.9 & Kunena 6.4.14 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.9 [K 7.0.9] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question Personnel text permissions !
- richardcool7
-
Topic Author
- Offline
- New Member
-
Less
More
16 years 10 months ago #31637
by richardcool7
Personnel text permissions ! was created by richardcool7
Is there a possibility that only moderators and administrators may have access to Pesonnel text?
Please Log in or Create an account to join the conversation.
16 years 10 months ago #31642
by Matias
Replied by Matias on topic Re: Personnel text permissions !
Please define "Pesonnel text"..?
Please Log in or Create an account to join the conversation.
- richardcool7
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
16 years 10 months ago #31653
by richardcool7
Replied by richardcool7 on topic Re: Personnel text permissions !
Please Log in or Create an account to join the conversation.
16 years 10 months ago #31658
by Matias
Replied by Matias on topic Re: Personnel text permissions !
OK..
/components/com_kunena/template/default_ex/view.php around line 959:
to:
/components/com_kunena/template/default_ex/view.php around line 959:
Code:
if ($userinfo->personalText != '') {
$msg_personal = kunena_htmlspecialchars(stripslashes($userinfo->personalText));
}
to:
Code:
if (($isAdmin || $isMod) && $userinfo->personalText != '') {
$msg_personal = kunena_htmlspecialchars(stripslashes($userinfo->personalText));
}
Please Log in or Create an account to join the conversation.
16 years 10 months ago #31659
by Matias
Replied by Matias on topic Re: Personnel text permissions !
Or did you mean that only they can set it ->
$uIsAdm || $uIsMod
$uIsAdm || $uIsMod
Please Log in or Create an account to join the conversation.
- richardcool7
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
16 years 10 months ago - 16 years 10 months ago #31669
by richardcool7
Replied by richardcool7 on topic Re:Personnel text permissions !
thank you for your quick response, I tried the soconde code :
is ok for admin but i must set permissions in User Manager of joomla and not in kunena,because i have a moderator in kunena but the personnel text does not show.
Code:
if (($uIsAdm || $uIsMod) && $userinfo->personalText != '') {
$msg_personal = kunena_htmlspecialchars(stripslashes($userinfo->personalText));
}
Last edit: 16 years 10 months ago by richardcool7.
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds