The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
Can anyone tell me how to make up an array of ForumIDs in a plugin? I already know how to explode the IDs from a free datatype, I just need the equivalent of is_member_of($this->registry->userinfo, which remarkably I can't find. Or the proper way to do it if there is no equivalent. Ta. |
|
#2
|
||||
|
||||
|
in_array($forumid, $arrayofforumids)
Will be true if $forumid is in your array of forumids. |
|
#3
|
|||
|
|||
|
Thank you very much Paul, that did the trick.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|