PDA

View Full Version : Write Member Info to 2nd Database?


petermw
10-30-2002, 02:10 PM
This is a hack that I think would be pretty useful to people running more than one related board:

When a user signs up as a member of one board, the hack would write their information (username, password etc) to the DB of another board so that they would automatically be registered at both. THIS IS DIFFERENT than the suggestion to have two baords share one db. This hack would serve only to sign them up at a second board.

This is useful for people who have several sites and would like their users to be able to have the same username at both sites. Any thoughts?

Peter

Chris M
10-30-2002, 02:40 PM
It could probably be done, but I dont know enough about Queries:(

It sounds quite a good idea;)

Satan

Logician
10-30-2002, 07:18 PM
can be done but it's not as easy as you think it is..

For instance you still need to check second db for existing email/username etc. and form the necessary structure to handle them.. Can be easier if you disable registration in 1 board and force your users to register in the other.. But if both boards are open to registration, it requires heavy hacking of register.php..

Also, your second db should be in the same server or your host should allow remote connection to MYSQL..