vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   API vs. DataManager ? (https://vborg.vbsupport.ru/showthread.php?t=276400)

PleaseHelp 01-03-2012 01:47 PM

API vs. DataManager ?
 
To do a fully-customized integration of vB with an external site, would you use the API to fetch data and the DataManager to post data?

Or would you do it a different way? I'm trying to understand the different elements of vB that would be used in such an integration (without modifying any core files) so that I do it correctly from the start.

Thanks.

LifesGreatestGift 01-03-2012 03:16 PM

I think the API is only meant for mobile implementation :\

PleaseHelp 01-03-2012 04:49 PM

Quote:

Originally Posted by LifesGreatestGift (Post 2283435)
I think the API is only meant for mobile implementation :\

It might be "meant" for that, but from what I can tell it certainly can be used to do a custom integration of vBulletin onto an existing site allowing you to completely control the "look and feel" of every single element of the forum, including what to display and what not to display. That said, it's an API, so it has its limitations.

Is there a better way to individually fetch and post any and every element of vBulletin? The DataManager seems more limited in the "fetching" department although it seems more straightforward and direct for POSTing to the forum, which is why I'm currently looking at a combination of the two to do the full integration and customization job on my pre-existing site.

But I'm wondering if there is a better way?

Any ideas?

LifesGreatestGift 01-03-2012 08:24 PM

include global.php in your script and you have access to quite a bit of the vB stuff. you can query the DB and output whatever you want.

Just an idea.

PleaseHelp 01-03-2012 08:38 PM

Quote:

Originally Posted by LifesGreatestGift (Post 2283506)
include global.php in your script and you have access to quite a bit of the vB stuff. you can query the DB and output whatever you want.

Just an idea.

Thanks. Is there a place where all those functions, methods, and classes are listed that will allow me to access all the vB stuff? All I can find is the page where the functions in function.php are listed, but that's about it.

PleaseHelp 01-12-2012 02:11 AM

Quote:

Originally Posted by PleaseHelp (Post 2283512)
Thanks. Is there a place where all those functions, methods, and classes are listed that will allow me to access all the vB stuff? All I can find is the page where the functions in function.php are listed, but that's about it.

Anyone?

HMBeaty 01-12-2012 02:14 AM

Quote:

Originally Posted by PleaseHelp (Post 2286802)
Anyone?

http://members.vbulletin.com/api/


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