Welcome, Guest. Please Login or Register.
May 02, 2025, 02:57:29 AM
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  |  Mod Ideas and Creation  |  Chat Mod « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Chat Mod  (Read 897 times)
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Chat Mod
« on: April 17, 2002, 09:39:30 PM »
Reply with quote

Is there anyone working on a chat mod? Or is there one that already exists? This is a huge hole that needs to be filled!
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:Chat Mod
« Reply #1 on: April 17, 2002, 09:46:34 PM »
Reply with quote

There are no official Chat mods in the works, and due to many issues with integrating one it will probably be a while still.
Different people want different options and Chat styles for this mod and its nigh on impossible to suit everyones tastes.
Integrating an already established Chatroom script would probably best suit YaBB, but who has to time to do it?...
Logged

PHPNews has been released!!! Download it now!!!
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Chat Mod
« Reply #2 on: April 17, 2002, 11:13:57 PM »
Reply with quote

  • it´s a board, why a chat?
  • a chat on most hosts is not allowed!!!
  • include an IRC chat is only put a link!
Logged

mainComm Dev Team
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #3 on: April 20, 2002, 12:53:48 AM »
Reply with quote

For those of you who have included your own chat program, irc or otherwise, what have you added?

It would be nice to have chat integrated like the perl version because it allows mods to have some control!!
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:Chat Mod
« Reply #4 on: April 20, 2002, 09:40:33 AM »
Reply with quote

Like this:
Go to an IRC website and get the HTML to do it. Now come back to YaBB..
Add an action to index.php like:
if ($action == 'chat') { include_once ("$sourcedir/Chat.php"); ChatRoom(); }

Open up your Chat.php file, and make a function called ChatRoom, it should look similar to this:
<?
function ChatRooom() {
print<<<EOT

Place your Chat Room HTML here!

EOT;
}
?>


Now you might want to add a link somewhere to it, thats up to you. The URL to open the chat is:
index.php?action=chat
Logged

PHPNews has been released!!! Download it now!!!
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #5 on: April 21, 2002, 05:28:45 PM »
Reply with quote

Where in index.php should I add that action? Thanks
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #6 on: April 21, 2002, 05:44:22 PM »
Reply with quote

Okay, i put it under the findfast for c, when it calls Chat.php which looks like this

<quote>
<?
function ChatRooom() {
print<<<EOT

<center>
<script language="JavaScript"

src="http://irc.everywherechat.com:8000/Java/embed.js?room=rfc&width=500&height=520"></scrip

t>
</center>

EOT;
}
?>
</quote>

I get this error:
<quote>
Fatal error: Call to undefined function: chatroom() in /home/virtual/site284/fst/var/www/html/rfc/index.php on line 242
</quote>

Ideas? Comments? The html works fine in http://www.goosemoose.com/rfc/chat.htm the board is at http://www.goosemoose.com/rfc
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #7 on: April 21, 2002, 05:48:22 PM »
Reply with quote

Okay I got it partially working. I hade cut and pasted that code and room was spelled rooom. But now I get the chat room above the regular forum, it looks horrible. Any way to put the below the navbar, or anything else to look better?
http://www.goosemoose.com/rfc/index.php?action=chat

Thanks for your help
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:Chat Mod
« Reply #8 on: April 21, 2002, 07:58:29 PM »
Reply with quote

Before the print<<<EOT put:
    is_admin(); // check for admin
   $yytitle = "Chat Room Mod";
   template_header();

and below the EOT; put:
   footer();
   obExit();

 ;D
Logged

PHPNews has been released!!! Download it now!!!
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Chat Mod
« Reply #9 on: April 22, 2002, 01:17:21 AM »
Reply with quote

I don't think a full feature chat should be built in.  A shoutbox would be cool.  Take a look at www.spymac.com and look at their forums to see what I mean.
Logged

goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #10 on: April 22, 2002, 05:45:28 AM »
Reply with quote

How can I just make sure they are a registered user. The way you have it only admin could enter, I removed the isadmin and now everyone can get in. Thanks! It looks great
http://www.goosemoose.com/rfc/index.php?action=chat
check it out
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #11 on: April 22, 2002, 06:47:01 AM »
Reply with quote

How do I create a new icon for this? Thanks!
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Chat Mod
« Reply #12 on: April 22, 2002, 09:20:30 AM »
Reply with quote

try http://yabbbuttons.cjb.net/ a great button generator (I still think you'll have to draw the icon part though...)
Logged

John R
PHP Challenged
Global Moderator
Sr. Member
*****
Posts: 387


Click, Click, Click, Bang!

ICQ - 3166233codehammer@thevortex.com
Re:Chat Mod
« Reply #13 on: April 22, 2002, 02:00:59 PM »
Reply with quote

You could use this one, just a quicky!

cheers.........
Logged

Be careful what you wish for, it might come true!

Note: I do not acknowledge support requests via PM, MSN or ICQ, please use the support boards.
goosemoose
Sr. Member
****
Posts: 256


I'm a llama!

Re:Chat Mod
« Reply #14 on: April 22, 2002, 05:32:59 PM »
Reply with quote

That will work great, thanks. Do I just need to add the icon to the template? Or is there something else I need to do as well? Thanks again!
Logged

MobileYaBB v.3 [75% done]
All in One MemberList 1.0
Integrated Chat v 2.0
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Chat Mod « 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.016 seconds with 16 queries.