vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Information in postbit_legacy (https://vborg.vbsupport.ru/showthread.php?t=236013)

AfterWorldForum 02-16-2010 10:25 AM

Information in postbit_legacy
 
Hi all,

Is there any information available or any guides to turn to when I want to add information to the postbit_legacy field?

While searching vb.org I have found numerous references on how to include fields that were added as custom user profile fields, but what if the data I would like to expose resides in different tables than that? Is that at all possible without having to jump through major hoops and taking a hit in performance as a result, or would you advise me to just add an extra field to the user table, and periodically update that (with a cron job, for instance).

Any pointers would be appreciated :-)

Thanks.

Peter

Marco van Herwaarden 02-16-2010 12:34 PM

That will depend on if the data is already available or not. You can start by looking at the $vbulletin array if the info is already loaded there.

AfterWorldForum 02-19-2010 01:53 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1983727)
That will depend on if the data is already available or not. You can start by looking at the $vbulletin array if the info is already loaded there.

Hi Marco, and thanks for taking the time to reply.

It's data coming in through third parties, but manipulated for our purposes. In other words, I doubt it's available in the vbulletin array.

Marco van Herwaarden 02-20-2010 09:05 AM

Then you will need to populate the data yourself first.


All times are GMT. The time now is 09:47 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.02181 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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