The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi.
I have placed this piece of code on line 63 in forumdisplay.php PHP Code:
It works fine except that if a guest uses the search function, threads in that forum shows up too and they can just click one of the search results to get access to the forum. How do i prevent that? |
#2
|
||||
|
||||
![]()
well you can add
PHP Code:
but user can always see posts in the searchengine. functions to completly secure vb forums through postcounter isn't so easy, because you have to edit more file. vb3 will have this feature as a built in |
#3
|
|||
|
|||
![]()
Ahh, thanks, that makes it even better, the forum is a "sign up and make some posts to get access to the goods" forum, all can see the forum is there but not all can access it, it's only for the good that the threads show up in a search as long as they cant be accessed.
But, umm, where in showthread.php do i include the line. :lick: |
#4
|
||||
|
||||
![]()
i'd put it after this:
PHP Code:
|
#5
|
|||
|
|||
![]()
Hmm, didnt work, and i did log out first.
I placed the line where you mentioned. |
#6
|
||||
|
||||
![]()
Use $thread[forumid] and not $threadinfo[forumid]
![]() |
#7
|
|||
|
|||
![]()
Just tried that too NTLDR, didnt work either.
|
#8
|
||||
|
||||
![]()
Mmm... are you sure... it should work... Try placing the code ABOVE that piece of code Xenon told you to find.
|
#9
|
|||
|
|||
![]()
Nope, didnt work either Erwin.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|