This code worked for me.
Code:
if ($bbuserinfo['posts'] < 4000 AND $thread['forumid'] == 35)
{
eval("standarderror(\"".gettemplate("error_notenouoghposts")."\");");
}
My subforum #35 (the Announcement Forum) would not let me view any thread within that forum #35 since I had under 4000 posts. I could still go into the Announcement Forum and see all the threads that were posted, but attemping to read any of them barfed out the error template noted above (which you must create).
Only thing I can say is you have the wrong forumid for the forum you are attemping to view.
If your forums are like this:
The Bar
- General Chit Chat
- Spam stuff
- Hot women
And you want this code to only work for General Chit Chat, it's the General Chit Chat forumid # that you must use and not "The Bar" forumid.
v2.3.0 running here. Works like a charm! Thanks assassin!
Syl...