View Full Version : vBulletin login integration
DHDesign
September 10th, 2007, 07:59 PM
i am developing an intranet app for a client who wants a forum integrated into the system for all his users...im looking at vbulletin, but i am not sure if you are able to integrate login systems:
basically once the user logs into my intranet app, we dont want that user to have to also re-login into the vBulletin system...i want to be able to pass the user & pass along to vBulletin so that they are automatically already logged in since they are in the intranet already.
is this possible? any thoughts or advice?
thank you!
DHDesign
September 11th, 2007, 12:33 PM
so no one has any thoughts, ideas, suggestions, anything? :(
what about turning it around and using the vB login system as a platform for the entire intranet app? so when user logs into site, they are actually logging into the vB system (but it wont show that way) and then those credentials will also be used for the app for the rest of the pages?
come on kirupians, i have faith in this site cause i always got responses so quickly and effectively!
simplistik
September 11th, 2007, 12:52 PM
Your best bet on something like this though would be to ask in the vB community. I've seen portal integrations quite a few times, but I think they use some sort of 3rd party app. Do a google search for something like vB portal integration see what happens.
DHDesign
September 11th, 2007, 12:56 PM
thanks simplistik...i tried that already but ended up getting a bulletin where most of the support responses either said that it was possible but they didnt support it or i needed to purchase vB first before getting any real details.
very vague answers actually...i have more faith in the kirupa forum than the actual vb forums! ;)
simplistik
September 11th, 2007, 01:07 PM
:lol: well vB isn't "free" so I suppose if you had an actual licensed version, they may have answers for ya :lol:
My only other suggestion would be to try and disect their login page. When I look at the login fields from this board i see
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=364"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">User Name</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">Password</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
So my thought is, you should be able to take a look at this query:
?do=login which is seemingly contained inside of login.php and adjust it to add one more session unique to your client's product. When I look at the cookies attached to this board I see 12 unique sessions... I'd find in login.php where they are registering those sessions and then just your own session info in there along with it.
DHDesign
September 18th, 2007, 10:24 PM
thanks simplistik...i finally got it after much playing around...im using vB's login structure to also log in the users into the intranet as a whole and the admin will also be able to add users into vB without using vB's add user/register interface.
if anyone needs any info on how this is done, let me know and ill be glad to help out as much as i can (considering im still in the learning phase myself)
hl
September 19th, 2007, 12:05 AM
Usually you can just crossreference with the mysql database and you're dandy. Just use the same user table and same session format.
Looks like you've got it figured out though.
jco872
October 25th, 2007, 05:44 PM
thanks simplistik...i finally got it after much playing around...im using vB's login structure to also log in the users into the intranet as a whole and the admin will also be able to add users into vB without using vB's add user/register interface.
if anyone needs any info on how this is done, let me know and ill be glad to help out as much as i can (considering im still in the learning phase myself)
DHDesign,
I would be incredibly grateful if you could give me some tips on how you did it. I have VBulletin on my site, and users first login to my main site, and then have to login again to VBulletin.
Here is my website: http://www.hi-techtennis.com
Here is my email address: jco872@gmail.com
Thanks!
Jeff
adamscott
January 9th, 2008, 02:21 PM
Please could you forward any information about your development as I have been looking for something along these lines for ages. Like you, I have an intranet portal, and wanted to integrate the forum, but came adrift with the two different logons.
My email is adam(dot)scott(at)1563atc(dot)co(dot)uk.
Kind Regards,
Adam :beam:
vBUser
January 16th, 2008, 09:52 PM
I am desperately looking for some info regarding how to integrate login from my aspx page to automatically login user to vBulletin. The login info (username and password) should be passed onto vBulletin to log the user automatically. It seems a member (DHDesign) has the answer. It would be much appreciated if some help is provided on this. Thanks much in advance!
vBUser
January 16th, 2008, 09:53 PM
Could you forward any info to rsengupta(at)epiccycle(dot)com. Thanks !
simplistik
January 16th, 2008, 09:56 PM
Please note this is not a support forum for vB, so please don't spam with requests about this. The OP is not answering. If you have questions goto the vB website to get actual support.
http://www.vbulletin.com/forum/
http://www.vbulletin.com/support.php
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.