FlashChat - How To Get It Working In ICY »  Show posts from    to     

Icy Phoenix


Old Customizations - FlashChat - How To Get It Working In ICY



JHOSMAN [ Wed 12 Sep, 2007 16:50 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Enjoy! Thanks!

dibujo2mh1.th


mamagallo [ Sun 30 Sep, 2007 16:00 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
my problem is the following one: I finish installing in the premises the Chat Flash so that it works integrated with the Ici and it goes of wonder, the problem comes when attempt to change to the Link of chat in the main menu of navigation that this to the left, by but which I put in the panel of configuration of cms and change the Link in the dynamic menu east really does not change in the Web, already proved everything, takes to 5 hours fighting with this and nothing, if I do clik on chat within the Control Panel of cms if it works, but for some reason does not change in the vestibule and continues pointing at ajax chat. The Link of the head where it says Vestibule, Chat, New, Profile, To look for, FAQ, To connect themselves)... if it works, but within the dynamic menu no.


mamagallo [ Fri 05 Oct, 2007 15:14 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Good I gave a solution him not very elegant, changing to the name of the original file and re naming chat.php like ajax_chat.php, but what matters it is that it works. Thanks for the idea and the data of like doing it, can see it working Here


mamagallo [ Fri 12 Oct, 2007 17:22 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
hello, they excuse the annoyance, wanted to know if there is some form in which chat can add a Link to the block of the flash to return to the forum or to index?


Chaotic [ Sun 05 Oct, 2008 23:39 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
CrackerTracker is pretty aggravating and I wish there was an enable/disable switch in the ACP.

I'm having trouble installing this chat and it all happens on Step 3.5 (step_3.5.php). I get the infamous:

Quote:
CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit script so the Security System stopped the script.


If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a description what you have done before you could see this page, that the Admin has the possibility to fix the problem.


I've tried using the Doc Lopalong posted, CBACK CrackerTracker Has Detected A Potential Attack, but still get the same alert from CrackerTracker when I make it to step 3.5 in the installer. The problem is I have no clue where to put:

Code: [Hide] [Select]
define('CT_SECLEVEL', 'LOW');


because I cannot find:

Code: [Hide] [Select]
define('IN_PHPBB', true);


in the step_3.5.php.

Here is the step_3.5.php file:

Spoiler: [ Show ]


I don't know if I'll need to add more than: define('CT_SECLEVEL', 'LOW'); or not.

I also enabled debug mode in CrackerTracker and it recommends this: (Not sure why it showed up upside down, lol.)

Spoiler: [ Show ]


That still didn't work.

Any help will greatly be appreciated.


Lopalong [ Mon 06 Oct, 2008 00:59 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
You can try any one of the following two:

Remove all of the other ct commands and after the <?php on a new line either add:

// CTracker_Ignore: File checked by human

or

define('CT_SECLEVEL', 'LOW');

If I get time today, I'll have a look at the whole MOD - Don't hold your breath.


Chaotic [ Mon 06 Oct, 2008 01:02 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I tried those two lines and still receive the same error.

I love CBACK!


Lopalong [ Mon 06 Oct, 2008 01:48 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I will have look later today and re-write anything that's necessary to get it to work - That's if I can get it to work also.


Chaotic [ Mon 06 Oct, 2008 04:37 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Won't you need the script?


DWho [ Mon 06 Oct, 2008 09:05 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
place this in the chat/install.php file

Code: [Hide] [Select]
$ct_ignorepvar = array('name_0_845','name_1_845','name_2_845','name_3_845','name_4_845','name_5_845','name_6_845','
name_7_845','name_8_845','name_9_845','name_10_845','name_11_845','fld_0_846','fld_1_846','fld_2_846',
'fld_3_846','fld_4_846','fld_5_846','fld_6_846','fld_7_846','fld_8_846','fld_9_846','fld_10_846','fld_11_846');
define('CT_SECLEVEL', 'MEDIUM');


after

Code: [Hide] [Select]
//error_reporting(E_ALL);


it worked for me...



Lopalong [ Mon 06 Oct, 2008 09:35 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
@ Dwho,

He's having probs installing not running it.

I also have it bridged and running and haven't had your problem - - - - YET! So we'll see what happens.

Notes:

The chat folder must be one level under your forum eg, /forum/chat
Step_3.5.php apparently starts the the bridge file for phpBB 2.0.10 and above and phpBB2CMS.php is the actual bridge??




Here are some unfinished instructions for you to go on with, while I have a look at integrating the rest of it with CMS and templates etc.

Download FlashChat From Here:

http://www.tufat.com/s_flash_chat_chatroom.htm

Unzip and Copy the chat folder and contents to your-forum/chat

Spoiler: [ Show ]


DWho [ Mon 06 Oct, 2008 10:35 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I installed flashchat 2 days ago and ctracker blocked the installation the code above worked to install it....

my bad I meant the install.php file not the index.php file....

I have corrected my post above...

the only problem after install is when in chat the profile link to a user does not take you to the users profile in ICY...

I tested this with a vanilla phpbb and it works fine so there is a slight differance in the code for icy ... I have not had a chance to look though I doubt I would know the changes....

FYI


Lopalong [ Mon 06 Oct, 2008 10:48 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Thanks for correcting it, because now it's something that I wont have to look out for.

There are probably other ways of doing it with cTracker, but both the install.php and install_files folder get removed anyway, so cTracker security becomes redundant for those files.

The other problem (re profile) you mention is probably related to the path / permissions etc - don't know, but it's something that we can work out later.

Or I may look at that first - Will be in touch.

Edit:

Re the profile: It appears that that is controlled here ->


phpBB2CMS.php

Code: [Hide] [Select]
Find:

function getUserProfile($userid) {
if($user = $this->getUser($userid)) {
return (($id = $this->isLoggedIn()) && ($id == $userid))?"../profile.php?mode=editprofile":"../profile.php?mode=viewprofile&u=$userid";
} else {
return null;
}
}


But it's not even being addressed. So who's going to hit the FlashChat forums to find out where the path is from the "Profile" in the menu to this bridge. ? Not me!

And for all the good index.tpl is you may as well delete the content and add the script below so that FlashChat isn't accessible in any way from the web:

Code: [Hide] [Select]
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>


Still picking my way through this........ To be continued.


Chaotic [ Mon 06 Oct, 2008 23:15 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Lop,

You don't need to go any further. I didn't know everyone was using FlashChat_v4712. I was trying to install FlashChat_v508. That's why I was having problems installing.

So I went ahead and successfully installed v4712 with no problems.

Thanks!


Lopalong [ Tue 07 Oct, 2008 00:46 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Chaotic!

Good Googs! Now I can uninstall it, as I assume the Block / Index write-up is still relevant.

OT:

I had a look at FlashChat forums, and if anyone wants to know why I'm a stickler for descriptive titles here; then I challenge them to go there and find something.

What a mess!


Chaotic [ Tue 07 Oct, 2008 02:31 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Well, a change or two needs to be added regarding the Who Is Online section.

The formatting is all screwed up. The block code works perfectly though!


Lopalong [ Tue 07 Oct, 2008 08:10 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Ok mate, you owe me!

Try this, but I don't know how it's going to wrap or what it's going to do.

And because there are two different applications for this modification - It needs two files.

So consider it a Beta-Test!

Copy the file in the .zip to /chat

Then apply the code here.

Code: [Hide] [Select]
Open:

index_body.tpl

Find:
{USERS_TODAY_LIST}<br />

After Add:

<iframe height="12" frameborder="0" src="chat/info_embedded_wol.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>


Should get what's in the pic - But as I said - I don't know if it's going to behave or not.

chat

Re:
Chaotic wrote: 
I was trying to install FlashChat_v508.


I initially installed v508 and that's what I'm using?


Chaotic [ Tue 07 Oct, 2008 16:57 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Hey Loopy ,

I uploaded the file and made the code addition and it worked! Last night we had about 12 people in our chat room so I should be able to see if this thing wraps or not later on. I'll report back on that one!

I was reading on the Tufat forums about the latest version of FlashChat, v_508, and saw so many posts/threads of people that were pissed off at how buggy the script was. I'm glad I'm not using it, but it did have some nice modules that came with it. (MP3 player, audio/video, ads, radio, etc.)

Thanks again for the help mate!

wio


Lopalong [ Tue 07 Oct, 2008 23:29 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I thought that there were a lot of stupid questions there. Much like here!

Buggy? Don't know! But bridging seems to be the main issue, and one can't blame the devs for not keeping up with all the changes to other software, when trying to focus on making their own product a lot better.

Anyway, I anxiously await your feedback.


n1cks21 [ Sun 18 Jan, 2009 02:22 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I have just installed Flash Chat and your above update however I have a few problems...

the above attachment works but displays the text in black how do I change it to white (yes I know it's a newbie question but I am pulling ny hair out trying to sort it)

and the other problem is now that I have installed Flash Chat I get the below error at the top of some pages ie if I click on the search link or the new link:-

Spoiler: [ Show ]


also my Shoutbox has stopped working a similar error message:-

Spoiler: [ Show ]



please help before I go insane ahhhhhhhhhhhhhhhhhhhhh

oh by the way I am running IP 1.2.0.27c and flash chat 5010
flash chat works great, it's just screwed up my site

any help would be fantastic


Lopalong [ Sun 18 Jan, 2009 06:36 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
It appears that you have corrupted some files you have edited. Try using a different editor and put the cursor just before the <?php and backspace it three times. Sounds stupid - It's not - and then make sure you save the files as "Save As" txt file and not just "save".

And also make sure you are uploading the files in Binary Mode.


n1cks21 [ Sun 18 Jan, 2009 13:38 ]
Post subject: Re: FlashChat - How To Get It Working In ICY

that worked a treat thank you, however I still have the issue with the above patch as the text "( 0 users in 1 room )" is black and can hardly be read I could do with changing it to white, I managed to change the "Flash Chat:" text to white but am really struggling with the "( 0 users in 1 room )" text........

once again many thanks


Lopalong [ Sun 18 Jan, 2009 21:37 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
This is the script in the file and I don't have it installed, so you will have to play.

Code: [Hide] [Select]
<td class=row1"><strong>Flash Chat:</strong></td>
<td class=normal>( <?php echo $usernumb ?> user<?php if ($usernumb != 1) echo "s" ?> in <?php echo $roomnumb ?> room<?php if ($roomnumb != 1) echo "s"; ?> )</td>
<td id="roomList">
<?php if($roomnumb) { ?>
<?php foreach($rooms as $room) { ?>
<td>&diams; <strong><a href="#" onclick="javascript:toggleUserList('room_<?php echo $room['id']?>')"><?php echo $room['name']?> (<?php echo numusers($room['id']) ?>)</a></strong>


td class=row1"

td class=normal
I think "Normal" is the one you either need to change to match something already in the style_*.css or just add <style="font-color: nipple-pink;"> Lol!

<td>&diams; <strong><a href - - - - -
You can change this to <td class="Whatever etc">&diams; <strong><a href


n1cks21 [ Mon 19 Jan, 2009 01:09 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
could you explain in more detail as i have no idea where or what to look for in the style_*.css file, I have just spent hours trying to sort this out, I finally made these changes to your above script

Spoiler: [ Show ]


and these changes:-

Spoiler: [ Show ]


but with no joy, the Flash Chat text is white but the other text ("( 1 user in 1 room ) ♦ (Room Name) (1) n1cks21") stays black (apart from the Room Name which is a blue color)

sorry about this but it's driving me nuts !!!!!!!!!!!!!!!!!!!


Lopalong [ Mon 19 Jan, 2009 02:55 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Shouldn't use digits in the .css

Try this etc:

.style_a {
color: #FFFFFF;
font-weight: bold;
}


Spoiler: [ Show ]


n1cks21 [ Mon 19 Jan, 2009 10:15 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
still no joy, I get the same result as before ("the Flash Chat text is white but the other text ("( 1 user in 1 room ) ♦ (Room Name) (1) n1cks21") stays black (apart from the Room Name which is a blue color)")

but I am not convinced I am putting the :-

.style_a {
color: #FFFFFF;
font-weight: bold;
}

code in the right place, I am putting it here :-

info_embedded_wol

Spoiler: [ Show ]


aaaaaahhhhhhhhhhhhhhhhhhhhhhhhhh


Lopalong [ Mon 19 Jan, 2009 21:28 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
It appears that the style needs to be echoed along with the var calling the names etc.

You could ask darkone if he his going to run with this MOD to both fix it, and possibly upgrade it for the next version of IP.

If he says no, then I'll have a look at fixing it so that it is compatible with IP .css and the next version of IP.


n1cks21 [ Tue 20 Jan, 2009 02:06 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Thanks, I have just sent a PM to darkone, but it doesnt look like he has been active since last week so I might have to wait for a while before I get an answer.


n1cks21 [ Wed 21 Jan, 2009 12:42 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Lopalong wrote: [View Post]
It appears that the style needs to be echoed along with the var calling the names etc.

You could ask darkone if he his going to run with this MOD to both fix it, and possibly upgrade it for the next version of IP.

If he says no, then I'll have a look at fixing it so that it is compatible with IP .css and the next version of IP.


is there anything else I can try while I wait to hear back from darkone ????


n1cks21 [ Fri 23 Jan, 2009 22:08 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
n1cks21 wrote: [View Post]
Lopalong wrote: [View Post]
It appears that the style needs to be echoed along with the var calling the names etc.

You could ask darkone if he his going to run with this MOD to both fix it, and possibly upgrade it for the next version of IP.

If he says no, then I'll have a look at fixing it so that it is compatible with IP .css and the next version of IP.


is there anything else I can try while I wait to hear back from darkone ????


still heard nothing back for the darkone, I just want to bump this up as it is really causing me a headache ahhhhhhhhhhhhhh


n1cks21 [ Sat 31 Jan, 2009 02:21 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
n1cks21 wrote: [View Post]
n1cks21 wrote: [View Post]
Lopalong wrote: [View Post]
It appears that the style needs to be echoed along with the var calling the names etc.

You could ask darkone if he his going to run with this MOD to both fix it, and possibly upgrade it for the next version of IP.

If he says no, then I'll have a look at fixing it so that it is compatible with IP .css and the next version of IP.


is there anything else I can try while I wait to hear back from darkone ????


still heard nothing back for the darkone, I just want to bump this up as it is really causing me a headache ahhhhhhhhhhhhhh


Lopalong [ Sat 31 Jan, 2009 08:11 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
In the next couple of days - I'll have a look at it and convert it to the new version of IP at the same time.


DWho [ Sat 31 Jan, 2009 11:48 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I have tried added this, well it works sometimes... the profile link does not link to an icy profile..(when you are in chat and click on a username) and I spent a few hours looking through the code to find out why... but could not find the answer it would seem icy has some different variables that are beyond my skills...

I wish you success with this one Lopalong as it is a great addon


Lopalong [ Sat 31 Jan, 2009 12:28 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Without looking at it yet, I'm glad you mentioned it; as it is more than likely a re-direct (Sprint) whatever. But I will install it and see if I can debug it to do everything that's expected of it for IP - Stand by! As I may want some beta testers.


Edit:

@n1cks

Find this line and after 10px; add color:#FFFFFF;

body { background-color: transparent; margin: 0; padding: 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; font-size: 10px;}


n1cks21 [ Sun 01 Feb, 2009 01:04 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Lopalong wrote: [View Post]


@n1cks

Find this line and after 10px; add color:#FFFFFF;

body { background-color: transparent; margin: 0; padding: 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal; font-size: 10px;}


In which file ??? I assumed you meant info_embedded_wol.php but I couldnt find it.......


Lopalong [ Sun 01 Feb, 2009 01:43 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Was there the last time I looked.

Anyway, this is a better way of doing even though both do roughly the same thing, this one gives more options.

Just find the colours in the <Style> and change to suit your forum.

The next version may be integrated with Icy Phoenix - Maybe not.

Spoiler: [ Show ]


n1cks21 [ Sun 01 Feb, 2009 02:33 ]
Post subject: Re: FlashChat - How To Get It Working In ICY


Thanks Lopalong, it works great, it has fixed my problem.......... not sure about some of your color choices though....... PINK for a room color

many thanks again


Lopalong [ Sun 01 Feb, 2009 02:46 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Hehehehe!

It certainly shows where to change what,

That's why I didn't use color: #whatever.


n1cks21 [ Sun 01 Feb, 2009 02:58 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
well thanks agian and keep up the good work you do on here my next change is to attempt your "reducing the theme to 80%" mod




Lopalong [ Sun 01 Feb, 2009 07:39 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Well Mate,

I don't know who is going to upgrade this FlashChat for the next version of Icy Phoenix because I've just spent a couple of hours with it, and the "New" constants replacing the bridge vars are not making any sense to FlashChat Script.

Even with my limited experience - When FlashChat throws errors from its own script because of the way the bridge constants are newly defined, the whole thing becomes a mess because it's not the normally accepted way of doing things as seen by others.

MyBB did the same with some of their script - and no add-ons and bridge files were either modified or supported any longer by any of the creators who just simply wiped them off. Coppermine is one example.

So! It's either over to MG to sort this out, or someone needs to contact the creators of FlashChat - Because I've just wiped it off my things to do list.

And possibly a lot of other things too.




Powered by Icy Phoenix