vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vbulletin integration?? (https://vborg.vbsupport.ru/showthread.php?t=50845)

xpguy 03-26-2003 04:28 PM

vbulletin integration??
 
how do i integrate other scripts with my vbulletin member database?? as i really need to know where to start with this

mr e 03-26-2003 09:21 PM

well, start with requrie(./forumdirectory/global.php); then go from there

Serge 03-31-2003 12:11 AM

Well this is totaly from readying other peoples code to to intigrate temeplets all you would need to do is at the beginning of your scirpt add something like

PHP Code:

$templatesused 

and then you add the lines like

PHP Code:

eval("\$headinclude = \"".gettemplate('headinclude')."\";"); 

as for the members database that is all just a matter or query the database for the right fields which you can figuare out by looking at other peoples code or by looking at the database layout.

EDIT: don't forget the require gobal line. but I believe if all you are using is the members database all you need to do is query the right information but you would have to add the database information and then the connect codes.

Dark_Wizard 04-01-2003 10:43 AM

Hmmm...first off this can be very difficult to get working correctly. The reason I say this is because it depends on how the code is written by the other author. You may have to make code changes in the other script to get it to work correctly with vbulletin and making changes to adapt it to vb's template system.

Can you provide us with info as to what script you want to integrate? We can help you further or at least let you know what your in for if we see it...


All times are GMT. The time now is 01:46 PM.

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.00951 seconds
  • Memory Usage 1,715KB
  • 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_php_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