News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

FlashChat Integration

Started by Tyrsson, January 05, 2007, 03:44:53 AM

Previous topic - Next topic

Mystery?

Hey I installed this mod on SMF RC1-1 but now I get this error:

Notice: Undefined variable: boardurl in /home/mystery/public_html/forum/Themes/default/languages/Modifications.english.php on line 172

Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Tyrsson

Quote from: Mystery? on June 16, 2009, 01:33:28 AM
Hey I installed this mod on SMF RC1-1 but now I get this error:

Notice: Undefined variable: boardurl in /home/mystery/public_html/forum/Themes/default/languages/Modifications.english.php on line 172


I have not tested the mod on the 2RC1-1. I will try to test it in the next few days if I get time. YOu may be able to add the $boardurl to the list of globals at the start of the file and stop the error but I have not tested that yet.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Mystery?

Quote from: Tyrsson on June 16, 2009, 10:29:37 PM
Quote from: Mystery? on June 16, 2009, 01:33:28 AM
Hey I installed this mod on SMF RC1-1 but now I get this error:

Notice: Undefined variable: boardurl in /home/mystery/public_html/forum/Themes/default/languages/Modifications.english.php on line 172


I have not tested the mod on the 2RC1-1. I will try to test it in the next few days if I get time. YOu may be able to add the $boardurl to the list of globals at the start of the file and stop the error but I have not tested that yet.

Yeah, JZBlaze helped me solve that problem:

http://www.simplemachines.org/community/index.php?topic=318079.0;topicseen
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Mystery?

#1143
Suggestions:

- Update the mod for FlashChat 5.0.11 and SMF 2 RC1-1
- Fix the internal server error when exiting out of chat

I can't see settings for FlashChat in SMF.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

tyty1234

#1144
Quote from: Tyrsson on June 15, 2009, 02:18:32 PM
Quote from: tyty1234 on June 09, 2009, 05:44:45 AM
Ok, I've ran into a few problems with the mod.

I tried to replace the new files (the updates) in the inc/cmses folder, and then it gives me a reloadSettings() redeclared error, then I try using my old backup and tells me I'm banned. If I use the chat by itself, it logs me in, but then the chat room doesn't start. And then now my admin center shows this.

Quote
Forum version: SMF 2.0 RC1-1
Current SMF version: SMF 1.1.9

However, I think that's dealing with the SMF server, but I think I tried almost eveything, but nothing worked so far.

I am using 4.7.2 by the way.
Which version of the mod are you using? If you can provide some more background info it would help as I really have no idea what process you have went through. It makes me sorta thing that you may be using the mod version for the 1.x when you should be using the 2.0 mod version.
I was using the 2.0 version, and I was planning on reinstalling the Flash Chat as I still have the original installation files for Flash Chat 4.7.12. However, I did run into bugs in your mod if no one has reported it yet.

Code (Find) Select

// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.


Code (Add After) Select

// --- Begin FlashChat Integration ---

        // User stuff
            array('check', 'fc_showUsers'),
            array('check', 'fc_showUserCount'),
            // Display FlashChat inside the forum?
            array('check', 'fc_inForum'),
            // Open chat in new window?
            array('check', 'fc_newWindow'),
            // Width and height of FlashChat
            array('text', 'fc_width', 6),
            array('text', 'fc_height', 6, $txt['fc_height2'] . '<div class="smalltext">' . $txt['fc_size_desc'] . '</div>'),
        // --- End FlashChat Integration ---\


Find should be this.
Code (Find) Select

// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Mystery?

I can't see FlashChat settings and I checked the error log and I got undefined index: fc_(something)
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Tyrsson

Quote- Update the mod for FlashChat 5.0.11 and SMF 2 RC1-1
- Fix the internal server error when exiting out of chat
As soon as I can confirm there is no longer a security issue with the new version I will look into updating it for the new version of the chat. As for the internal server error I would need to know what version of the mod you are using etc. And I would also need to see the actual error. Is there any info given with the error? Have you checked the server error log to verify that it is coming from the code in this mod or from somewhere else?

QuoteI can't see FlashChat settings and I checked the error log and I got undefined index: fc_(something)
Well if your using the 2.0 version of the mod its because there are no settings for the mod in the admin area due to the 2.0 still being under development it would mean me updating the mod every time a new RC version was released and I simply do not have the time to do that. WHen 2.0 goes final the settings and chat template will be added back to the mod so it will open inside the forum much like the 1.x version does. As far as the undefined error.. Its helps if I have the entire error so I will know exactly which string is causing the problem.

@tyty1234
I have never had a problem with the mod installing and it would not if the text was wrong. Check your version of the file in which you are quoting.

PM at your own risk, some I answer, if they are interesting, some I ignore.

tyty1234

The version I am referring to is FlashChatSMF_2.0.zip

I emulated it on a RC1-1 version of SMF.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Tyrsson

I will look into it but it may be a couple days before I have the chance to check it. Work has been killer.
PM at your own risk, some I answer, if they are interesting, some I ignore.

tyty1234

That's fine. No one from my forum has been complaining about the chat not being present, so take your time. :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

jwwd

#1150
Hi

I have Flashchat integration running in my forum (SMF 2.0 RC1-1)

www.buskelundtoften.dk

Is it possible to present my active chatbot in the "whos in chatroom" in the footer ?

Best regards,

Henrik

FireDitto

I'm sorry if I missed this, but how do I delete rooms on the chat's list?

I have SMF 1.1.9 and FC 4.7.12

Everything is working beautifully, I just want to remove the default rooms, as I do not want nor need them.

Thank you.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

jwwd

Quote from: FireDitto on July 14, 2009, 01:25:01 AM
I'm sorry if I missed this, but how do I delete rooms on the chat's list?

I have SMF 1.1.9 and FC 4.7.12

Everything is working beautifully, I just want to remove the default rooms, as I do not want nor need them.

Thank you.

Hi

Try and go to the chat admin:

path_to_chat/admin.php

Best regards,

Henrik

FireDitto

#1153
Oh, thank you!

EDIT:

I have another question now ^^;

Is it possible to change it from displaying the sign-in name to displaying the Screen Name in the chat area? If so, how would I go about doing this?

Thanks again.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Kindred

change the call for name in the smf integration file (in flashchat to realname)

(this is listed in several threads over on tufat forums)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

evolution25

ok i keep getting a ?> on everything i even went back and read what someone else said and edited with my online ftp and still is there what should i do

Kindred

what program did you use to edit the file?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

evolution25

i used the online one in the cpanel

RedCairo

I used this code below -- which I got from earlier in the thread, but modified just so the path was correct (my 123flashchat is not on my local server but is remotely hosted by them).  But I'm getting an error,

QuoteFatal error: Cannot redeclare reloadsettings() (previously declared in {mypath}/htdocs/forum/Sources/Load.php:140) in {mypath}htdocs/forum/Sources/Load.php on line 355

So I went into the code (big block below) and removed the line

include('Sources/Load.php');

But that just led to the error:
QuoteFatal error: Class 'sql_db' not found in {mypath}/htdocs/forum/Sources/Load.php(1758) : eval()'d code(9) : eval()'d code on line 11

Not sure where to go here? Would appreciate any assistance.


if (!defined("SMF")) define("SMF", "1");
include('Settings.php');
include('Sources/Load.php');
include('Sources/Subs-Auth.php');
include("mysql4.php");
$_COOKIE[$cookiename] = stripslashes($_COOKIE[$cookiename]);
echo $_cookiename;
list ($ID_MEMBER, $password) = @unserialize($_COOKIE[$cookiename]);
$username_field = "memberName";     
$password_field = "passwd";
$usertable  = $db_prefix."members ";
$db = new sql_db($db_server, $db_user, $db_passwd, $db_name, false);
$sql = "SELECT " . $username_field.",".$password_field.
   " FROM " . $usertable . "
   WHERE ID_MEMBER = ".$ID_MEMBER;
   
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$username = $row[$username_field];
$password = $row[$password_field];
$user = '';
if($username !=''){
   $user = '&init_user='.$username.'&init_password='. $password;   
}

if (!defined("SMF")) define("SMF", "1");
global $user_info;
include("mysql4.php");
$user = '';
if($username !=''){
   
   $user = '&init_user='.$context['user']['name'].'&init_password=pass';
   
}

echo'
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,19,0" WIDTH="634" HEIGHT="476">
<PARAM NAME=movie VALUE="http://host7150.123flashchat.com/dojopsi/123flashchat.swf?init_host=host7150.123flashchat.com&init_port=21127&init_host_s=host7250.123flashchat.com&init_port_s=443&init_group=dojopsi&init_root=http://host7150.123flashchat.com/dojopsi/&init_room=1'. $user.'">
<PARAM NAME=quality VALUE="high">
<PARAM NAME="menu" value="false">
<EMBED src="http://host7150.123flashchat.com/dojopsi/123flashchat.swf?init_host=host7150.123flashchat.com&init_port=21127&init_host_s=host7250.123flashchat.com&init_port_s=443&init_group=dojopsi&init_root=http://host7150.123flashchat.com/dojopsi/&init_room=1'. $user.'"
quality=high menu=false WIDTH="634" HEIGHT="476" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>';


Kindred

123flashchat is different from flashchat.   this thread is specifically working with flashchat form tufat.com
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: