The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Vbulletin 'Hacker' PHP Guru required
Hi Guys, I want to add the following features to my website that has a Vbulletin forum on it.
http://www.xboxworld.com.au/ i want to add some features to let users post comments on the news but they obviously need to enter a username and password to avoid anonymous spamming etc and abuse. is it possible to access the Vbulletin members usernames and password data in the Vb database in the forum and use that to let them 'login' to other areas of my site that i create?.. i could easily set this up and have two signup areas and user databases on the site, one to add comments and other stuff i want to add and the other for the forum, but if the forum details can be accessed then i can just use the forum as the membership platform for all site members.. thanks in advance for any feedback! Shane |
#2
|
||||
|
||||
in your non vb-files you can also require the vb global.php then you can check if $bbuserinfo[userid]>0.
if it is > 0 then the user is logged in |
#3
|
||||
|
||||
wow so simple.
so with that it should be pretty simple to build login areas on the other parts of the site that access the Vb database login details then.. but if $bbuserinfo[userid]>0 then i need them to log in, any tips on validating the user via a login form thats on another part of the site as surely its encrypted? nice stuff, thanks heaps for the help so far!! :banana: |
#4
|
||||
|
||||
hmm, you just need to save the special cookies on the users pc, with all the logindetails of the vb-login
shouldn't be to hard if you are a bit experienced with cookies |
#5
|
||||
|
||||
but if the cookie expires or they delete them all for some reason, theyll need to go to the forum, login, then back to the site..
sure there isnt some way to create login areas in other areas of the site that access the forum database for validation? thanks for the advice so far as well!!! -shane |
#6
|
||||
|
||||
well, you can try to use $logincode in your nonvb site when you have included global.php.
i never used it, but i think it might work |
#7
|
||||
|
||||
Either that or you can just use HTML Code to make a form that points to member.php
Satan |
#8
|
||||
|
||||
ahhh well that certainly sounds easy!!
got a example of a form anywhere that does that? |
#9
|
||||
|
||||
Just search for "member login from a non vb page" or something along those lines.
|
#10
|
||||
|
||||
cool. thanks a heap guys. way cool! do you know of any sites that do this already?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|