The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I opened showthread.php and found this code which deals with if the user has permission to view the thread:
PHP Code:
So I have this in a plugin: PHP Code:
Any ideas? I don't see any special code to deal with guests only... |
#2
|
|||
|
|||
![]()
It looks like if you pass a user id for the second param you need to also pass a userinfo array as the third param, otherwise it always returns 0. I didn't trace everything all the way through, but you might be able to get away with just passing array('usergroupid' => 1).
|
#3
|
||||
|
||||
![]()
Thanks Kevin, that was exactly right. I needed to pass the that array as the 3rd param. Works now.
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|