The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I want to make user logged in automatically when they go to forums from my website account. BTW: My web application is in ASP.Net and MS SQL Server. How can I do this? Regards, Krunal |
#2
|
||||
|
||||
![]()
You need to set the cookies that vBulletin does. You can find what vBulletin does to log someone in login.php (and follow the breadcrumbs).
|
#3
|
|||
|
|||
![]()
Hi,
I am trying to achieve the same thing. Once the user logs into my website, I want them to be automatically logged in to vBulletin. Using the vBulletin login for my website is not an option for me as I do not want to rewrite the code. I have basically gone through login.php. I am not able to understand certain statements and cannot find any documentation regarding them: What does the following statements in login.php do? - $vbulletin->input->clean_array_gpc - $vbulletin->GPC['vb_login_username'] where is this variable set? - $vbulletin->GPC['logintype'] where is this variable set? - $vbulletin->GPC['cookieuser'] where is this variable set? - $vbulletin->GPC['cssprefs'] where is this variable set? Once I understand the answer to these questions, I think I will be able to handle my requirement. |
#4
|
||||
|
||||
![]()
Once input is cleaned by clean_array_gpc() (the input being GPC - Get, Post, Cookies), it is placed inside an array called "GPC".
![]() |
#5
|
|||
|
|||
![]()
Apologies, but in the code for login.php, I have not seen any of these variables set.
Where are these variables set? My understanding is, I will clean GPC first, and then set all of these variables. Call verify_authentication function followed by process_new_login function and that is it. However, I need to understand where and how these GPC variables are set? |
#6
|
||||
|
||||
![]()
Variables such as $_POST['var1'] get transposed into the GPC array when cleaned by the input cleaner.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|