TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 391
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 509
  • Total: 510
  • lurkalot

Membergroup permission for viewing articles

Started by aeon, October 31, 2007, 11:34:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aeon

Is there any way to limit which membergroups can view each article/category? For example I don't want guests to be able to view most of the articles.

Hairy

The only way I know how to do that is by using PHP articles and using the code explained here: http://www.tinyportal.net/index.php?topic=12898.0

You can have the article show the content for particular groups and make it give a different message to everyone else example: "Sorry, this article is restricted to x members only"

Cheers

aeon

Thanks for the quick reply. This is very useful.

Hairy

No problem aeon

The menu Thurnok posted in that thread is another thing you might like to use, it uses those conditionals that can be used show the links to your articles also.

That way guests etc. should not even stumble onto those articles in the first place but if they accidently do (they could just randomly change the page number in their browser), then they are setup with conditionals also.

Cheers

qtwre

#4
I've a problem on this..  Here is what happened:

I added some members to certain membergroup, be it newly created group or orginal global moderator; those members can't view the main portal homepage..  Can this be solved?  Normal Guest or full access Administrator seems to be ok..

IchBin

DO NOT cross post and especially hijack another thread with a question that is not related to the OT. Continue in your original post please.

This website is proudly hosted on Crocweb Cloud Website Hosting.