The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I am new to PHP and vBulletin also so please help me. I am sorry to post this thread at the wrong place at first instance. I hope this is the right place for this thread. I want to make user logged in automatically when they go to forums from our website account. is there anyway, I can do this?? Thanks in advance |
#2
|
||||
|
||||
![]()
1. are you sharing the database of your website and the forums ?? Does the users have the same login info to the website and forum?
2. If no, then I don't think you can do it.. 3. what is the link to your forums and website ?? also the domain should be same as cookies cannot be shared over different domains. |
#3
|
|||
|
|||
![]()
yes, users have the same login info to the website and forum,
any help??? Thanks for replying |
#4
|
||||
|
||||
![]()
what is the link to your forums and website ?? also the domain should be same as cookies cannot be shared over different domains.
try linking your forums from your website like this Code:
http://www.domain.com/forums/index.php?$session[sessionurl] |
#5
|
|||
|
|||
![]()
i am sorry but i m new to all this stuff and couldn't think what to have value of $session['sessionurl']?
I couldn't provide website link as i m just working on testing server right now, but am sending homepage link, which can help u more to understand my problem. www.totalcare.net.au I have two different database for website user and vbulletin forum. I am calling datamanager object as stated in vBulletin manual to create new user to vbulletin database whenever I am creating new user for website database. now I want system like that,-- user should logged in through website login system which is using website_user database. and after getting logged in , whenever user click on the forum button he should be transferred to forums home page with logged in status., I think I need to post username and password to the login.php?do=login page, is it so??? any help?? thanks |
#6
|
||||
|
||||
![]() Quote:
Quote:
Quote:
by the way nice website, looks highly pro ![]() |
#7
|
|||
|
|||
![]()
thanks for the website compliments,
it works for posting username, password and three other feilds on login.php?do=login but the problem is i have to store the password in plain text format somewhere to post it on the login.php page as hidden variable or session variable, and I dont want to do that for security matter. I am looking for something same as calling datamanager object to insert into database, same kind of mechanism or idea to check the username and password and make user logged in. Quote:
I want automatic login so need to use hidden variable here instead of textbox, and it works but storing password in plain text kills me, and also it transfer to the page I go to the forum(history page), I need to have forum index page always when user is transfered to forums from normal website, Thanks |
#8
|
||||
|
||||
![]() Quote:
1. I'd recommend you using vB's database for your website as well so that if the user logs in to your website, he can easily navigate to forums page without losing his session plus your burden of managing 2 databases would be reduced. For this, why don't you create a Deluxe vB User login and access control on non vB pages. This way, you can easily integrate vB's login system on your site. 2. I don't see any register link at your website !! If someone registers at your website, his records get inserted in website's database as well as forums database, right? Is it vice versa? |
#9
|
|||
|
|||
![]() Quote:
for this, we are not providing register facility to anyone else but it is for only admin people or internal staff to make someone register. Quote:
thanks anyways |
#10
|
||||
|
||||
![]()
Wouldn't it just be easier to allow give the Guests the same permissions as Registered Members such as posting and viewing rights? That way it's just as if they are logged in, but minus the security risk of having them muck around the account.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|