+ Reply to Thread
Results 1 to 5 of 5

Thread: Help Plz

  1. #1
    iearn.tk54's Avatar
    iearn.tk54 is offline x10Hosting Member iearn.tk54 is an unknown quantity at this point
    Join Date
    Apr 2011
    Location
    INDIA,GUJARAT,BARODA
    Posts
    85

    Help Plz

    I have 2 SMF forum hosted on 2 diff servers

    i need to create automatic username and pass to another forum if user registers to 1 of it
    and the username and pass created on other forum should be same as the user creates

    plz help me.

    i saw this type of functioning in x10hosting forum
    when we created hosting account our username and pass created automatically for forum

    but i need same username and pass in both forum

    plz help me out...
    http://x10hosting.com/forums/image.php?type=sigpic&userid=656420&dateline=13109  96915

  2. #2
    vv.bbcc19's Avatar
    vv.bbcc19 is offline Community Advocate vv.bbcc19 is just really nice
    Join Date
    Jun 2010
    Location
    India
    Posts
    1,505

    Re: Help Plz

    Hi,
    This is linking of databases.But if you want to update the database from one to another..which is a master and slave connection.

    http://dev.mysql.com/doc/refman/5.0/...aitem-22-5-1-5
    Note: This consumes a lot lot of bandwidth..let alone the High resource usage !!

    or
    You can use database replication as well..

    http://dev.mysql.com/doc/refman/5.5/en/replication.html
    This is a bit complex thing but no easy ways to do difficult tasks.
    Good Luck.
    BCV | Community Support Representative
    █ x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    iearn.tk54's Avatar
    iearn.tk54 is offline x10Hosting Member iearn.tk54 is an unknown quantity at this point
    Join Date
    Apr 2011
    Location
    INDIA,GUJARAT,BARODA
    Posts
    85

    Re: Help Plz

    Quote Originally Posted by vv.bbcc19 View Post
    Hi,
    This is linking of databases.But if you want to update the database from one to another..which is a master and slave connection.

    http://dev.mysql.com/doc/refman/5.0/...aitem-22-5-1-5
    Note: This consumes a lot lot of bandwidth..let alone the High resource usage !!

    or
    You can use database replication as well..

    http://dev.mysql.com/doc/refman/5.5/en/replication.html
    This is a bit complex thing but no easy ways to do difficult tasks.
    Good Luck.
    master is not defined
    both are master
    as 50% users register on 1 forum and 50% on other
    plz help me out

    i am not able to make out the settings from above links
    plz help
    http://x10hosting.com/forums/image.php?type=sigpic&userid=656420&dateline=13109  96915

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Help Plz

    The basic idea would be, in your sign up script, to have it use cURL to send the information via the web to the other SMF and have the registration script there enter the new account info.

    Several problems. One of which would be that you have to synchronize the two databases first so that the user information is the same on both. The other would be that you could not use the same registration script without further logic. (otherwise, you sign up on A which notifies B which notifies A....). You would either need a copy of the registration script ( register_via_site.php and register_via_remote.php ) that does not call the other server, or you would have to add logic (hidden field) to the script.
    Nothing is always absolutely so.

  5. #5
    iearn.tk54's Avatar
    iearn.tk54 is offline x10Hosting Member iearn.tk54 is an unknown quantity at this point
    Join Date
    Apr 2011
    Location
    INDIA,GUJARAT,BARODA
    Posts
    85

    Re: Help Plz

    Quote Originally Posted by descalzo View Post
    The basic idea would be, in your sign up script, to have it use cURL to send the information via the web to the other SMF and have the registration script there enter the new account info.

    Several problems. One of which would be that you have to synchronize the two databases first so that the user information is the same on both. The other would be that you could not use the same registration script without further logic. (otherwise, you sign up on A which notifies B which notifies A....). You would either need a copy of the registration script ( register_via_site.php and register_via_remote.php ) that does not call the other server, or you would have to add logic (hidden field) to the script.
    so is there any script available which i can modify and use ??????
    http://x10hosting.com/forums/image.php?type=sigpic&userid=656420&dateline=13109  96915

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers