The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add if rule in the plugin
Hello ,
I just would like to know how i can put this if rule inside plugin , <if condition="$show['member']"> include a file for example </if> maybe you will tell me to use is rules , is the below right ? if (is_member_of($vbulletin->userinfo, 1)) (The group of guests) { //return empty result } else { include } Thanks , Zi5 --------------- Added [DATE]1262351928[/DATE] at [TIME]1262351928[/TIME] --------------- Please help |
#2
|
||||
|
||||
Your second should work in most hook locations:
PHP Code:
|
#3
|
|||
|
|||
why not use
PHP Code:
|
#4
|
||||
|
||||
Probably could do either.
|
#5
|
|||
|
|||
Lynne & ragtek
Thanks for yours reply , your rules works for guests , if i use this if (!$show['member']) in plugins it will work ? Thanks , Zi55 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|