TinyPortal

Development => Support => Topic started by: MTF95 on May 17, 2008, 02:10:46 PM

Title: Article only viewable by some groups?
Post by: MTF95 on May 17, 2008, 02:10:46 PM
Is it possible to make an articel that only specified groups can see?

Title: Re: Article only viewable by some groups?
Post by: Zetan on May 17, 2008, 02:14:49 PM
With TP 1.0.5, yes. But it is the Category that the Article is in that has the Member Group permissions.
Title: Re: Article only viewable by some groups?
Post by: MTF95 on May 17, 2008, 02:16:17 PM
Okey...

Then I'll find another way, I don't like 1.0.5...
Tried it, but it was too bad.

Is it any otherway to create custom pages viewable only by some groups?
Title: Re: Article only viewable by some groups?
Post by: Zetan on May 17, 2008, 02:27:37 PM
Not at this time, there are topics that explain how to do it in versions prior to 1.0, IchBin posted one that I remember, you'll need to search for it.

And I think it was for hiding from Guests, not permissions for several groups.
Title: Re: Article only viewable by some groups?
Post by: MTF95 on June 01, 2008, 01:12:05 PM
Would it be possible to have a PHP articel, which shows a passwordbox for the member.
If the member enters his/hers right password, and have permissons to enter (Permission set via the PHP code), they'll see the content, if not, they'll be told that only they whit permission may enter?
Just like the admincenter.

Or maybe it would be esier to just create a mod for it....
Title: Re: Article only viewable by some groups?
Post by: Zetan on June 01, 2008, 02:34:21 PM
I think I remember seeing something about passwords in articles, again.. the search can be useful. Or google.

Create a mod for it? With exception to the password, Bloc did.. it's in TP 1.0.5. I think the member group permissions is sufficient, you need to use a password to log in to start with.
Title: Re: Article only viewable by some groups?
Post by: MTF95 on June 01, 2008, 03:46:37 PM
What should I search for? "passwords in articles" didn't work
Title: Re: Article only viewable by some groups?
Post by: Zetan on June 01, 2008, 04:42:56 PM
You found no results?

>> password  article, search results (http://www.tinyportal.net/index.php?action=search2;params=YWR2YW5jZWR8J3wwfCJ8YnJkfCd8MTIsMjUsMTEwLDcwLDY5LDU5LDYwLDkxLDcyLDkyLDkzLDk0LDk1LDk2LDE1LDEwOSwxMjksMTYyLDg5LDE1NCw0NiwxMzMsMTMwLDg1LDY4LDExOCwxMTksMTIwLDEzMSwxNzUsMTE3LDE5NywzNiwzNSwxOTEsMTkyLDE5MywxOTQsMTEzLDksMTUxLDg4LDMxLDExNSw2MywzMiwyNywyNiwyMywyMiwyMSwyMCwxOSwxOCwxNywyOSwxNTUsNzYsMTQ5LDE0NiwxMjIsMTA1LDg0LDgyLDEzNCwxNzEsMTc2LDE4MCwxNTYsMTUyLDEzNiwxMTQsMTA2LDkwLDgzLDgxLDgwLDc5LDc3LDc1LDczLDY1LDExNiwxNTgsMTU5LDE2MywxNjYsMTcyLDE3OCwxODMsMTg3LDE5OCwxNTcsMTM5LDEwOCw3OCw3NCwxNjcsMTg4LDE5NSwxMjcsMTI4LDE2NSwzMCw4LDUxLDEyMSw1OCwxNDMsNTIsMzMsNTAsMTA3LDEyMywxMjQsMTM1LDEzNywxMzgsMTQ0LDE0NSwxNTAsMTUzLDE2MCwxNjEsMTY0LDE2OCwxNjksMTczLDE3NCwxNzcsMTgxLDE4MiwxODQsMTg2LDE4OSwxOTAsMTk2LDE5OSw5OCw5OSwxNDAsMTQ4LDE0MSwxNDIsMTQ3fCJ8c2hvd19jb21wbGV0ZXwnfHwifHN1YmplY3Rfb25seXwnfHwifHNvcnR8J3xyZWxldmFuY2V8Inxzb3J0X2RpcnwnfGRlc2N8InxzZWFyY2h8J3xwYXNzd29yZCBhcnRpY2xl) <<

Do any of those help? I found one that looked like it might.
Title: Re: Article only viewable by some groups?
Post by: MTF95 on June 01, 2008, 05:35:11 PM
Found it, thanks!
Title: Re: Article only viewable by some groups?
Post by: Zetan on June 02, 2008, 06:35:23 AM
 :) did it work?
Title: Re: Article only viewable by some groups?
Post by: MTF95 on June 02, 2008, 12:09:02 PM
Looks so.
I made a articel, but specified only "13". When I tried to view it I couldn't see it, couse "1" wasn't there! So I guess it works.
Title: Re: Article only viewable by some groups?
Post by: Zetan on June 02, 2008, 12:11:01 PM
Good stuff  :up:

I haven't read the topic, so don't know how it works.
Title: Re: Article only viewable by some groups?
Post by: MTF95 on June 02, 2008, 02:28:26 PM
http://www.tinyportal.net/index.php?topic=20771.0