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

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 Hide stats for unregistered / public viewer

More
16 years 8 months ago #27240 by mindriot
Hi folks.

I'd really like to limit displaying of the stats in such a manner that only logged in registered users can see them and theyre hidden for non logged in visitors.

Using Kunena on a private site and I would really like to keep all public viewable items strictly limited.

Anyone have any suggestions or hints?

Thanks.

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

More
16 years 8 months ago #27423 by mindriot
Can anyone offer any advice on this?

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

More
16 years 8 months ago #27498 by skillless
Do you mean something like this ?

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

More
16 years 8 months ago - 16 years 8 months ago #27715 by mindriot
Thanks for the response but thats not really similar.

What I mean is to show all the stats area at the foot of the forum index page to only logged in/registered members, and to not have it shown to public viewers.

Its a private forum and only admin approved registrations can log in, therefore I want to hide all information from public view but leaving a single category and locked message visible for information.

Generally I think this should be a feature anyway as the stats can give away a couple of things about your board you might not wish, such as the total category number listing, it shows the total without adjusting for the number of hidden etc.

I may look at restricting the menu access to registered only and move the information I want to display to another part of the site if what I wish to do is not possible.
Last edit: 16 years 8 months ago by mindriot.

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

More
16 years 7 months ago #27896 by Matias
This can be done by adding one simple check in the beginning of both template/default/plugins/stats/stats.php and frontstats.php:
Code:
if (!$kunena_my->id) return;

I've not tested the code, though..

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

Time to create page: 0.270 seconds