![]() |
Hmm, for some reason that didn't work... should it be AND $forumid == X OR $forumid == X OR $forumid == X OR $forumid == X OR $forumid == X OR $forumid == X ???
Code:
if ($bbuserinfo['userid'] == 0 AND !preg_match("#(google|slurp@inktomi|yahoo! slurp)#si", $_SERVER['HTTP_USER_AGENT']) AND $forumid == 78 AND $forumid == 111 AND $forumid == 108 AND $forumid == 141 AND $forumid == 110 AND $forumid == 129 AND $forumid == 109 AND $forumid == 112 AND $forumid == 150 AND $forumid == 151 AND $forumid == 152 AND $forumid == 153 AND $forumid == 154 AND $forumid == 155 AND $forumid == 156 AND $forumid == 157) |
Yep that was it... I changed the AND to OR and it works now. Thanks!
|
Quote:
|
Quote:
|
i thought of another question is this/can this be used to just "override the visiable but must be registered to view threads" option or is it all hardcoded?
the reason i ask is because i don't want unactive usergroups viewing the threads either. |
Well the above worked great to tell a guest they needed to login but when I'm logged in even as an admin I get the error:
you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. |
Great Hack. Thx
|
Great Hack Gary,
I have a question. With non apache servers the archive is disabled. What is the implecation with this and spiders. |
Quote:
|
Quote:
I probably worded it wrongly. The hack by the way works perfectly. It should be the default setup IMHO. Cheers. |
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|