vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   Autologin via URL (https://vborg.vbsupport.ru/showthread.php?t=171682)

Shirley 02-28-2008 09:40 PM

Autologin via URL
 
Is it possible with VBulletin to construct a URL to pass username and password to autologin to one designated account? For the purpose of answering my question, please disregard security issues.

Also, is it possible to construct a URL to autocomplete the To, Subject and Message fields of a PM?

Thanks in anticipation.

Marco van Herwaarden 02-29-2008 04:42 AM

My first response to the first question would be No.

The 2nd should be possible.

Maybe if you tell a bit more of what you are trying to achieve.

nexialys 02-29-2008 04:55 AM

if you deactivate the password securities, it is possible... but you need a valid license to start over..

btw, i see that on vb.com you asked about the url being on a different site... that is impossible... the url would have to detect each user's presence, that means it is connected to the vbulletin database... would mean nothing to code something similar.

Shirley 02-29-2008 12:21 PM

Site 2 is Joomla. www.helenashtonappeal.com

Main site is Joomla and VBulletin with dual login through VBulletin. http://loyaltyshopper.co.uk

We want a link on site 2 that takes a person to the main site where they find themselves logged in to a dedicated account.

Thanks.

nexialys 02-29-2008 12:23 PM

this is different... you will have to share cookies and share the user authentication on both sites... no need of a specific link for that...

Shirley 02-29-2008 09:19 PM

Sorry I am not explaining myself very well.

Person arrives on site 2 which is an an appeal (charity) site. Here they learn that if they click on a certain link they can visit site 1 where they will do their online shopping and commission will be donated to the appeal.

So they never log in to site 2, and I just want them to have to click on a link on site 2 that takes them to site 1 and autologs them into the dedicated account for the appeal.

So, can this be achieved?

Adrian Schneider 02-29-2008 09:22 PM

You would just need a script to handle logging them in with credentials in the URL.

Marco van Herwaarden 03-01-2008 05:41 AM

So person doesn't register or login on both Side 1 & 2, but is still automatically "logged in" to an account?

mhamdi 03-01-2008 10:16 AM

Instead of sending the login/password from the login form and post them with $_POST, you can get them with $_GET from an url like /login.php?username=patata&password=patati

It's possible.


All times are GMT. The time now is 01: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.00934 seconds
  • Memory Usage 1,725KB
  • 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
  • (9)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