Only First Post Possible To Read For Guests »  Show posts from    to     

Icy Phoenix


Old Support Topics - Only First Post Possible To Read For Guests



TheSteffen [ Wed 13 Apr, 2011 19:06 ]
Post subject: Re: Only First Post Possible To Read For Guests
Hey Informpro,
thanks for your testing.

I saw now that I was testing it with latest SVN version and not IP 1.3
It is very similar but maybe this was the problem.

I fixed it now I little bit different

OPEN viewtopic.php
FIND
Code: [Hide] [Select]
LIMIT " . $start . ", " . $config['posts_per_page'];

REPLACE WITH
Code: [Hide] [Select]
LIMIT " . (($userdata['user_id'] == ANONYMOUS) && ($forum_id == 1) ? 1 : $start . ", " . $config['posts_per_page']);


Do you think this is safe to use?
Thanks for your opinion.


Informpro [ Wed 13 Apr, 2011 19:09 ]
Post subject: Re: [SOLVED] Only First Post Possible To Read For Guests
Oh ! yeah ! sorry. I havn't guessed.

Quote:
save to use?
I suppose you mean "safe" : so yeah, for posts, it's safe. But there's many other ways to get the content. They are listed in a key lang (about self auth) : as "random post", "recent post", and so on.


TheSteffen [ Wed 13 Apr, 2011 19:13 ]
Post subject: Re: [SOLVED] Only First Post Possible To Read For Guests
Yes, thats right... but I dont care about the other options to get the content.

Thanks for your help




Powered by Icy Phoenix