The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
HI to all,
I'm creating a mod for a marquee system and I have a problem with the groups who should see the phrase ![]() Hi created an option: PHP Code:
PHP Code:
Example: I enter 6(id for administrators) and I see the phrase; I enter 2, 6 or 2,6 and don't see the phrase ![]() I don't understand why
|
|
#2
|
|||
|
|||
|
I would use the permissionsystem istead of something like this.
I have nothing more, than add-ons where i have to set the permissions in the script or the settings https://vborg.vbsupport.ru/showthrea...ht=permissions |
|
#3
|
||||
|
||||
|
First, you don't use $vbulletin->userinfo or $vbulletin->options[gcm_ug] in templates. It would be $bbuserinfo and $vboptions[gcm_ug]. But, besides that $vboptions[gcm_ug] is an array and I don't think you can treat it the way you did. You may need to explode it in a plugin and then use it.
|
|
#4
|
|||
|
|||
|
Quote:
PHP Code:
Then I put this in my mod file: PHP Code:
PHP Code:
Are they correct? ![]() Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|