The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
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.
|
#3
|
||||
|
||||
Thanks, but all of those require a profile field to be created.
|
#4
|
||||
|
||||
Check this mod, they add a profile field automatically, https://vborg.vbsupport.ru/showthread.php?t=257579
|
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
Not a problem, hopefully you can figure it out, if not we will go from there.
|
#7
|
||||
|
||||
Actually that is easier than I thought it was, but it makes perfect sense :up:
|
#8
|
||||
|
||||
Good deal, glad it was of a help to you.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|