vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   VB4.21 Friend Tables (https://vborg.vbsupport.ru/showthread.php?t=302540)

woodmj 09-22-2013 05:55 PM

VB4.21 Friend Tables
 
Hi, I was just wondering if anybody could point me in the right direction of which tables VB4.21 would write Friends data to and how they join? Many thanks in advance.

Lynne 09-22-2013 07:32 PM

You mean who is your buddy or on your ignore list? That is in the userlist table.

woodmj 09-22-2013 08:08 PM

Hi Lynne, Thanks for that. I was looking over the tables and also noticed usertextfield.buddylist which seems to be a char concat of userids and so wondered if that was linked in someway? and also whether there might be any other tables involved? Looking to import some data so wanted to fully understand any tables/relationships involved before I did it. Appreciate any advice you can give.


Quote:

Originally Posted by Lynne (Post 2447332)
You mean who is your buddy or on your ignore list? That is in the userlist table.


Lynne 09-22-2013 11:42 PM

The items in usertextfield.buddylist are the userlist.relationid (the userids) that are buddies for that user (usertextfield.userid). userlist.type will say buddy and then userlist.friend will say either yes (they are friends) or pending (user hasn't answered the request) or no (they are just buddies). usertextfield.ignorelist is for where the user is on your ignore list and userlist.type will say ignore for that relationship.

(I think that is written correctly.)

woodmj 09-23-2013 07:07 AM

That's just what I was looking for Lynne, many thanks! :)


Quote:

Originally Posted by Lynne (Post 2447368)
The items in usertextfield.buddylist are the userlist.relationid (the userids) that are buddies for that user (usertextfield.userid). userlist.type will say buddy and then userlist.friend will say either yes (they are friends) or pending (user hasn't answered the request) or no (they are just buddies). usertextfield.ignorelist is for where the user is on your ignore list and userlist.type will say ignore for that relationship.

(I think that is written correctly.)



All times are GMT. The time now is 09:24 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.01041 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (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