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

Question Hide BBCode [URL] for non registered users

More
15 years 11 months ago #45866 by sozzled
I've merged a few discussion topics all relating to this subject so that you can see what other people have suggested.

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

More
15 years 11 months ago #45867 by 360236
Why does my post link to this? This has nothing to do with my question...I know I can hide it via post. But is it possible to hide it via back end or mod. For example, I click "Guest Can View Forums". Then guests cannot view the forums. Is there such a mod or hack that I can use that does it for all posts? Without the hassle of doing it to every post.

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

More
15 years 11 months ago #45868 by sozzled
Replied by sozzled on topic Re: Guest Don't See Links
360236 wrote:

I am asking if there is something that can make it so if a Guest visits my website, and if they click on any post it will say "Please login to view this post" or "Please login to view this link".

So, are you saying that you don't want to hide (that is make invisible) these unspecified links. You just want to somehow "deactivate" them? Hey, I'm just replying to what you wrote, that's all. :S

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

More
15 years 11 months ago #45869 by sozzled
Replied by sozzled on topic Re: Guest Don't See Links
I've thought about your question some more: perhaps what you're asking is "Can I display a list of the topics on my forum, but not allow users to see what's been posted in those topics?" Is that really your question?

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

More
15 years 11 months ago #45871 by 360236
Replied by 360236 on topic Re: Guest Don't See Links
Yes, did my question not sound like that?

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

More
15 years 11 months ago - 15 years 11 months ago #45872 by sozzled
No, your question did not sound anything like that.

Anyway, the answer is that you can't do this without modifying the code; there are (at least) two files that need to be changed to include a test to see if the person viewing the topic is logged-in or not. If the person is not a user, then don't generate the hyperlink.

This will result in another problem, however: how you prevent users guessing the URLs of your half-and-half restricted topics. Eventually these guests will figure out how to access the restricted-but-unrestricted messages directly. You won't be able to outsmart these types without adding some ACL protection that doesn't exist in Joomla 1.5.

Personally, I think we're over-engineering a solution to a non-problem. The easiest way out of this intellectual quagmire is to restrict certain categories to registered, logged-in users (this is what most people do) but that also means that those categories and the topics in them are hidden from guests.

Not easy to solve but at least we've clarified the question. :)
Last edit: 15 years 11 months ago by sozzled.

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

Time to create page: 0.593 seconds