Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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 [Merged topic] How to allow guests to be view categories and topic titles but not read the contents?

More
15 years 11 months ago - 15 years 9 months ago #44056 by arpi2390x
So I'm back again with an interesting question.

I want my forum to display the categories in my forum but not the thread or the message (maybe thread titles can remain).
I've tried two ways and I can't really get around it.
First:
I tried to set the categories to be accessible only by registered users in the back-end, which works great accept for the fact that in the Categories list they all disappear (this is what I want, I want those titles to stay there even for guests). I tried looking around for the "if" part which chooses between guest and registered to display the categories but I couldn't find it...sooo that didn't work.
(Here the question would be if anyone can pinpoint me what/where should I modify so that the category titles will stay there but the rest of the forum will be off limits for guest.)
Second try:
I tried altering the message.php with an if [ if ($kunena_my->id <> 0) { do the whole php} else { write something for example "Log in to view"}], that works too, the messages disappear and the Jtext appears.
The only tiny little problem with this is that the message.php is called from another .php which if there are more than one post/messages in that thread will call for message.php X-times [if there are 5 messages message.php will be called for 5 times] or so that is what I think and I think I'm right on that.
So the text that I wanted to write "Log in to view" will appear X times.
If I could find the .php (and the line) where message.php is called for than I could simply modify that .php to do what I want it to do.
I'm guessing theres a foreach in it somewhere in that .php.

Oups...long post, sorry for that.
Can anyone help me out on this one? :)
Thank you all for any reply's!
Have a nice day.

Cheers,
Arpi
Last edit: 15 years 9 months ago by sozzled. Reason: Merged from several discussion; changed subject to improve search relevance

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

More
15 years 11 months ago #44060 by arpi2390x
Well sorry for that but I think I solved it (the second way). :laugh:
I found out that view.php deals with that part, so I added an "if" there. :)
But if anyone can help me with the first way I wanted to try it, that would be great.

Cheers,
Arpi

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

More
15 years 10 months ago #46638 by Kube
You can find the solution? i'm interested also in this feature.

Regards.

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

More
15 years 9 months ago #49059 by joanadarc
Hi, I used to have this option in smf and I miss it a lot on Kunena. I would like to have the main page as a teaser, showing the discussions, but only registered users should be able to read the posts.
How can I do this? :side:

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

More
15 years 9 months ago - 15 years 9 months ago #49066 by Cerberus
The simple answer:

You can not have this feature at the moment..

The long answer

www.kunena.com/forum/132-common-question...roup-privileges-acls

My answer:

J1.5x and K1.5x do not yet support ACLs ( access control lists ) and that is what you are going to need for what you are trying to do but in J1.6 and K2.0 (long way off) ACLs will be added so that restrictions can be better added to who can see and access each catagory of the forum, this includes give certain users extras over standard users, or allowing guests to see but not post.
Last edit: 15 years 9 months ago by Cerberus.

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

More
15 years 9 months ago #49436 by joanadarc
thank you :)

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

Time to create page: 0.284 seconds