TinyPortal

Development => Support => Topic started by: darkorical on April 11, 2008, 10:26:58 PM

Title: guest and articles
Post by: darkorical on April 11, 2008, 10:26:58 PM
alright I did a search for a way to prevent guests from seeing some articles and found that prior to tp1 it was suggested several times to use if $context ['user']['guest'] and after tp1 .... well there is nothing I found in searches
I attepemted to do the following

made two categories  told one it could only be seen by guests and told the other it could be seen by everyone but guests

made 1 article in each category and told them both to show on front page and set neither to featured.

front page only ever showed the logged in one.

anyone know why?

so I attempted to make two front page blocks for article categories set one to show one category and one to show the other category and removed the permissions from the categories.
told one block to only show to guests and the other to only show to logged in people.
now front page shows nothing.

any suggestions.
Title: Re: guest and articles
Post by: darkorical on April 14, 2008, 02:05:44 PM
anyone have any thoughts on this or am I still missing something?
Title: Re: guest and articles
Post by: darkorical on April 16, 2008, 06:16:26 PM
Alright I'm starting to think this is more of a bug than a support issue so Ill elaborate what I have tried and include pictures.
First I have a category called logged that is supposed to show to everyone BUT guests.
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.neelybanners.com%2Fsmf%2Fbug%2F1.gif&hash=d7f60cec3e2735bc3474aeab63dd8e15fc62ad60)

In that category I put an article, called thank you for logging in. and set it to show on the front page.
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.neelybanners.com%2Fsmf%2Fbug%2F2.gif&hash=876fd123831ecfd609d40d014854b011bd18ccd7)

I set the front page to only show articles
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.neelybanners.com%2Fsmf%2Fbug%2F3.gif&hash=caf33bf7786a0d39d90baa155721b13bff673183)

but when I log out and am considered a guest I still see "Thank you for logging in".
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.neelybanners.com%2Fsmf%2Fbug%2F4.gif&hash=7280ef31991ea710af75e0cc320b5b90bc1c991f)
Title: Re: guest and articles
Post by: G6Cad on April 16, 2008, 06:42:50 PM
when you edit the article what membergroups do you have checked for that single article ?
Title: Re: guest and articles
Post by: bloc on April 16, 2008, 10:01:24 PM
"Allow guests to see news from the news board - even if guest are not allowed to see the board?" - on or off? It might be that.
Title: Re: guest and articles
Post by: darkorical on April 16, 2008, 10:28:57 PM
I don't find anywhere to set member groups for articles.

and I just tried to change the allow guests to see news and it didn't work

also I just noticed that my front page is now called Fpage (the name of the category that is supposed to be showing)
Title: Re: guest and articles
Post by: bloc on April 16, 2008, 10:42:42 PM
It should do that. This might be a bug though, I will try to reproduce it and see what happens.
Title: Re: guest and articles
Post by: darkorical on April 18, 2008, 10:28:34 PM
any any word on this yet
Title: Re: guest and articles
Post by: G6Cad on April 18, 2008, 10:30:41 PM
Will take some time still.
The fix ( if any) will be in the update package, and as always, we cant say or give a time limit
Title: Re: guest and articles
Post by: darkorical on April 18, 2008, 11:07:56 PM
...alright let me put it this way was it determined that it was a bug or am I still doing something wrong.
Title: Re: guest and articles
Post by: G6Cad on April 19, 2008, 12:38:34 PM
Nothing is said about this issue, we have to wait and see what and when Bloc have checked it