Hello, [This is with my site and vbulletin] I want to have it so that when someone logs in on my MAIN site, it automatically logs them in to the forums. I have done quite a bit of searching but unfortunately cannot find anything. How can I do this? I have already created the users on the forums using the datamanager. So I can do a simple check on the users username, and just log that in. Any help greatly appreciated.
Been there done that, bought the t shirt, then got ignored for 48 hours. Ha. I didnt get any help unfortunately.
Your problem is not unique and stems from the fact that people love to create parts of websites, but do not consider how they could be integrated into more complex sites. I guess that is why people created CMSes with forums. I do not use VB. But, it will have a user database that could be shared with the rest of your website. In fact, you should be able to create a common registration process using only the VB database. You will just need to change the other scripts to match the database table and column names. The tricky part is that VB apparently sets cookies when people log in. That means that you have to find a way to incorporate that part of the process in your existing registration scheme. I tried searching the VB board and people mentioned the need to include the VB globals file into the rest of the website to make this all come together. Some VB users have clearly solved this problem, but the tone of their responses suggests they are sick and tired of artfully dodging the question.
There's some info on this page that should help you out: http://www.vbulletin.org/forum/showthread.php?t=98009
That doesnt really help. Thats restricting use of users who arent logged in to the forums. I want to allow people to use the forums whenlogged in to my site. The forums should be considered as below my main site login and functions. not the other way round.
Sorry, posted the wrong link. Have a look at these two threads: http://www.vbulletin.org/forum/showthread.php?t=100992 http://www.vbulletin.org/forum/showthread.php?t=115380
Yeah I read that but couldnt make use. Thanks anyay. I think GAF is my best best. 50-100$ could probably solve it!
Your problem is not unique and stems from the fact that people love to create parts of websites, but do not consider how they could be integrated into more complex sites. I guess that is why people created CMSes with forums.
Have your website use vB's user table and when someone registers for your website use vB's system for registering members. It's a small code change that can easily be incorporated into your registration process. Then set the forum cookie when someone logs in to your website.
Just search on vbulletin.com for "forum cookie" and spend a few moments digging through the results. The password value in the cookie is some md5() of the password value in the database plus the user's salt value.
Really? That would be very simple! I have thought about doing that but I heard somewhere that the VB uses something else. It is just: md5( md5('password') + salt); If I recall correctly. I did some research on it about 12 months ago. I do believe that is correct. I will confirm it for future use of people once I find out.