Jump to content

DJ24966

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Everything posted by DJ24966

  1. I'm trying to add a Signin and Signout button to my template, and have been able to do so, however, I can't get the buttons to show up where I would like them. Here is the theme - http://rapidshare.com/files/165852912/BlueShine.rar We were wanting to place the images in the upper right hand corner of the template, right above the black border. You can see a preview of the template here - http://dj.dreamtux.com/ If anybody could be of any assistance I would greatly appreciate it. Thanks
  2. Well, again I appreciate it. Thanks
  3. Awesome man, Thank you so much. I guess it was you who was in a room yesterday? I didn't have mine opened up, it was minimized and I didn't see it till last night.
  4. Is it possible to detect if the users Room name has a space in it, and have the code replace the space with an _? Thanks
  5. Thanks again, and yeah, I noticed that as well. All is working! Once I get everything done, I will include this site in the credits for helping us out. I really do appreciate it. Thank you!
  6. It has to look identical to the URL I posted or else you get an application error. http://chatterupchat.webhop.org/chat/channel.aspx?value=[GN]TheLobby&member=XS803m As you notice, that one will work fine, I'm just confused on how to get mine working.
  7. hmm, both ways I'm still getting the same URL with the same results. http://chatterupchat.webhop.org/chat/channel.aspx?member=XS803m&value=&room=Test&cat=[iE] I've been having the same issue, everything I have tried resulted in that. When this is what I need it to look like. http://chatterupchat.webhop.org/chat/channel.aspx?value=[iE]Test&member=XS803m
  8. See, I could have gotten it to do that, but thats not whats needed. I need the [CP] or whatever cat to appear infront of the room name, like this. http://chatterupchat.webhop.org/chat/channel.aspx?value=[GN]TheLobby&member=XS803m Otherwise, it will not place the channel into a category like I would like for it to. Sorry for the confusion
  9. hmm, can't seem to get it to work, can someone show the code for me?
  10. Ok, after getting the rest of my issues fixed thanks you guys, I was wondering if you could help out with 1 last thing. We have incorporated categories to our chat site to keep things organized. In the past, the user could just input the room name and join, no problem all worked well. Here is the code we used then. <b>Create a Chat:</b><br> <form method="GET" action="http://chatterupchat.webhop.org/chat/channel.aspx"> <input type="hidden" name="member" value="XS803m"> Room: <input name="value" type="text"><br> <input type="submit" value="Create"> </form> No, how could I make the following. I need the category to show up directly after the channel.aspx, so, an example would be. http://chatterupchat.webhop.org/chat/channel.aspx?value=[GN]TheLobby&member=XS803m Here is the code I have no, which obviously, does not work <b>Create a Chat:</b><br> <form method="GET" action="http://chatterupchat.webhop.org/chat/channel.aspx"> <input type="hidden" name="member" value="XS803m"> Room: <input name="value" type="text"><br> Category: <select name="cat"> <option value="[CP]">Computing</option> <option value="[EN]">Entertainment</option> <option value="[GN]">General</option> <option value="[iE]">Interests</option> <option value="[NP]">News & Politics</option> <option value="[RO]">Romance</option> <option value="[RE]">Religion</option> <option value="[PE]">Peers</option> <optoin value="[sP]">Sports & Recreation</option> <option value="[TE]">Teens</option> </select> <input type="submit" value="Create"> </form> Any help would be highly appreciated.
  11. Well, I changed a few things, and have gotten further. <?php error_reporting(E_ALL); ini_set("display_errors", 1); $botnick = "Chatterup"; $server = "chatterup.webhop.net"; $port = "6667"; $channel = ""; ?> <html> <head> <meta http-equiv="Content-Language" content="en"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Room List</title> </head> <body> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="AutoNumber1" style="border-collapse: collapse"> <tr> <td width="8%" height="20" align="center" valign="middle" bgcolor="#FFFFCC" style="border-left:1px solid #333333;border-bottom:1px solid;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Users</td> <td width="15%" height="20" align="left" valign="middle" bgcolor="#FFFFCC" style="border-bottom:1px solid;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Roomname:</td> <td width="77%" height="20" align="left" valign="middle" bgcolor="#FFFFCC" style="border-right:1px solid #333333;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Topic:</td> </tr> <?php $fp = fsockopen($server, $port, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { fputs($fp,"USER $botnick $botnick 127.0.0.1 :php\n"); $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); while (!feof($fp)) { usleep(50); $fget = @fgets($fp, 128); echo "$fget <br>\n"; $match = explode(" ", $fget); $fget = ereg_replace ("\n", "", $fget); $fget = ereg_replace ("\r", "", $fget); if ($match[1] == "001") { fputs($fp,"LIST\n"); } else if ($match[0] == "PING") { fputs($fp, "PONG :" . $match[1]); } else if ($match[1] == "433") { $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); } else if ($match[1] == "323") { fputs($fp, "QUIT :bye!\n"); break; } else if ($match[1] == "322") { $match[3] = ereg_replace ("#", "", $match[3]); if (eregi ("$channel(.*)", $match[3], $chan)) { $topic = explode(":", $fget); unset($topic[0]); unset($topic[1]); $topic = implode(":", $topic); if ($color == "FBFBF7") { $color = "FFFFFF"; } else { $color = "FBFBF7"; } ?> <tr> <td width="8%" align="center" valign="middle" bgcolor="#<?php echo $color; ?>" style="border-top:1px solid #333333;border-left:1px solid #333333;border-bottom:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"><?php echo $match[4]; ?></td> <td width="15%" style="border-bottom:1px solid #333333;bordertop:1px solid #333333;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;" bgcolor="#<?php echo $color; ?>"> <a href="./chat.php?action=Chat&rmname=[EN]<?php echo $chan[1]; ?>"> <?php echo $chan[1]; ?> </a></td> <td width="77%" style="border-right:1px solid #333333;border-bottom:1px solid #333333;FONT-FAMILY:;border-top:1px solid #333333; verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"bgcolor="#<?php echo $color; ?>"> <?php echo $topic; ?></td> </tr> <?php } } } fclose($fp); } ?> </table> </body> </html> Now I get this - :chatterup.webhop.net NOTICE AUTH :*** Looking up your hostname... :chatterup.webhop.net NOTICE AUTH :*** Found your hostname (cached) PING :2C109BD4 :2C109BD4!nospoof@chatterup.webhop.net PRIVMSG Chatterup36427 :VERSION ERROR :Closing Link: Chatterup36427[127.0.0.1] (Ping timeout)
  12. http://chatterup.webhop.net/site/pages/list.php Notice: Undefined offset: 1 in C:\wamp\www\site\pages\list.php on line 45 Notice: Undefined offset: 1 in C:\wamp\www\site\pages\list.php on line 50 Notice: Undefined offset: 1 in C:\wamp\www\site\pages\list.php on line 53 Notice: Undefined offset: 1 in C:\wamp\www\site\pages\list.php on line 56
  13. No, you can find the code anywhere online, it's just the fact that site, and people that built it will not even help anybody. http://www.tg007.net/forum/index.php?showtopic=2538
  14. Sorry, I don't really understand exactly what you are wanting me to do. As for can my server be accessed, yes, We were running an IRCX server, and had a roomlist php file working fine, we moved on to a more reliable IRCD server, and are in the need of a fix for it. We are able to connect to the chat just fine through 6667.
  15. Really though, can you help at all? I've been trying to figure this out for days.
  16. http://chatterup.webhop.net/site/?n=pages/roomlist As you can see, the page will load, but just takes forever, and never gets the information.
  17. Can anybody with some advanced PHP knowledge get this working? It should connect to my IRCD server, and display the currently open channels, which will then allow the user to click the channel, and join it. <?php error_reporting(E_ALL ^ E_NOTICE); $botnick = "Chatterup"; $server = "chatterup.webhop.net"; $port = "6667"; $channel = ""; ?> <html> <head> <meta http-equiv="Content-Language" content="en"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Room List</title> </head> <body> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="AutoNumber1" style="border-collapse: collapse"> <tr> <td width="8%" height="20" align="center" valign="middle" bgcolor="#FFFFCC" style="border-left:1px solid #333333;border-bottom:1px solid;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Users</td> <td width="15%" height="20" align="left" valign="middle" bgcolor="#FFFFCC" style="border-bottom:1px solid;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Roomname:</td> <td width="77%" height="20" align="left" valign="middle" bgcolor="#FFFFCC" style="border-right:1px solid #333333;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"> Topic:</td> </tr> <?php $fp = fsockopen($server, $port, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { fputs($fp,"USER $botnick $botnick 127.0.0.1 :php\n"); $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); while (!feof($fp)) { usleep(50); $fget = @fgets($fp, 128); //echo "$fget <br>\n"; $match = explode(" ", $fget); $fget = ereg_replace ("\n", "", $fget); $fget = ereg_replace ("\r", "", $fget); if (isset($match[0]) && $match[0] == "PING") { fputs($fp, "PONG :" . $match[1]); } elseif(isset($match[1])) { if ($match[1] == "001") { fputs($fp,"LIST\n"); } else if ($match[1] == "433") { $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); } else if ($match[1] == "323") { fputs($fp, "QUIT :bye!\n"); break; } else if ($match[1] == "322") { $match[3] = ereg_replace ("#", "", $match[3]); if (eregi ("$channel(.*)", $match[3], $chan)) { $topic = explode(":", $fget); unset($topic[0]); unset($topic[1]); $topic = implode(":", $topic); if ($color == "FBFBF7") { $color = "FFFFFF"; } else { $color = "FBFBF7"; } ?> <tr> <td width="8%" align="center" valign="middle" bgcolor="#<?php echo $color; ?>" style="border-top:1px solid #333333;border-left:1px solid #333333;border-bottom:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"><?php echo $match[4]; ?></td> <td width="15%" style="border-bottom:1px solid #333333;bordertop:1px solid #333333;border-top:1px solid #333333;FONT-FAMILY: verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;" bgcolor="#<?php echo $color; ?>"> <a href="http://webchat.chatcore.org/chat/channel.aspx?value=<?php echo $chan[1]; ?>&member=XS803m"> <?php echo $chan[1]; ?> </a></td> <td width="77%" style="border-right:1px solid #333333;border-bottom:1px solid #333333;FONT-FAMILY:;border-top:1px solid #333333; verdana;FONT-SIZE: 8pt;TEXT-DECORATION: none;"bgcolor="#<?php echo $color; ?>"> <?php echo $topic; ?></td> </tr> <?php } } } } fclose($fp); } ?> </table> </body> </html> It seems to just time out. If someone could fix this for me I'd be mighty great full. Thanks!!
  18. Nevermind, problem solved! There are 2 different URL's you can connect to the channels with. Here is new code. <form method="GET" action="http://chatterupchat.webhop.org/chat/channel.aspx"> <input type="hidden" name="member" value="XS803m"> Room: <input name="value" type="text"> <input type="submit"> </form> I just had the wrong URL. Thanks Corbin!!!
  19. Well, that allows the room name to show up, however, it won't actually go in. It's like the &member area still has an issue. Here is the link for you to see exactly what I'm talking about. http://chatterup.webhop.net/site/?n=pages/create2 Thanks
  20. Hmm, it doesn't seem to work though. It never seems to echo the name within the URL, so it just tries joining a channel with no name.
  21. I know this is probably completely wrong, but I'm trying to make a script where the user can create a channel on my IRC server. <?php error_reporting(E_ALL ^ E_NOTICE); $room = $_POST["room"]; ?> <form method="post" action="http://webchat.chatcore.org/chat/channel.aspx?value=<?php echo $room; ?>&member=XS803m"> Room: <input name="room" type="text"> <input type="submit"> </form> That is what I have so far, How can I take the value of Room, and paste it between channel.aspx?value= and &member=XS803m Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.