Log in

View Full Version : [Help] Adding a custom property to usergroup (vb 3.6.8 Patch 2)


kainthedragoonx
01-31-2008, 07:31 PM
Hello!

First off, I wanted to thank the people that made VB. It's awesome! Thanks! Ok enough sucking up! :D

Now to my (probably n00b) question:

I need to add a custom property to the usergroups. It is a Yes/No property that will be used to query against for a mod I am working on. I added the property as a boolean to the usergroup table but am struggling with the modification to the "usergroup.php" page in admincp.

[EDIT] I don't know if this changes anything, but I would like the property to default as "No" or False. I would also like to have the property appear in the Usergroup Options of the Usergroup Manager.

Any thoughts? I looked through a couple dozen of the threads on the forums, as well as searched but could not find anything.


Thank you so much in advanced!

Dismounted
02-01-2008, 04:42 AM
Search keyword: "bitfield" in the Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=184)section. :)

kainthedragoonx
02-01-2008, 05:23 PM
Man, I totally missed that about the bitfields! Thank you so much! Silly n00bs!