![]() |
Inserting a "User Profile Field" ?
I'd like to create a plugin that inserts a user profile field, in this case one that is a yes/no selection and appears under the user options. I realize I have to run a query to insert the field into the user table, but then how do you go about registering the field as a variable and using it in showthread/postbit hooks?
If someone could point me in the right direction I'd highly appreciate it. |
I am pretty sure there are some mods that add profile fields to the database. I think it is one related to gender - male/female for the toggle instead of yes/no, but it should still show you how to do it.
|
Quote:
|
Check this mod, they add a profile field automatically, https://vborg.vbsupport.ru/showthread.php?t=257579
|
Quote:
|
Not a problem, hopefully you can figure it out, if not we will go from there.
|
Quote:
|
Good deal, glad it was of a help to you.
|
All times are GMT. The time now is 02:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|