vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How do I authenticate a user into vB (https://vborg.vbsupport.ru/showthread.php?t=124364)

denniss 08-19-2006 05:00 AM

How do I authenticate a user into vB
 
vB 3.5.4

Hi, I have a php application that I've developed. I already have my own authentication system.

When a user signs up for my application, I automatically create a vB account for them. But I want to authenticate them so that they can go into vB without being asked for a username and password.

So, they log into my php application, and they can then click on a link that takes them into vB w/o being asked for username and password.

How do I do this?

I can't believe no one knows how to accomplish this.

Billspaintball 08-24-2006 12:30 AM

Try doing it the other way around using the vB login system for your application.

See my sig (simple login) for a sample.

denniss 08-25-2006 04:50 PM

Unfortunately, we'd already had our own authentication code in place before we tried to integrate vB. It'll be some work to rip our ours and use vB. That is an option.

I have authentication into vB working, but it is "cheezy". and not the best way to do things. I basically create a form, populate it with username & password and submit it via javascript to login.php.


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