https://www.icyphoenix.com/viewtopic.php?f=35&t=7789&p=52458#p52458
-----------------------------------
TheSteffen
Wed 13 Apr, 2011 19:06

Re: Only First Post Possible To Read For Guests
-----------------------------------
Hey [b]Informpro[/b],
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 [b]viewtopic.php[/b]
FIND
[codeblock]LIMIT " . $start . ", " . $config['posts_per_page'];[/codeblock]
REPLACE WITH
[codeblock]LIMIT " . (($userdata['user_id'] == ANONYMOUS) && ($forum_id == 1) ? 1 : $start . ", " . $config['posts_per_page']);[/codeblock]

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


