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

Icy Phoenix


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



bags [ Fri 20 Jul, 2007 15:12 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I don't undertsand how to manage users....
How can I integrate FlashChat so it can use icyPhoenix users?

When I run the /<chat>/install.php it ask me if I want to integrate it with an existing board, but I an't find IcyPhoenix :(

How do you do the user integration?

Bags!!!


darkone [ Fri 20 Jul, 2007 15:43 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Use the phpbb2.0+ entry and you should be fine :)


bags [ Fri 20 Jul, 2007 18:01 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
All works well but I like to know how to open a popup with the flashchat.
I mean, I made a link on forum header (near to "home", "forum" etc.) named "chat".
I'd like, if someone can help me, when the user click on "chat" the chat popup should be opened with automathic user login...

BAgs!!!


coolguy14783 [ Sun 22 Jul, 2007 02:41 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
bags wrote: [View Post]
All works well but I like to know how to open a popup with the flashchat.
I mean, I made a link on forum header (near to "home", "forum" etc.) named "chat".
I'd like, if someone can help me, when the user click on "chat" the chat popup should be opened with automathic user login...

BAgs!!!


Something like this (in the header links "Chat")?

If so, then follow these instructions

First open overall_header.tpl (or overall_header_mx.tpl or overall_header_sc.tpl [overall_header_xx.tpl], depending what templates you installed) in your template folder (ex. templates/mg_themes)

Then search for

Code: [Hide] [Select]
{UPI2DB_FIRST_USE}


After, add

Code: [Hide] [Select]
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=600,width=800');
if (window.focus) {newwindow.focus()}
return false;
}

// -->
</script>


You change the height and width to meet what you need

Then search for

Code: [Hide] [Select]
<a href="{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


One line after (or enter on your keyboard) add

Code: [Hide] [Select]
<a href="url/to/chat" onclick="return popitup('url/to/chat')">{L_CHAT}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


Change url/to/chat to the directory your chat is located, along with the script (ex. chat/flashchat.php)

Save and upload

Next go to the directory "includes/"

Find page_header.php

Open it

Find

Code: [Hide] [Select]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


After add

Code: [Hide] [Select]
'L_CHAT' => $lang['Chat'],


Save and upload


coolguy14783 [ Sun 22 Jul, 2007 02:55 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
To add chat as chat.php (such as this) and match the template, follow these instructions

Download the following attachment - FlashChatIP.zip

Extract the zip archive

Place chat.php in the directory where your icy is installed

Place chat_body.tpl in the template folder you are using (ex. templates/mg_themes)

Edit in chat_body.tpl

Code: [Hide] [Select]
<iframe src="url/to/chat" frameborder="0" width=100% height=600></iframe>


Change "url/to/chat" to your flashchat script location (ex. /chat/flashchat.php)

You can also change the width and height to what you want

Then go to the directory "/includes"

Open page_header.php

Find

Code: [Hide] [Select]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


One line after add

Code: [Hide] [Select]
'L_CHAT' => $lang['Chat'],
'U_CHAT' => append_sid('chat.' . $phpEx),


Save and upload


bags [ Mon 23 Jul, 2007 10:18 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Really Great :)

thx a lot,
Bags!!!


drexful [ Sat 28 Jul, 2007 00:40 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Quote:
To add chat as chat.php (such as this) and match the template, follow these instructions

Download the following attachment - FlashChatIP.zip

Extract the zip archive

Place chat.php in the directory where your icy is installed

Place chat_body.tpl in the template folder you are using (ex. templates/mg_themes)

Edit in chat_body.tpl

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
<iframe src="url/to/chat" frameborder="0" width=100% height=600></iframe>


Change "url/to/chat" to your flashchat script location (ex. /chat/flashchat.php)

You can also change the width and height to what you want

Then go to the directory "/includes"

Open page_header.php

Find

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


One line after add

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
'L_CHAT' => $lang['Chat'],
'U_CHAT' => append_sid('chat.' . $phpEx),


Save and upload





Instead of doing all the work of making tpl files and custom php files like this, why not do it the way I did here? It only takes a few minutes.

http://www.icyphoenix.com/viewtopic.php?t=1761&start=9#


coolguy14783 [ Sat 28 Jul, 2007 23:29 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
drexful wrote: [View Post]
Quote:
To add chat as chat.php (such as this) and match the template, follow these instructions

Download the following attachment - FlashChatIP.zip

Extract the zip archive

Place chat.php in the directory where your icy is installed

Place chat_body.tpl in the template folder you are using (ex. templates/mg_themes)

Edit in chat_body.tpl

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
<iframe src="url/to/chat" frameborder="0" width=100% height=600></iframe>


Change "url/to/chat" to your flashchat script location (ex. /chat/flashchat.php)

You can also change the width and height to what you want

Then go to the directory "/includes"

Open page_header.php

Find

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


One line after add

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
'L_CHAT' => $lang['Chat'],
'U_CHAT' => append_sid('chat.' . $phpEx),


Save and upload





Instead of doing all the work of making tpl files and custom php files like this, why not do it the way I did here? It only takes a few minutes.

http://www.icyphoenix.com/viewtopic.php?t=1761&start=9#


True. Maybe I just like doing things manually, that's all. And also others can learn from it too.


mamagallo [ Sun 26 Aug, 2007 21:29 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I would like to use flash chat of tufat, but I did not understand like carrying out the process of integration with Icyphoenix, you could explain it a little more detailed.....es than I am quite clumsy with php, excuse my English :cry: :cry:


reef_01 [ Mon 27 Aug, 2007 02:48 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Code: [Hide]
  1. #  
  2. #-----[ OPEN ]------------------------------------------  
  3. #  
  4. includes/constants.php  
  5. #  
  6. #-----[ FIND ]------------------------------------------  
  7. #  
  8. define('CONFIG_TABLE', $table_prefix . 'config');  
  9. #  
  10. #-----[ AFTER, ADD ]------------------------------------  
  11. #  
  12. define('CONNECTIONS', $table_prefix.'fc_connections');  
  13. #  
  14. #-----[ OPEN ]------------------------------------------  
  15. #  
  16. forum.php  
  17. #  
  18. #-----[ FIND ]------------------------------------------  
  19. #  
  20. // Generate the page  
  21. #  
  22. #-----[ BEFORE, ADD ]-----------------------------------  
  23. #  
  24. // FlashChat Who is connected in Chat  
  25. $sql = "SELECT u.username, u.user_level, u.user_id  
  26. FROM ". CONNECTIONS ." c, ". USERS_TABLE ." u  
  27. WHERE u.user_id = c.userid  
  28. ORDER BY u.username ASC";  
  29. if ( !($result = $db->sql_query($sql)) )  
  30. {  
  31. message_die(GENERAL_ERROR, 'Could not get user data', '', __LINE__, __FILE__, $sql);  
  32. }  
  33. $chatnums = $db->sql_numrows($result);  
  34. $user = array();  
  35. while ( $row = $db->sql_fetchrow($result) )  
  36. {  
  37. $user[] = $row;  
  38. }  
  39. for($i = 0; $i < count($user); $i++)  
  40. {  
  41.  
  42. $user_link = color_group_colorize_name($user[$i]['user_id']);  
  43. $userlist .= ( $userlist != '' ) ? ', ' . $user_link : $user_link;  
  44.  
  45. }  
  46. if ( $chatnums == 0 )  
  47. {  
  48. $l_chat_user_s = $lang['Chat_none'];  
  49. }  
  50. else  
  51. {  
  52. $l_chat_user_s = $userlist;  
  53. }  
  54. $template->assign_vars(array(  
  55. 'CHAT_USERNAME' => sprintf($l_chat_user_s, $chatnums),  
  56. 'CHAT_COUNT' => $chatnums,  
  57. 'CHAT_ONLINE' => $lang['Chat_online'],  
  58. 'CHAT_USER' => $lang['Chat_user'],  
  59. 'CHAT_INFO' => $lang['Chat_info'])  
  60. );  
  61. #  
  62. #-----[ OPEN ]------------------------------------------  
  63. #  
  64. templates/mg_themes/index_body.tpl  
  65. #  
  66. #-----[ FIND ]------------------------------------------  
  67. #  
  68. <td class="row1 row-center" rowspan="5" width="95" valign="middle">  
  69. #  
  70. #-----[ REPLACE WITH ]------------------------------  
  71. #  
  72. <td class="row1 row-center" rowspan="6" width="95" valign="middle">  
  73. #  
  74. #-----[ FIND ]------------------------------------------  
  75. #  
  76. <tr>  
  77. <td class="row1">  
  78. <span class="gensmall">  
  79. {L_Online_today}<br />  
  80. {L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />  
  81. {ADMINS_TODAY_LIST}<br />  
  82. {MODS_TODAY_LIST}<br />  
  83. {USERS_TODAY_LIST}<br />  
  84. </span>  
  85. </td>  
  86. </tr>  
  87. #  
  88. #-----[ AFTER, ADD ]------------------------------------  
  89. #  
  90. <tr>  
  91. <td class="row1">  
  92. <span class="gensmall">  
  93. {CHAT_INFO}<br />  
  94. {CHAT_ONLINE} <b>{CHAT_COUNT}</b><br />  
  95. {CHAT_USER} {CHAT_USERNAME}<br />  
  96. </span>  
  97. </td>  
  98. </tr>  
  99. #  
  100. #-----[ OPEN ]------------------------------------------  
  101. #  
  102. language/lang_english/lang_main.php  
  103. #  
  104. #-----[ FIND ]------------------------------------------  
  105. #  
  106. //$lang[''] = '';  
  107. #  
  108. #-----[ BEFORE, ADD ]-----------------------------------  
  109. #  
  110. $lang['Chat_none'] = 'None';  
  111. $lang['Chat_user'] = '<b>Users:</b>';  
  112. $lang['Chat_online'] = 'Number of users inside the chat:';  
  113. $lang['Chat_info'] = 'This data is based on users active inside the chat';  
  114. #  
  115. #-----[ OPEN ]------------------------------------------  
  116. #  
  117. language/lang_spanish/lang_main.php  
  118. #  
  119. #-----[ FIND ]------------------------------------------  
  120. #  
  121. //$lang[''] = '';  
  122. #  
  123. #-----[ BEFORE, ADD ]-----------------------------------  
  124. #  
  125. $lang['Chat_none'] = 'Ninguno';  
  126. $lang['Chat_user'] = '<b>Usuarios:</b>';  
  127. $lang['Chat_online'] = 'Número de usuarios dentro del chat:';  
  128. $lang['Chat_info'] = 'Estos datos estan basados en la actividad de usuarios dentro del chat';  
  129. #  
  130. #-----[ SAVE/CLOSE ALL FILES ]---------------------------  
  131. #  
  132. # EoM 

Example in English:
flashchat4fa4

Example in Spanish:
flashchat4bj7

P.D: Sorry, my english is not very good


darkone [ Thu 30 Aug, 2007 16:11 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
... ops


darkone [ Thu 30 Aug, 2007 16:12 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I would use my comments at the beginning of the thread. I am not a huge php guru and made it work with only two file edits and I think it looks better in the who's online block than the previous post and has more functionality because it lists your rooms and who is in them. Just my opinion thou :)


carmelomvp [ Thu 30 Aug, 2007 20:45 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
flash chat is free? can anybody put the link of ttheir web?


darkone [ Fri 31 Aug, 2007 13:45 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
No you have to pay $5 for it so its basically free :)


mamagallo [ Tue 11 Sep, 2007 01:36 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I have the Icy within a folder and wanted to place the flash chat in a different folder, civil employee with the changes that have proposed or would have to make something different? :?
I made some questions on integration with the Icy in the forums of support of the flash chat and they did not know to say nothing to me, I know the flash chat a long time ago because I have a Web with osdate that is a system of dating created by the same people of tufat.com


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 :mryellow: :thanks: :up:


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? :shock:


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! :evil:


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. :twisted:


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


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...

:mryellow: :mryellow:


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.... :oops:

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. :mryellow:

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. 8)

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! :P

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! :mryellow:

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

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! :censored:


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! :lol:


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

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! :P

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. :roll:

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! :lol:

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. :P

Anyway, I anxiously await your feedback. :mricy:


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. 8)


n1cks21 [ Sun 18 Jan, 2009 13:38 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
:D :D :D
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
:mrorange:


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. :P


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....... :oops: :oops:




Powered by Icy Phoenix