PDA

View Full Version : interfacing vb with other php


Lionel
30 Dec 2001, 17:40
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
31 Dec 2001, 00:35
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
09 Jan 2002, 12:42
How did u get round the encryption and stuff?


cause that basiccly what i'm trying to do.

Email me if ya want

Lionel
09 Jan 2002, 12:53
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
09 Jan 2002, 13:04
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
09 Jan 2002, 13:31
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.

Chen
09 Jan 2002, 13:39
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
09 Jan 2002, 13:44
Yeah.. I won't help anyone unless you own a legitimate license to vbulletin....

IcyDeath00
09 Jan 2002, 17:03
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
09 Jan 2002, 21:40
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
10 Jan 2002, 01:59
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