vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   [Help] Adding a custom property to usergroup (vb 3.6.8 Patch 2) (https://vborg.vbsupport.ru/showthread.php?t=169280)

kainthedragoonx 01-31-2008 07:31 PM

[Help] Adding a custom property to usergroup (vb 3.6.8 Patch 2)
 
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 section. :)

kainthedragoonx 02-01-2008 05:23 PM

Man, I totally missed that about the bitfields! Thank you so much! Silly n00bs!


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01043 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete