Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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

Question Hiding IP

More
16 years 3 months ago #38383 by OurIslamic
Hiding IP was created by OurIslamic
Just wondering, is it possible to hide the IP for moderators on the site? Like, make them visible for only super admins?

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago - 16 years 3 months ago #38386 by sozzled
Replied by sozzled on topic Re:Hiding IP
Yes, it's possible to do this but there is no configuration setting for it. You will have to hack the code and you will have a non-standard, unsupported website. You will probably need to modify the file ../components/com_kunena/template/default_ex/view.php at about line 1038, change
Code:
//Show admins the IP address of the user: if ($is_Moderator) { $msg_ip = $fmessage->ip; }
to
Code:
//Show admins the IP address of the user: if ($uIsAdm) { $msg_ip = $fmessage->ip; }
... but heaven-only-knows why you want to change it. BTW, I haven't tested this. I hope it does what you want.

To the moderators: please move this discussion to Hacks, Tricks and Tips
Last edit: 16 years 3 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #38418 by OurIslamic
Replied by OurIslamic on topic Re:Hiding IP
Thanks, again :). I'll test it out on my test forum and tell you how it goes.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #40277 by mildsilber
Replied by mildsilber on topic Re:Hiding IP
sozzled wrote:

Yes, it's possible to do this but there is no configuration setting for it. You will have to hack the code and you will have a non-standard, unsupported website. You will probably need to modify the file ../components/com_kunena/template/default_ex/view.php at about line 1038, change

Code:
//Show admins the IP address of the user: if ($is_Moderator) { $msg_ip = $fmessage->ip; }
to
Code:
//Show admins the IP address of the user: if ($uIsAdm) { $msg_ip = $fmessage->ip; }
... but heaven-only-knows why you want to change it. BTW, I haven't tested this. I hope it does what you want.

To the moderators: please move this discussion to Hacks, Tricks and Tips


Hello

thats not work on Kunena 1.5.9 :S
please fix

thanks !

K 2.0.1

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #40280 by xillibit
Replied by xillibit on topic Re:Hiding IP
Hello,

Why this doesn't work ?

There are no changes on the file /components/com_kunena/template/default_ex/view.php between K1.5.8 and K1.5.9.

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
16 years 2 months ago #40282 by mildsilber
Replied by mildsilber on topic Re:Hiding IP
hello and thanks for the answer!

I can see my own iP as super-administrator but no other Ip's


Then I'v try this
if ($is_administrator)

but this also doesn't work :side:

K 2.0.1

Please Log in or Create an account to join the conversation.

Time to create page: 0.291 seconds