Announcement

Collapse
No announcement yet.

[RELEASE v2.x.x] - a phpMyChat integration Hack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    it had workt I had seen it.... it worked when there was "no"

    Comment


    • #32
      Originally posted by webhost
      we tired I think the way you put require ./index.php3 in is correct problem somewhere else. I f you have it working could you direct to the url where I could see it in action?
      http://www.windelwinni.de/docs/forum/index.php

      Click on a forum and read the red marked announcement. Into the annoucement click on "hier aufrufen" and enter the chat (or not, if you´re not registered)

      but it´s german

      Comment


      • #33
        Thanks
        It was a struggle, no good at German but I did manage to register on your board and go to the chat room. What version of vb and phpmycaht ar you using. Can you help me get mind working. I am using vb 2.0.1 and phpmychat version 14.2

        Joey

        Great looking board which I could understand the German though.
        Real Web Host

        Comment


        • #34
          Well, i should be able to help you. What´s your problem?

          We are using 2.0.0 with phpMyChat *14..5

          What is the exact problem? Maybe you can post a link to your forum or chat and i´ll see what i can do. But i`m very busy, so please bepatience

          polizist
          Last edited by polizist; Tue 17 Jul '01, 6:17am.

          Comment


          • #35
            forum is here http://forums.realwebhost.net
            chat is here http://chat.realwebhost.net

            I have a chat button on the top of the opening page in my forum

            Thanks you can read the previous posts and see what peoblems we were having.
            Real Web Host

            Comment


            • #36
              Hey webhost, it has worked by you, when there was written "no".

              Comment


              • #37
                I never got it working.
                Real Web Host

                Comment


                • #38
                  ok... lets start it new

                  edit ur /usr/lib/index.lib.php3
                  plaste bbefore "require("./${ChatPath}config/config.lib.php3");"

                  //a VBB integration hack by Stasik - source parts were taken from other authors
                  chdir("/home/realweb/public_html/forums/");
                  require("./global.php");
                  chdir("/home/realweb/public_html/chat/chat/");

                  if ($bbuserid == 0)
                  {
                  print "no"; //Message if the user has no cookie
                  exit;
                  }
                  else
                  {
                  if ($bbusername == "" || (isset($bbusername))==0)
                  {
                  $getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid");
                  $username=$getusername[username];
                  $bbusername = $username;
                  }
                  else
                  {
                  $username = $bbusername;
                  } }

                  $U = $username;

                  $pat = "[[:space:]]";
                  $repl = "";
                  $U = ereg_replace($pat,$repl,$U);
                  $pat = ',';
                  $U = ereg_replace($pat,$repl,$U);
                  stripslashes($U);

                  $N = 20;
                  $D = 10;
                  $Form_Send = 1;

                  //Replace admin with your administration nick
                  if($U != "Admin")
                  {
                  $PASSWORD="1";
                  }


                  If you had a login problems (bad password), I have forgotten to say, that you have to DELETE all exisind accounts and leave only admin-account
                  Last edited by Stasik; Tue 17 Jul '01, 12:18pm.

                  Comment


                  • #39
                    Sorry for the delay, got busy. Do you mean delete all users in my chat and just leave admin?

                    Joey
                    Real Web Host

                    Comment


                    • #40
                      yes, I mean it

                      P.S. The name must not be "Admin", but if you want it - you can do it
                      Last edited by Stasik; Tue 17 Jul '01, 3:12pm.

                      Comment


                      • #41
                        ok I deleted all my users except admin which I go my bbman. Changed that in your script put in for the nick.I try to go to http://chat.realwebhost.net All I get is a blank screen with the word no. I went to my forums and signed in and clicked on my link in the forums http://chat.realwebhost.net and the same no. Now I have no users and it still doesn't work. Hope you will help me get this working.

                        Joey
                        Real Web Host

                        Comment


                        • #42
                          i know the answer!

                          go into you vbb adminpanel

                          go Options->Change Options->[HTTP Headers and output]->Cookie Domain

                          and write just "realwebhost.net" there

                          Comment


                          • #43
                            ok went to cookie domain and put in this .realwebhost.net
                            noticed the 2 dots, I also tried realwebhost.net with 1 dot

                            In your script under admin nick there is something like password=
                            "1" do I need to change 1 and put in my admin password for the chat room?

                            I am still getting no

                            I am using this link to board http://chat.realwebhost.net/index.php3
                            Real Web Host

                            Comment


                            • #44
                              u have not to change 1 to anyting.

                              i have tryed to login in at realwebhost.net/forums annd use the chat at realwebhost/chat/chat and it has worked.... try to change the cookie doman to "realwebhost.net", clear all cookies on your computer and try to login again

                              Comment


                              • #45
                                1 dot or 2 dots
                                Real Web Host

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X