Menu

phpmychat && nuke sites

Help
trini0
2001-09-11
2012-09-14
  • trini0

    trini0 - 2001-09-11

    Hey all.  Im trying to integrate myphpchat with myphpnuke, what Im trying to do is have phpmychat use the already available user name from myphpnuke so users dont have have 2 seperate name/passwords for the site.
    I just dont know where to inject it into the phpmychat stream.  Still fairly new to php.  Thanks for listening.
    trini0

     
    • Anonymous

      Anonymous - 2001-09-11

      I'm working on it.You must modify the user.php file of phpnuke.In the function confirmNewUser (i think) when phpnuke calls mysql to introduce the user data,just introduce similar commands but using your phpmychat database instead.Also you should erase the registration forms in the phpmychat code.I hope my information would be useful to you.

      Happy nuking

       
    • trini0

      trini0 - 2001-09-11

      You method is more secure and you would be able to ban users.  Here is what I did so far.  I made a copy of chat/index.php in the webroot as chat.php.
      Set it to point to index.lib.php, and I included mainfile.php in chat.php.  In chat.php, I set $Username = $userinfo[uname]; so that it pick up mpn's username.  Now only registered users can use the chat system.  I got rid of the registration stuff.
      Thanks for the idea...

       
      • Anonymous

        Anonymous - 2002-01-22

        Hello,

        How do you do to remove first page? I found the function "layout", but how to redirect user name variable of phpnuke and go directly on the chat, without stopping at the 1st page (with login/passwd)?

        Cheers,

        Stphane

         
    • Christopher Walsh

      Has anyone made any progess towards nuke'ing phpMyChat (as a module I mean)... it would be nice to have logins integrated with Nuke login... Does anyone have their code changes avail?

       
    • Anonymous

      Anonymous - 2002-01-22

      I'd be interrested too for this integration (phpnuke)... If someone could make the code available somewhere, it would be great ;-)

      Thanks

      Steph

       
    • Anonymous

      Anonymous - 2002-04-30

      YES! :-)) I've done it!
      I've successfuly crossed the nuke table with the phpmychat table. The records are automatically created in the c_reg_users table the first time the user launch the chat. This can allow ban command! After then, just the password field is replaced.
      In addition, I've crossed the WMB forum table too, to make chat moderators the moderators of the forum and the same for admins...

      If someone is interrested by this, mail me at stardy@reef-guardian.com

      Steph

       

Log in to post a comment.