The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm working on adding an option to my admincp so certain usergroups can see a mod I have installed in the postbit. I have the options and everything there, but its not working. What do I need to add?
If possible, please contact me via instant messenger. (AIM, ICQ, MSN, YAHOO) Thanks in advance ![]() |
#2
|
|||
|
|||
![]()
I'm assuming the option looks like this
"enter Usergroup ID's ... [3,6,7]" The field name is "ug_postbit_mod" (Just for example). In the template you would add HTML Code:
<if condition="is_member_of($bbuserinfo, $vboptions[ug_postbit_mod])">
|
#3
|
||||
|
||||
![]()
Thanks, will test this now
![]() No, sorry. That didn't work. I have my settings set like this: Varname: manage_usergroups Setting Group: My Product Menu Product: My Product Title: Allowed Usergroups? Description: Enter your Usergroup ID/IDs to be able to use My Product. Separate groups by commas. (Default is 5,6,7.) Option Code: (blank) Default: 5,6,7 Data Validation Type: Free Validation PHP Code: (blank) Blacklist: No vBulletin Default: Yes I tried HTML Code:
<if condition="is_member_of($bbuserinfo, $vboptions[manage_usergroups])">
|
#4
|
|||
|
|||
![]()
Maybe
HTML Code:
<if condition="is_member_of($bbuserinfo, array($vboptions[manage_usergroups]))">
|
#5
|
||||
|
||||
![]()
Still didn't work
![]() If this helps, it doesn't even show the code to me when my usergroup is entered in the field Anybody? |
#6
|
|||
|
|||
![]()
Setting Group: My Product Menu
You seem to have created a custom settinggroup, are you loading this group in your script? |
#7
|
||||
|
||||
![]()
I would assume it already added it as I added the setting and everything through the debug mode options. If that doesn't do it, how would I go about doing this?
$10 USD via Paypal to whoever can get this to work. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|