The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Usergroups that are used
I have the permissions working for viewing my custom page:
PHP Code:
Next, I'm trying to completely get out of using a bitfield.xml file for selecting which groups actually appear on my custom page. Right now, my mod adds another column to the usergroup table and the xml file adds the yes/no buttons for each usergroup. That's annoying though because I have to go into each usergroup whenever the mod is installed. I mainly want to make it easier for everyone. The column added to the usergroup table is: showrosteraddpermissions This is the code I currently use to make the selected usergroups appear on my custom page: PHP Code:
So, my question is, how can I change it to use only the usergroups from the new setting variable instead? Here is what the setting looks like in my product.xml file: Code:
<setting varname="showroster_displayed_groups" displayorder="10"> <datatype>free</datatype> <defaultvalue><![CDATA[19,13,24,20,17,18]]></defaultvalue> </setting> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|