vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Creating custom profile fields with a plugin (https://vborg.vbsupport.ru/showthread.php?t=303503)

zylstra 10-17-2013 06:14 AM

Creating custom profile fields with a plugin
 
Can custom profile fields be created with a plugin? If so, how, and how can the fields be accessed since the field number is not known before installation?

Lynne 10-17-2013 05:26 PM

Yes they can. Try a search in the mods area and find a modification that has done this. I think there is one that does country flags and another that does gender. So, search it out, download the plugin code, and see how they did it.

zylstra 10-18-2013 10:07 AM

I looked at all the top mods for these two keywords and did not find any that created custom fields upon installation. I looked at:

https://vborg.vbsupport.ru/showthread.php?t=117973 no php in this plugin
https://vborg.vbsupport.ru/showthread.php?t=196749 field must be added manually
https://vborg.vbsupport.ru/showthread.php?t=231260 field must be added manually

https://vborg.vbsupport.ru/showthread.php?t=238863 field must be added manually
https://vborg.vbsupport.ru/showthread.php?t=185841 field must be added manually
https://vborg.vbsupport.ru/showthread.php?t=229511 field must be added manually
https://vborg.vbsupport.ru/showthread.php?t=155223 field must be added manually
https://vborg.vbsupport.ru/showthread.php?t=159252 field must be added manually

Digital Jedi 10-18-2013 05:42 PM

This is something I plan on doing with one of my modifications, as well. But I haven't yet looked into it. I have, however, bookmarked this thread for when I'm ready to try it out: Plugin How To - How to add custom field to existing Vbulletin table

zylstra 10-18-2013 07:56 PM

Thanks for that link. I'll look into it.


All times are GMT. The time now is 04:57 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.01004 seconds
  • Memory Usage 1,718KB
  • 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
  • (5)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