vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem with external login (https://vborg.vbsupport.ru/showthread.php?t=185965)

Kaitlyn2004 07-21-2008 08:04 PM

Problem with external login
 
I have my own user database and "log" them into vBulletin by inserting them into session and setting cookies accordingly (sessionhash, lastactivity, lastvisit, and userid/password if they have "remember me")

This all seems to work fine.. I can get to the forums, shows I am logged in, I can view member-only forums, can post... BUT when the post is displayed, it has the correct username but indicates they are a guest.

Where am I going wrong with this? Obviously it should not show that they were a guest that posted...

Dismounted 07-22-2008 06:01 AM

Are you sure it only happens when they log in from the external authentication?

SLR722 07-23-2008 05:43 AM

Hello

How do I include an external login on the non vB-pages. Would I have to just send and post the data through HTML or do I need to call PHP to get the md5 sums and hidden form data sent along too..

Dismounted 07-23-2008 08:52 AM

Just copy the login form from the navbar into your HTML file. Nothing is needed to be done unless you are bridging two systems.

SLR722 07-23-2008 04:22 PM

Will nonvb.html submit the data using the md5 hash via client JavaScript and will it return back to nonvb.html with Login information? Can I call anything on that page so load external Private Messages feeds or Your Subscriptions list using this? Would I have to call it and how?

Dismounted 07-24-2008 06:53 AM

Quote:

Originally Posted by SLR722 (Post 1582420)
Will nonvb.html submit the data using the md5 hash via client JavaScript

Yes, if you are using the navbar's code.
Quote:

Originally Posted by SLR722 (Post 1582420)
will it return back to nonvb.html with Login information?

Don't know what you're saying there.
Quote:

Originally Posted by SLR722 (Post 1582420)
Can I call anything on that page so load external Private Messages feeds or Your Subscriptions list using this? Would I have to call it and how?

No. You will have to include global.php to fetch that data.


All times are GMT. The time now is 10:08 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.01670 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
  • (3)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