Welcome, Guest. Please Login or Register.
April 27, 2025, 05:03:28 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  Chat for 1.5.1 Mod - UPDATED 2/1/03 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Chat for 1.5.1 Mod - UPDATED 2/1/03  (Read 1600 times)
Kryz
Noobie
*
Posts: 18


I'm a llama!

Chat for 1.5.1 Mod - UPDATED 2/1/03
« on: January 27, 2003, 11:05:13 PM »
Reply with quote

This is the *Modified* Mod File for Intgrated Chat v3 by GooseMoose: Works for 1.5.0 and 1.5.1

Download Integrated Chat v3 Here 1st
http://www.goosemoose.com/integratedchat.3.zip

Then Copy and paste this:

<id>
Integrated Chat
</id>

<version>
.3
</version>

<mod info>
*************************************
***** Updated For 1.5.X By Kryz *****
*************************************

1. Upload chat.gif to your images directory.

2. Open up chat.php with any text editor.
   a. Find $user = $username . "_abbreviation";
   b. Replace the word abbreviation with a name that will be appended to all usersnames.
      For example my site is the Rat Fan Club so I have _rfc, users become john_rfc
      on the irc server.
   c. Find full.js?room=roomname&width=500&height=520&nick=$user"
   d. Replace the word roomname with the name you want for your chatroom. For example, I use
      rfc.
   e. Save the file and upload to your sources dir.

3. Go into your admin panel and select edit template. Find the area the refers to <yabb uname><yabb im> and replace everything inside and including the <TD valign=center bgColor...> all the way to the first </TD> you see with the following. Make SURE to replace the word roomname with your chat rooms name!

<TD vAlign=center bgColor=#ffffff><FONT size=2><yabb uname><yabb im><BR><yabb time><BR><BR>There are currently <script language="JavaScript" src="http://irc.everywherechat.com:8000/java/test.js?room=roomname"></script> people talking in the chat room.<BR><script language="JavaScript" src="http://irc.everywherechat.com:8000/java/members_comma.js?room=roomname"></script>
<BR></FONT></TD>

4. Run boardmod and upload files

5. Post on the forum and let everyone know if it works!!


Note: You can change the width and height of the applet to fit your site
</mod info>

<author>
Dominic Maricic - Goosemoose
</author>

<homepage>
Http://www.goosemoose.com
</homepage>

<edit file>
index.php
</edit file>

<search for>
'clean_log' => array("$sourcedir/Admin.php", 'clean_log'),
</search for>

<add after>
'chat' => array("$sourcedir/Chat.php", 'chatRoom'),
</add after>

<edit file>
sources\subs.php
</edit file>

<search for>
$yymenu .= "$menusep<a href=\"$cgi;action=profile;user=$euser\">$img[profile]</a>";
</search for>

<add after>
$yymenu .= "$menusep<a href=\"$cgi;action=chat;user=$euser\" target=_blank><img src=\"$imagesdir/chat.gif\" alt=\"Chat\" border=\"0\"></a>";
</add after>

As integratedchat.mod and run it as you normally would through BoardMod.

Happy Chatting :)
« Last Edit: February 01, 2003, 05:28:52 PM by Kryz » Logged
Kryz
Noobie
*
Posts: 18


I'm a llama!

Re:Chat for 1.5.1 Mod
« Reply #1 on: January 30, 2003, 10:51:59 PM »
Reply with quote

After all the people looking for this mod .. no replies... Geeze tough room.....
Logged
Powerbob
Noobie
*
Posts: 16


I'm a llama!

WWW
Re:Chat for 1.5.1 Mod
« Reply #2 on: January 30, 2003, 11:04:35 PM »
Reply with quote

Well done fella, even though I'm not using it myself :-[ you have done a great job ;D

Powerbob 8)
Logged
Kryz
Noobie
*
Posts: 18


I'm a llama!

Re:Chat for 1.5.1 Mod
« Reply #3 on: January 31, 2003, 12:37:26 AM »
Reply with quote

Quote from: Powerbob on January 30, 2003, 11:04:35 PMWell done fella, even though I'm not using it myself :-[ you have done a great job ;D

Powerbob 8)

ok, now I feel the love ! LOL thanks !
Logged
anibal
Jr. Member
**
Posts: 83


Yo

WWW
Re:Chat for 1.5.1 Mod
« Reply #4 on: January 31, 2003, 07:00:24 AM »
Reply with quote

Hi, I made all the steps but it leaves me a screen in white and it doesn't pass anything  ???
Logged
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat for 1.5.1 Mod
« Reply #5 on: January 31, 2003, 07:59:38 AM »
Reply with quote

I appreciate the help Kryz. I just finished a brand new update that works for 1.5.1. I will release it friday night, I have to finish getting it working smoothly with Boardmod.
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Kryz
Noobie
*
Posts: 18


I'm a llama!

Re:Chat for 1.5.1 Mod
« Reply #6 on: January 31, 2003, 10:49:24 PM »
Reply with quote

Quote from: anibal on January 31, 2003, 07:00:24 AMHi, I made all the steps but it leaves me a screen in white and it doesn't pass anything  ???

Can you post a screenshot and the template file?
Logged
anibal
Jr. Member
**
Posts: 83


Yo

WWW
Re:Chat for 1.5.1 Mod
« Reply #7 on: February 01, 2003, 10:28:12 AM »
Reply with quote

template.php:

Quote<body text="#000000" link="#0033ff" bgcolor="#f5f5f5"<yabb gallerybodytag>>
<table  cellspacing="0" cellpadding="0" width="90%" align="center" bgcolor="#00000" border="0">
  <tr>
    <td>
      <table  cellspacing="1" cellpadding="0" width="100%"  align="center" bgcolor="#00000" border="0">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" class="windowbg2">
              <tr>
                <td valign="middle" align="left" bgcolor="#ffffff"><img alt="logo" src="YaBBImages/selogo.gif" /></td>
                <TD vAlign=center bgColor=#ffffff><FONT size=2><yabb uname><yabb im><BR>
                  <yabb time><BR></FONT>
<BR><BR>There are currently <script language="JavaScript" src="http://irc.everywherechat.com:8000/java/test.js?room=zonarave"></script> people talking in the chat room.<BR><script language="JavaScript" src="http://irc.everywherechat.com:8000/java/members_comma.js?room=zonarave"></script>
<BR></FONT></TD>
</TD>
              </tr>
            </table>
          </td>
        </tr>
        <tr valign="middle" align="center" bgcolor="#b7bbda">
          <td bgcolor="#ffffff" class="windowbg2"><font size="1"><yabb menu><yabb galleryMenu></font></td>
        </tr>
        <tr>
          <td width="100%" bgcolor="#ffffff" height="24" class="windowbg2"><yabb top></td>
        </tr>
        <tr>
          <td width="100%" bgcolor="#ffffff" height="24" class="windowbg2">&nbsp;<yabb news></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br />
<table  cellspacing="0" cellpadding="0" width="90%" align="center" bgcolor="#00000" border="0">
  <tr>
    <td>
      <table  cellspacing="1" cellpadding="0" width="100%" align="center" bgcolor="#00000" border="0">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="10" width="100%" align="center" bgcolor="#ffffff" border="0">
              <tr>
                <td valign="top" width="100%">
                  <yabb main>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br>

          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>

and

screenshoot



-----------------
Have 1.5  

and my chat.php :

Quote<?
function ChatRoom() {
global $username,$user,$db_prefix;


$yytitle = "Chat Room Mod";
template_header();

if ($username == "Guest") { die("Guests are not allowed to enter this area!"); }



$request = mysql_query("SELECT passwd,realName FROM {$db_prefix}members WHERE memberName='$user'");
$memsettings = mysql_fetch_array($request);
$chatname = str_replace(" ","_",$memsettings['realName']);
$chatname = $chatname . "_zr";


print<<<EOT

<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="520" id="AutoNumber1">
  <tr>
     <td width="100%"><script language="JavaScript" src="http://irc.everywherechat.com:8000/Java/full.js?room=zonarave&width=500&height=520&nick=$chatname"></script></td>
  </tr>
</table>
</center>

EOT;

footer();
obExit();


}
?>


 ::)
« Last Edit: February 01, 2003, 10:37:47 AM by anibal » Logged
Kryz
Noobie
*
Posts: 18


I'm a llama!

Re:Chat for 1.5.1 Mod
« Reply #8 on: February 01, 2003, 05:19:58 PM »
Reply with quote

Anibal,

I was able to replicate your error on my 1.5 Test Board to fix it ->Replace your chat.php file with this:

<?
function ChatRoom() {
global $username,$user,$db_prefix;


$yytitle = "Chat Room Mod";
template_header();

if ($username == "Guest") { die("Guests are not allowed to enter this area!"); }

$user=urldecode($user);
$request = mysql_query("SELECT passwd,realName FROM {$db_prefix}members WHERE memberName='$user'");
$memsettings = mysql_fetch_array($request);
$chatname = str_replace(" ","_",$memsettings['realName']);
$chatname = $chatname . "";


print<<<EOT

<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="520" id="AutoNumber1">
  <tr>
     <td width="100%"><script language="JavaScript" src="http://irc.everywherechat.com:8000/Java/e.js?room=zonarave&width=650&height=500&nick=$chatname"></script></td>
  </tr>
</table>
</center>

EOT;

footer();
obExit();


}
?>

Basically it is an issue with the full.js reference that comes in the defualt chat.php. This should be changed to e.js by ANYONE who is having this problem. See below:

<td width="100%"><script language="JavaScript" src="http://irc.everywherechat.com:8000/Java/full.js?room=Roomname&width=500&height=520&nick=$chatname"></script></td>

to

<td width="100%"><script language="JavaScript" src="http://irc.everywherechat.com:8000/Java/e.js?room=Roomname&width=650&height=500&nick=$chatname"></script></td>
« Last Edit: February 01, 2003, 05:29:39 PM by Kryz » Logged
PoohBear
Jr. Member
**
Posts: 66


Re:Chat for 1.5.1 Mod - UPDATED 2/1/03
« Reply #9 on: February 02, 2003, 08:54:28 AM »
Reply with quote

Works a treat thanks :)
« Last Edit: February 11, 2003, 02:11:31 PM by PoohBear » Logged
anibal
Jr. Member
**
Posts: 83


Yo

WWW
Re:Chat for 1.5.1 Mod - UPDATED 2/1/03
« Reply #10 on: February 03, 2003, 05:20:14 AM »
Reply with quote

thanks kryz  :)
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:Chat for 1.5.1 Mod - UPDATED 2/1/03
« Reply #11 on: February 03, 2003, 04:55:41 PM »
Reply with quote

This has been updated by 2 different people not counting yourself.
Here:
http://www.yabbse.org/community/index.php?board=158;action=display;threadid=16559
and here:
http://www.yabbse.org/community/index.php?board=158;action=display;threadid=17789

Should check the board before posting ;)
Logged

Karma -1?! Damn that llama!!!
Kryz
Noobie
*
Posts: 18


I'm a llama!

Re:Chat for 1.5.1 Mod - UPDATED 2/1/03
« Reply #12 on: February 03, 2003, 08:47:12 PM »
Reply with quote

Quote from: diva_uno on February 03, 2003, 04:55:41 PM
This has been updated by 2 different people not counting yourself.
Here:
http://www.yabbse.org/community/index.php?board=158;action=display;threadid=16559
and here:
http://www.yabbse.org/community/index.php?board=158;action=display;threadid=17789

Should check the board before posting ;)

Yeah yeah yeah.. hater :D

Besides neither referenced th javascipt change in it and 1.5.0 doesnt work quite right with 1.5.1 installs :P
Logged
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Chat for 1.5.1 Mod - Updated 2/1/03
« Reply #13 on: March 15, 2003, 04:25:39 AM »
Reply with quote

I made the changes, and I still have a blank screen.

http://members.lycos.co.uk/yourkilla/yabbse

Edit:
Nevermind it seems to be working now :)
« Last Edit: March 15, 2003, 04:01:17 PM by king_killa » Logged

Nathan_T
Noobie
*
Posts: 29


Re:Chat for 1.5.1 Mod - Updated 2/1/03
« Reply #14 on: April 27, 2003, 04:37:18 AM »
Reply with quote

I tried installing this mod for version 1.5.1 and when I get to the final step of uploading the mod file with boardmod I get the following error:

starting log...

script path: C:\My Documents\Nathan's Documents\MtnView\yabbse\index.php

detected script: YaBB SE 1.5.1

selected script: YaBB SE 1.5.1

installed mods: 0



--------------------------------------------------------------------------------

now installing: Integrated Chat .3 (integratedchat.mod)

--------------------------------------------------------------------------------



Step 1 ... failed - ERR(1): Search string could not be found

Step 2 ... failed - ERR(12): The line to search for is not comlete. Maybe some spaces are missing in

front of it.



> modifications failed! 2 errors occured. No files will be modified. Please see readme for help on the
error messages.



Can you tell me what I'm doing wrong here. I'm new to using yabbse. I'm sure I'm doing something simple wrong but just figure it out.

Thanks,
Nathan
« Last Edit: April 27, 2003, 04:39:17 AM by Nathan_T » Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  Chat for 1.5.1 Mod - UPDATED 2/1/03 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.059 seconds with 17 queries.