vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Is there a way I can use my vBulletin user table in my own application? (https://vborg.vbsupport.ru/showthread.php?t=191535)

CompiledMonkey 09-22-2008 12:30 AM

Is there a way I can use my vBulletin user table in my own application?
 
I'm trying to build an application as a supplement to my forum. I'd like to take advantage of the user base I already have. How can I easily integrate my application with the user table from vBulletin? Is there any PHP code laying around I can use for this?

Dismounted 09-22-2008 05:32 AM

How do you want to use it?

Marco van Herwaarden 09-22-2008 10:16 AM

See our Articles section.

CompiledMonkey 09-22-2008 01:07 PM

Quote:

Originally Posted by Dismounted (Post 1627487)
How do you want to use it?

Ideally, I want to have custom pages that I have my own PHP code on that uses vBulletin's authentication/user system. So if I already have 1,000 users, they should be able to log in to this page with their existing information and do things. Those things would be saved into my own tables. I'd also like to grab their user ID from vBulletin and store that into my own tables as well.

Dismounted 09-22-2008 01:58 PM

Just include vBulletin's global.php - (basically) everything you need.

Amenadiel 09-25-2008 03:34 AM

it's easier to add extensions to vbulletin instead of haking into vb's auth system to achieve the same.

Indeed, you will tap into many advantages doing the first, like calling the same header and footer with a single line of code-


All times are GMT. The time now is 05:02 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.01082 seconds
  • Memory Usage 1,713KB
  • 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
  • (6)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