View Full Version : interfacing vb with other php
Lionel
12-30-2001, 03:40 PM
Is it possible to use the member base from vb with other php and cgi in order to allow members only to see them?
IcyDeath00
12-30-2001, 10:35 PM
Yes it is possible. I've created a comment system for my site that allows only register vbulletin forum users on my site to post comments. An exmaple can be found @ http://www.ironfist.net/reviews/view.php?id=1
kussie
01-09-2002, 10:42 AM
How did u get round the encryption and stuff?
cause that basiccly what i'm trying to do.
Email me if ya want
Lionel
01-09-2002, 10:53 AM
interfacing with other php was fairly easy with some help.
Doing it with a cgi is a different story. It is possible, but only if you start from scratch. I have been fumbling for two weeks over that and by what I got, it is impossible to do it for existing members since the password is encrypted in MD5.
Unless you have every one update that password thru usercp or click on a link so you could catch that non MD5 yet password and crypt it...
I have a great news system on my site, very powerful, that I will have to give up because of that.
kussie
01-09-2002, 11:04 AM
I think there should have been an option cause i a huge interactive section planned for my site but now everyone has to sign up for that agian :(
IcyDeath00
01-09-2002, 11:31 AM
using PHP its doable.. in CGI? I'm assuming PERL? I'll try it. Drop me a private message or e-mail @ jon@ironfist.net explaining what you are trying to do and I might have some time to help ya out in some way.
Admin
01-09-2002, 11:39 AM
kussie, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.
IcyDeath00
01-09-2002, 11:44 AM
Yeah.. I won't help anyone unless you own a legitimate license to vbulletin....
IcyDeath00
01-09-2002, 03:03 PM
I have successfully written code for both PHP4 and PERL 5 (and they said it couldn't be done...) that tests an entered username and password with that registration files of the installed vbulletin database on the same site. The examples are as follows...
Register at http://www.ironfist.net/forum/
To test the PHP script goto.. and look on the lower middle section for comments...
http://www.ironfist.net/reviews/view.php?id=1
To test the PERL/CGI script goto.. and look on the lower middle section... enter only a username and password..
http://www.ironfist.net/test/index.cgi
If you're interested you may e-mail me.. jon@ironfist.net or drop me a PM here.. I'm not sure if I'll make it publicly available as yet.
Lionel
01-09-2002, 07:40 PM
doing so for a fresh user is very easy.
updating password is doable
implementing it for an entire existing member database is the challenge.
IcyDeath00
01-09-2002, 11:59 PM
First of all.. it doesn't intercept vBulletin's password program and write to a flat file. It reads directly from the vBulletin database. Next up, I have just finished a password change script using PERL 5. it is viewable @ http://www.ironfist.net/test/index2.cgi
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.