FusionBB
Calendar
SMTWTFS
 1234
567891011
12131415161718
19202122232425
2627282930 
September Birthdays
9-21bubazoo
News & Announcements
Online Past 24 Hrs
Claude , grimdeeper ,
Tagging

Looking for a Modification? It is much easier to view and search for Modifications using our Modification Index.

 Page 1 of 5 1234>
Username Post: Beta-[1.0] Free RaiderSoft Chat        (Topic#108)
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
08-15-05 05:52 PM - Post#681    



Description: A free Java chat room for FusionBB, the first I believe

Working Under: Fusion 1.0

Modification Status: Beta

Pre-requisites: none

Author(s): TheDaddy

Date: 08/15/05

Credits:Me for doing it, Dave for pointing me in the right direction and CT for the menu

Files Altered: includes/common.php
templates/fusionbb/header.php
templates/fusionbb/header_both.php
templates/fusionbb/header_left.php
templates/fusionbb/header_right.php

New Files: forums/sigma_chat.php
language/english/sigmachat.php
templates/fusionbb/chat.php

Database Altered: No

Instructions / Other Info: This will give you a chat room that uses the FusionBB database to give auto login.

1)Sign up for a free RaiderChat account here
http://www.sigmachat.com/register.html

2)In sigma_chat.php

## Edit line 47 and replace

##### with your room number

Edit the following the same way
templates/fusionbb/header.php
templates/fusionbb/header_both.php
templates/fusionbb/header_left.php
templates/fusionbb/header_right.php

##find

[code]<!--MEMBERS-->[/code]

##add below
[code] <!--CHAT-->[/code]

##find
[code]<!--members_sub-->[/code]

##add below
[code]
<!--my_menu_sub-->
[/code]

In includes/common.php

##find
[code]
// Setup the main index link

list($tabopen,$tabclose) = $this -> createNavTab('mainindex');

$template->setTemplateVar("MAININDEX","$tabopen<a href='".PORTAL_INDEX."?$FBB_SESS'>{$lang_str['MAIN']}</a>$tabclose");
[/code]

##add below
[code]
// Setup the my menu link

list($tabopen,$tabclose) = $this -> createNavTab('chat');

$template->setTemplateVar("CHAT","$tabopen<a href='http://www.yourdomain/yourfolder/sigma_chat.php' target='_blank'>Chat Room</a>$tabclose");
[/code]

Thats it

Disclaimer:
Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your Fusion code, you may be giving up your right for 'official' support from InteractivePHP, Inc..If you need official support, you'll need to restore unmodified files.
   Attachment
 
Monkeyra 
maximus

Monkeyra
Post Rank (AVG): 0%
08-15-05 06:22 PM - Post#686    


    In response to TheDaddy

Cheers m8!!
gonna add this tonight

www.fordmondeo.org
www.stdrivers.co.uk


 
Stephen 
maximus

Stephen
Post Rank (AVG): 0%
08-15-05 06:52 PM - Post#694    


    In response to Monkeyra

Very Slick
 
JoshPet 
FusionBB Developer

JoshPet
Post Rank (AVG): 0%
08-15-05 09:27 PM - Post#703    


    In response to Stephen

I've been planning on creating the authentication module for the paid version and FusionBB too.
 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
08-15-05 09:33 PM - Post#705    


    In response to JoshPet

I am about to work on that
http://www.parent-forum.com/forums/fusionbb.php




 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
08-15-05 09:41 PM - Post#706    


    In response to TheDaddy

Monkeyra is running the Profession Sigma Chat Package using the same code.

Thanks to Nikos, I will be adding a record in the site permissions table.
http://www.parent-forum.com/forums/fusionbb.php




 
Monkeyra 
maximus

Monkeyra
Post Rank (AVG): 0%
08-15-05 09:54 PM - Post#708    


    In response to TheDaddy

Yeah, this is something I discovered tonight.

I've just upgraded to the professional version, and you then get extra options and stuff.
One of the is to disallow guests (at the moment, all members using this modification are logged in as a guest, I think the modification just pulls the display name as uses it for the guest name.

When I disallowed guest login's, none of my members could login, lol.

So yeah, actually using permissions from fusionbb would be brilliant, would allow the chatroom to be much more secure

www.fordmondeo.org
www.stdrivers.co.uk


 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
08-21-05 03:07 PM - Post#758    


    In response to Monkeyra

Slight edit to make the page open in a new window

Code:
// Setup the my menu link

list($tabopen,$tabclose) = $this -> createNavTab('chat');

$template->setTemplateVar("CHAT","$tabopen<a href='http://www.yourdomain/yourfolder/sigma_chat.php' target='_blank'>Chat Room</a>$tabclose");

http://www.parent-forum.com/forums/fusionbb.php




 
Monkeyra 
maximus

Monkeyra
Post Rank (AVG): 0%
08-21-05 04:18 PM - Post#759    


    In response to TheDaddy

cheers danny boy

www.fordmondeo.org
www.stdrivers.co.uk


 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
08-21-05 07:12 PM - Post#761    


    In response to Monkeyra

NP Monk'y
http://www.parent-forum.com/forums/fusionbb.php




 
Nikos 
Administrator

Nikos
Post Rank (AVG): 0%
08-22-05 12:23 AM - Post#766    


    In response to TheDaddy

If you want the popup window to be fixed in size you need to use the following code for the hyperlink part of the menu item.

Code:

<script type='text/javascript'>function OpenChat(){window.open('http://domain.com/forum/sigma_chat.php','','left=10,right=10,width=700,height=500');}</script><a href='javascript: OpenChat()'>Chat Room</a>




 
Monkeyra 
maximus

Monkeyra
Post Rank (AVG): 0%
08-22-05 10:35 AM - Post#777    


    In response to Nikos

cheers niko boy

www.fordmondeo.org
www.stdrivers.co.uk


 
Liahona 
newbie

Liahona
Post Rank (AVG): 0%
09-02-05 10:35 PM - Post#889    


    In response to TheDaddy

Yip, sorry Daddy, mine too, only saw the last 3 numbers, so I deleted the post, sorry, should have left it.

I now have it on the site but when I click on the chat link I get....

www.yourdomain.com could not be found. Please check name and try again.

But I cant find where to check the name about.

Do you know.



Edited by Liahona on 09-02-05 10:39 PM. Reason for edit: No reason given.
 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
09-02-05 10:40 PM - Post#891    


    In response to Liahona

So have I then.

PT me your site address. Did you change 'http://www.yourdomain/yourfolder/sigma_chat.php' to your sites address?
http://www.parent-forum.com/forums/fusionbb.php




 
Liahona 
newbie

Liahona
Post Rank (AVG): 0%
09-02-05 10:46 PM - Post#892    


    In response to TheDaddy

Yip, just saw that, so have now changed it, man, I'm getting tired now......

Anyway I now get the Java box but it says.......

Applet Halted. This chat room is closed.

Edit: Also the right sidebar is placed below the java applet.


Edited by Liahona on 09-02-05 10:47 PM. Reason for edit: No reason given.
 
TheDaddy 
maximus

TheDaddy
Post Rank (AVG): 0%
09-02-05 11:00 PM - Post#893    


    In response to Liahona

Check that the top of sigma_chat.php and make sure it says

define('NO_SIDEBAR',1);
define('NO_ORIGIN',1);

I had that problem with the chat once, let me have a think.
http://www.parent-forum.com/forums/fusionbb.php




 
Liahona 
newbie

Liahona
Post Rank (AVG): 0%
09-02-05 11:03 PM - Post#894    


    In response to TheDaddy

Yip, both lines there

 
Liahona 
newbie

Liahona
Post Rank (AVG): 0%
09-04-05 10:01 AM - Post#900    


    In response to Liahona

The chat works only if I replace

This in the chat.php
<applet>

<applet applet text from your chat.php>

</applet>


WITH this correct text from the sigma site
<applet>

<applet applet text from your chat.php>

</applet>

(dont know if I can show the text or not?


So it does work just not integrated.
So it sticks at either
<!--ROOM_NUMBER-->
<!--USER_NAME-->
<!--AUTO_LOGIN-->





Edited by Liahona on 09-04-05 10:04 AM. Reason for edit: No reason given.
 
mckane 
newbie

Post Rank (AVG): 0%
10-05-05 08:22 PM - Post#1069    


    In response to Liahona

fantastic!
 
Kaliaa 
newbie

Post Rank (AVG): 0%
11-09-05 09:58 PM - Post#1286    


    In response to mckane

Posting for anyone who might still want to use this since I was installing it myself today. Btw, I really like this.

The applet problem in chat.php is one character

This line:
Code:
<applet codebase="http://client0.sigmachat.com/current/"



Should be this:

Code:
<applet codebase="http://client1.sigmachat.com/current/"



Also there is a typo in sigmachat.php here:

Code:
$lang_str['sigma_chat_haeder'] = "RaiderSoft Java Chat";



Should be:

Code:
$lang_str['sigma_chat_header'] = "RaiderSoft Java Chat";



 
 Page 1 of 5 1234>
Icon Legend Permissions & Sharing Options Topic Options
Print Topic


11500 Views
Shout Box
Current Weather

Enter a city or zip code:

FusionBB™ Version 3.1 RC 2 | ©2003-2020 InteractivePHP, Inc.
Execution time: 0.156 seconds.   Total Queries: 254   Zlib Compression is on.
All times are (GMT+1). Current time is 12:53 PM
Top