vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding additional profile info into new table: user option on profile page (https://vborg.vbsupport.ru/showthread.php?t=142987)

TheMusicMan 03-24-2007 07:25 AM

Adding additional profile info into new table: user option on profile page
 
Hi All

I am thinking about adding a new table to the vB MySQL database that will store additional information about a user outside of the standard vB profile data and the vB Custom Profile Fields. I would like to present this as a button on the profile pages (somewhere) that the user can click on to take them to this new profile data page.

This new page will then present the additional field information to the user who can populate this page with whatever information they choose to add.

I will then use that data for my requirements.

I want to be able to add the PHP code containing the info for the new data profile fields into a vB plugin called from a hook on the profile page. Is this possible? Is there a hook at that point?

MarkPW 03-24-2007 03:33 PM

This is all pretty straight forward.

If you simply want to add some extra profile data to the standard profiles, use the hook: "member_complete".

TheMusicMan 03-24-2007 03:56 PM

Yup, by and large that's all I want to do. I want to do lot's with that data, but adding additional data to the members profile is all I want to do in this part of the script.

Once it's there, and allowing for members to update and amend this data, I want to manipulate it in certain ways obviously - but that will be the subject of another thread if I need help on that (which I am sure to!!)

Thanks Mark.


All times are GMT. The time now is 07:02 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.01096 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