Icy Phoenix
Old Customizations - FlashChat - How To Get It Working In ICY
darkone [ Fri 27 Apr, 2007 15:00 ]
Post subject: FlashChat - How To Get It Working In ICY
Hey Everyone
Ok. Lastnight I sat here until I figured it out and I did. I got the flashchat users (who's online) to work and now you can display it in the 'Who's Online' block in the forum and in a block on the portal. I will list how to do both. There is a bit more I would like to do with this and i'm just not proficient enough in mysql and php to do it so maybe someone can help me?
All work based off of v4.7.10 and ICY 1.0.11.11 RC
REMEMBER to back up your files!
First the block creation:
1. Create Text/HTML block and give it the settings you want.
2. Now insert this into the Text/Html section:
<iframe height="100" frameborder="0" src="chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>
Note: src="chat/info_embedded.php" the src path needs to be the correct path from root to info_embedded.php.
3. Save your your work and refresh the portal and it should be working.
Example screenshot:
Now the Who's Online Block in the forum area:
1. Yes you could just use the block we created but some people may not want too and I think it looks pretty good in there anyway.
2. Locate your index_body.tpl and make the following changes:
FIND
<tr>
<td class="row1" valign="middle">
<span class="gensmall">
{L_ONLINE_EXPLAIN}<br />
{TOTAL_USERS_ONLINE}<br />
{LOGGED_IN_USER_LIST}<br />
{BOT_LIST}
</span>
</td>
</tr>
<tr>
<td class="row1">
<span class="gensmall">
{L_Online_today}<br />
{L_USERS_TODAY} {L_USERS_LASTHOUR}<br />
{ADMINS_TODAY_LIST}<br />
{MODS_TODAY_LIST}<br />
{USERS_TODAY_LIST}<br />
</span>
</td>
</tr>
AFTER, INSERT
<tr>
<td class="row2" align="center"><br>
<font color="blue"><b><u>Adult Live Chat Users Online:</u></b></font>
<iframe height="100" frameborder="0" src="chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>
</td>
</tr>
Same as above make sure the 'src=' is the correct path to info_embedded.php. The 'font' line I have in there is to give it a heading so it looks better in the block.
Here is a screenshot:
You can edit the info_embedded.php file to make changes to the actual text that is displayed in the block.
I will make another post for help with my additions to this little mod I guess you can call it.
So enjoy and hey i'm getting a bit better at this php stuff this is getting scary. Now I am a danger to my website
-D1-
hpl [ Fri 27 Apr, 2007 15:11 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
nice work!!
sonoangelo [ Fri 27 Apr, 2007 21:46 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
excellent works well

exspecially with phpbb integratione, very thanks friend

darkone [ Fri 27 Apr, 2007 23:10 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Your Welcome.
If anyone has any clue on how to help me with my other suggestions to make this little integration complete please post and I will test the code and hopefully get it working. Once all this works I will edit this post and it will be the end all to FlashChat in Icy
-D1-
Mighty Gorgon [ Tue 01 May, 2007 19:21 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Thanks, moved to Customizations.
lucentgem [ Sat 05 May, 2007 07:26 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Note: src="chat/info_embedded.php" the src path needs to be the correct path from root to info_embedded.php.
For those of use who are, shall we say, PHP challenged
...can you explain what this means? I couldn't find a file named info_embedded.php. Only files I can find that refer to the ajax chat that would make sense to me don't bring up the information you show in your screenshot. Thanks btw, this is a cool mod. :*)
darkone [ Wed 09 May, 2007 14:22 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Lucentgem this is for FlashChat it is a seperate chat program outside of Icy Phoenix that is used by a lot of people.
Here is where you can get it. It's a pretty nice program and from what I have seen stable and its only $5
http://www.tufat.com/s_flash_chat_chatroom.htm
lucentgem [ Thu 10 May, 2007 03:36 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
er...silly silly me lol. I thought that something was a little off. Thanks for the info. :*)
drexful [ Fri 22 Jun, 2007 06:02 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I've been using FC for a couple years now.. It is a great chat s/w package. I integrated it with my phpbbFM forums and it worked great! I can't wait to play around with ICY and Flashchat!
drexful [ Wed 27 Jun, 2007 07:16 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Got Flashchat working today.
Here are some screen caps for setup via CMS page
Here is the code to put in the page..
<IFRAME SRC="/forum/chat/flashchat.php" WIDTH=100% HEIGHT=500></IFRAME>
Mighty Gorgon [ Fri 29 Jun, 2007 00:06 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Thank you very much for posting this.

drexful [ Mon 09 Jul, 2007 18:13 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
Sure

vascoseigrande [ Fri 20 Jul, 2007 00:39 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
as you have done to install her? and' only for phpbb?
drexful [ Fri 20 Jul, 2007 00:57 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I don't know what you are asking..
vascoseigrande [ Fri 20 Jul, 2007 12:54 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
I don't understand as it integrates him inside icy phoenix..
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
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
After, add
<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
<a href="{U_INDEX}">{L_INDEX}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
One line after (or enter on your keyboard) add
<a href="url/to/chat" onclick="return popitup('url/to/chat')">{L_CHAT}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
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
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],
After add
'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
<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
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],
One line after add
'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
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

reef_01 [ Mon 27 Aug, 2007 02:48 ]
Post subject: Re: FlashChat - How To Get It Working In ICY
- #
- #-----[ OPEN ]------------------------------------------
- #
- includes/constants.php
- #
- #-----[ FIND ]------------------------------------------
- #
- define('CONFIG_TABLE', $table_prefix . 'config');
- #
- #-----[ AFTER, ADD ]------------------------------------
- #
- define('CONNECTIONS', $table_prefix.'fc_connections');
- #
- #-----[ OPEN ]------------------------------------------
- #
- forum.php
- #
- #-----[ FIND ]------------------------------------------
- #
- // Generate the page
- #
- #-----[ BEFORE, ADD ]-----------------------------------
- #
- // FlashChat Who is connected in Chat
- $sql = "SELECT u.username, u.user_level, u.user_id
- FROM ". CONNECTIONS ." c, ". USERS_TABLE ." u
- WHERE u.user_id = c.userid
- ORDER BY u.username ASC";
- if ( !($result = $db->sql_query($sql)) )
- {
- message_die(GENERAL_ERROR, 'Could not get user data', '', __LINE__, __FILE__, $sql);
- }
- $chatnums = $db->sql_numrows($result);
- $user = array();
- while ( $row = $db->sql_fetchrow($result) )
- {
- $user[] = $row;
- }
- for($i = 0; $i < count($user); $i++)
- {
-
- $user_link = color_group_colorize_name($user[$i]['user_id']);
- $userlist .= ( $userlist != '' ) ? ', ' . $user_link : $user_link;
-
- }
- if ( $chatnums == 0 )
- {
- $l_chat_user_s = $lang['Chat_none'];
- }
- else
- {
- $l_chat_user_s = $userlist;
- }
- $template->assign_vars(array(
- 'CHAT_USERNAME' => sprintf($l_chat_user_s, $chatnums),
- 'CHAT_COUNT' => $chatnums,
- 'CHAT_ONLINE' => $lang['Chat_online'],
- 'CHAT_USER' => $lang['Chat_user'],
- 'CHAT_INFO' => $lang['Chat_info'])
- );
- #
- #-----[ OPEN ]------------------------------------------
- #
- templates/mg_themes/index_body.tpl
- #
- #-----[ FIND ]------------------------------------------
- #
- <td class="row1 row-center" rowspan="5" width="95" valign="middle">
- #
- #-----[ REPLACE WITH ]------------------------------
- #
- <td class="row1 row-center" rowspan="6" width="95" valign="middle">
- #
- #-----[ FIND ]------------------------------------------
- #
- <tr>
- <td class="row1">
- <span class="gensmall">
- {L_Online_today}<br />
- {L_USERS_TODAY} {L_USERS_LASTHOUR}<br />
- {ADMINS_TODAY_LIST}<br />
- {MODS_TODAY_LIST}<br />
- {USERS_TODAY_LIST}<br />
- </span>
- </td>
- </tr>
- #
- #-----[ AFTER, ADD ]------------------------------------
- #
- <tr>
- <td class="row1">
- <span class="gensmall">
- {CHAT_INFO}<br />
- {CHAT_ONLINE} <b>{CHAT_COUNT}</b><br />
- {CHAT_USER} {CHAT_USERNAME}<br />
- </span>
- </td>
- </tr>
- #
- #-----[ OPEN ]------------------------------------------
- #
- language/lang_english/lang_main.php
- #
- #-----[ FIND ]------------------------------------------
- #
- //$lang[''] = '';
- #
- #-----[ BEFORE, ADD ]-----------------------------------
- #
- $lang['Chat_none'] = 'None';
- $lang['Chat_user'] = '<b>Users:</b>';
- $lang['Chat_online'] = 'Number of users inside the chat:';
- $lang['Chat_info'] = 'This data is based on users active inside the chat';
- #
- #-----[ OPEN ]------------------------------------------
- #
- language/lang_spanish/lang_main.php
- #
- #-----[ FIND ]------------------------------------------
- #
- //$lang[''] = '';
- #
- #-----[ BEFORE, ADD ]-----------------------------------
- #
- $lang['Chat_none'] = 'Ninguno';
- $lang['Chat_user'] = '<b>Usuarios:</b>';
- $lang['Chat_online'] = 'Número de usuarios dentro del chat:';
- $lang['Chat_info'] = 'Estos datos estan basados en la actividad de usuarios dentro del chat';
- #
- #-----[ SAVE/CLOSE ALL FILES ]---------------------------
- #
- # EoM
Example in English:
Example in Spanish:
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!

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
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:
define('CT_SECLEVEL', 'LOW');
because I cannot find:
define('IN_PHPBB', true);
in the step_3.5.php.
Here is the step_3.5.php file:
<?php
// formatting module dir name, to module name. artemK0
function performModuleName($name)
{
$name = str_replace('_', ' ', $name);
$return = '';
for($i = 0; $i < strlen($name); $i++)
{
if($i == 0)
{
$return = strtoupper($name[0]);
}
elseif($name[$i-1] == ' ')
{
$return .= strtoupper($name[$i]);
}
else
{
$return .= $name[$i];
}
}
return $return;
}
function selectFields($module_path, $module_id)
{
global $anchor_points;
$query = 'SELECT '.$GLOBALS['fc_config']['db']['pref'].'config.*, '.$GLOBALS['fc_config']['db']['pref'].'config_values.value
FROM '.$GLOBALS['fc_config']['db']['pref'].'config, '.$GLOBALS['fc_config']['db']['pref'].'config_values
WHERE '.$GLOBALS['fc_config']['db']['pref'].'config.parent_page = ? AND
'.$GLOBALS['fc_config']['db']['pref'].'config.id = '.$GLOBALS['fc_config']['db']['pref'].'config_values.config_id AND
'.$GLOBALS['fc_config']['db']['pref'].'config_values.instance_id = ?
ORDER BY _order';
$stmt = new Statement($query, 401);
$f = $stmt->process('modules', $_SESSION['session_inst']);
$fields = array();
$values = array();
$selected_key = -1;
$anchor_tmp = '';
while($v = $f->next())
{
$fields[$v['id']] = $v;
if ( $fields[$v['id']]['level_1'] == 'anchor' )
{
$anchor_tmp = $fields[$v['id']]['value'];
}
if ( $fields[$v['id']]['level_1'] == 'path' )
{
$values_search = explode(',', $fields[$v['id']]['value']);
if(array_search($module_path, $values_search) !== false)
{
$selected_key = array_search($module_path, $values_search);
}
}
$fields[$v['id']]['comment'] = addslashes($fields[$v['id']]['comment']);
if ($fields[$v['id']]['level_1'] != 'anchor' && $fields[$v["id"]]['level_1'] != 'path' && $fields[$v["id"]]['level_1'] != 'stretch')
{
$fields[$v['id']]['type'] = 'integer';
}
if ( $fields[$v['id']]['level_1'] == 'stretch' )
{
$fields[$v['id']]['type'] = 'boolean';
}
$fields[$v['id']]['info']=str_replace('"', "'", $fields[$v['id']]['info']);
$values_found = explode(',', $fields[$v['id']]['value']);
$values[$fields[$v['id']]['level_1']] = $values_found[$selected_key];
}
$tmp_arr = explode(',', $anchor_tmp);
$values['anchor'] = $tmp_arr[$selected_key];
$string_fields = '';
$dis = '';
foreach($fields as $k => $v)
{
if($k == 1191) continue;
switch($v['type'])
{
case 'combo':
if($v['level_1'] == 'path')
{
$field_elem = $module_path;
$field_elem .= '<input type="hidden" name="fld_'.$module_id.'_846" value="'.$module_path.'">';
$field_elem .= ' <a href="#" class="hintanchor" onMouseover="showhint(''.$v['info'].'', this, event, '200px')" >[?]</a>';
$string_fields .= '<tr><td width="30%" valign="top"><b>'.$v['title'].'</b>';
$string_fields .= '<input type="hidden" name="type_'.$module_id.'_'.$v['id'].'" value="'.$v['type'].'">';
$string_fields .= '<input type="hidden" name="name_'.$module_id.'_'.$v['id'].'" value="'.$v['title'].'">';
$string_fields .= '<input type="hidden" name="field_'.$module_id.'_'.$v['id'].'" value="'.$v['level_1'].'">';
$string_fields .= '</td><td width="70%" valign="top" nowrap>'.$field_elem.'</td></tr>';
continue;
}
$field_elem = '<select name="fld_'.$module_id.'_'.$v['id'].'" onChange="javascript:
if(this.value == -1)
{
';
for($j=848; $j<852; $j++)
{
$field_elem .= 'document.getElementById('inner_div_'.$module_id.'').style.display = 'block';';
}
$field_elem .='
}
else
{
';
for($j=848; $j<852; $j++)
{
$field_elem .= 'document.getElementById('inner_div_'.$module_id.'').style.display = 'none';';
}
$field_elem .='
}">';
foreach($anchor_points as $an_value => $an_name)
{
if($an_value == $values[$v['level_1']])
{
$field_elem .= '<option value="'.$an_value.'" selected>'.$an_name;
if($an_value != -1)
{
$dis = 'style="display:none"';
}
else
{
$dis = '';
}
}
else
{
$field_elem .= '<option value="'.$an_value.'">'.$an_name;
}
}
$field_elem .= '</select>';
$field_elem .= ' <a href="#" class="hintanchor" onMouseover="showhint(''.$v['info'].'', this, event, '200px')" >[?]</a>';
$string_fields .= '<tr><td width="30%" valign="top"><b>'.$v['title'].'</b>';
$string_fields .= '<input type="hidden" name="type_'.$module_id.'_'.$v['id'].'" value="'.$v['type'].'">';
$string_fields .= '<input type="hidden" name="name_'.$module_id.'_'.$v['id'].'" value="'.$v['title'].'">';
$string_fields .= '<input type="hidden" name="field_'.$module_id.'_'.$v['id'].'" value="'.$v['level_1'].'">';
$string_fields .= '</td><td width="70%" valign="top" nowrap>'.$field_elem.'</td></tr>';
break;
case 'boolean':
$radio_true = 'checked';
$radio_false = '';
if($values[$v['level_1']] == 'false')
{
$radio_true = '';
$radio_false = 'checked';
}
$field_elem = '<input type="Radio" name="fld_'.$module_id.'_'.$v['id'].'" '.$radio_true.' value="true" id="yes"><label for="yes">Yes</label>';
$field_elem .= '<input type="Radio" name="fld_'.$module_id.'_'.$v['id'].'" '.$radio_false.' value="false" id="no"><label for="no">No</label>';
$field_elem .= ' <a href="#" class="hintanchor" onMouseover="showhint(''.$v['info'].'', this, event, '200px')" >[?]</a>';
$string_fields .= '<tr><td width="30%" valign="top"><b>'.$v['title'].'</b>';
$string_fields .= '<input type="hidden" name="type_'.$module_id.'_'.$v['id'].'" value="'.$v['type'].'">';
$string_fields .= '<input type="hidden" name="name_'.$module_id.'_'.$v['id'].'" value="'.$v['title'].'">';
$string_fields .= '<input type="hidden" name="field_'.$module_id.'_'.$v['id'].'" value="'.$v['level_1'].'">';
$string_fields .= '</td><td width="70%" valign="top" nowrap>'.$field_elem.'</td></tr>';
$string_fields .= '<tr><td width="100%" valign="top" colspan="2">';
$string_fields .= '<div id="inner_div_'.$module_id.'" '.$dis.'>';
$string_fields .= '<table border="0" cellpadding="0" cellspacing="2" width="100%" class="body_table" style="border-top: 0px; border-bottom: 0px; border-left: 0px; border-right: 0px">';
break;
case 'integer':
$field_elem = '<input type="Text" size="5" name="fld_'.$module_id.'_'.$v['id'].'" value="'.$values[$v['level_1']].'"> <a href="#" class="hintanchor" onMouseover="showhint(''.$v['info'].'', this, event, '200px')" >[?]</a>';
$string_fields .= '<tr><td width="30%"><b>'.$v['title'].'</b>';
$string_fields .= '<input type="hidden" name="type_'.$module_id.'_'.$v['id'].'" value="'.$v['type'].'">';
$string_fields .= '<input type="hidden" name="name_'.$module_id.'_'.$v['id'].'" value="'.$v['title'].'">';
$string_fields .= '<input type="hidden" name="field_'.$module_id.'_'.$v['id'].'" value="'.$v['level_1'].'">';
$string_fields .= '</td><td width="70%" valign="top" nowrap>'.$field_elem.'</td></tr>';
break;
}
}
$string_fields .= '</table></div></td>';
return $string_fields;
}
// array of anchor points. artemK0
$anchor_points = array('-1' => 'Floating',
'0' => 'Center of space below Room List',
'1' => 'Top-Left of space below Room List',
'2' => 'Top-Right of space below Room List',
'3' => 'Bottom-Left of space below Room List',
'4' => 'Bottom-Right of space below Room List',
'5' => 'Top-Left of Title Bar',
'6' => 'Top-Center of Title Bar',
'7' => 'Top-Right of Title Bar',
'8' => 'Top-Left of Chat Pane',
'9' => 'Top-Right of Chat Pane',
'10' => 'Bottom-Right of Chat Pane',
'11' => 'Bottom-Left of Chat Pane',
'12' => 'Center of Chat Pane'
);
// array of installed modules. artemK0
$d = dir(INC_DIR . '../modules');
$entries = array();
$all_modules = array();
$i = 0;
while($entry = $d->read())
{
if($entry == '.' || $entry == '..' || $entry == 'readme.txt') continue;
$entries[] = $entry;
}
natcasesort($entries);
foreach($entries as $k=>$entry)
{
$entry_d = dir(INC_DIR . '../modules/'.$entry);
while($mod_name = $entry_d->read())
{
if(strpos($mod_name, '.swf') !== false)
{
$all_modules[$i] []= $entry;
$all_modules[$i] []= 'modules/'.$entry.'/'.$mod_name;
}
}
$entry_d->close();
$i++;
}
$d->close();
// [SUBMIT]---------------------------------------------------------------------
if( isset($_POST['module125']) && $_POST['module125'] )
{
$tmp_post = array();
foreach($_POST as $k => $v)
{
$exploded_k = explode('_', $k);
if($exploded_k[0] == 'fld' && $v == '')
{
$tmp_post[$k] = '0';
continue;
}
$tmp_post[$k] = $v;
if(isset($_POST['fld_'.$exploded_k[1].'_1191']) && $exploded_k[0] == 'field')
{
$tmp_post['fld_'.$exploded_k[1].'_1191'] = 'true';
}
elseif(!isset($_POST['fld_'.$exploded_k[1].'_1191']) && $exploded_k[0] == 'field')
{
$tmp_post['fld_'.$exploded_k[1].'_1191'] = 'false';
}
}
unset($_POST);
$_POST = $tmp_post;
$fld = getPOSTfields('fld_');
//validator rule
//greate array $valid_rule
//validator rule
require_once(INC_DIR . '../admin/cnf_validators.php');
$valid_rule = array();
foreach($fld['err'] as $k => $v)
{
if ( substr($fld['err'][$k]['field'],0,strpos($fld['err'][$k]['field'],"_")) == 'float')
{
$valid_rule[$k][0] = '^[0-9]+(,([0-9])+)*$';
$valid_rule[$k][1] = 1;
$valid_rule[$k][2] = $fld['err'][$k]['name'];
}
}
$errMsg = '';
//---------------------------------------------
reset($fld);
foreach($fld['err'] as $k => $v)
{
if( isset($valid_rule[$k]) )
{
$errMsg = value_validator($v['value'],$valid_rule[$k],$valid_rule[$k]['name']);
if($errMsg != '')
{
break;
}
}
}
if( $errMsg == '' )
{
foreach($fld['ins'] as $k=>$v)
{
$query = 'UPDATE '.$GLOBALS['fc_config']['db']['pref'].'config_values SET value=? WHERE config_id=?
AND instance_id = ? LIMIT 1';
$stmt = new Statement($query, 403);
$f = $stmt->process($v, $k, $_SESSION['session_inst']);
}
if($_SESSION['cache_type'] == 2/* || isset($_SESSION['fc_gender_cache']) */)
{
$step = 8;
}
else
{
if($_SESSION['forcms'] == 'defaultCMS')
{
$step = 4;
}
else
{
$step = 6;
}
}
redirect_inst('install.php?step='.$step);
}
else
{
if($errMsg == 'LANG_VALUE_REQUIRED')
{
$errMsg = 'Please insert data.';
}
elseif($errMsg == 'LANG_VALUE_INCORRECT')
{
$errMsg = 'Please insert correct value.';
}
}
}
$query = 'SELECT '.$GLOBALS['fc_config']['db']['pref'].'config.*, '.$GLOBALS['fc_config']['db']['pref'].'config_values.value
FROM '.$GLOBALS['fc_config']['db']['pref'].'config, '.$GLOBALS['fc_config']['db']['pref'].'config_values
WHERE '.$GLOBALS['fc_config']['db']['pref'].'config.parent_page = ? AND
'.$GLOBALS['fc_config']['db']['pref'].'config.id = '.$GLOBALS['fc_config']['db']['pref'].'config_values.config_id AND
'.$GLOBALS['fc_config']['db']['pref'].'config_values.instance_id = ?
ORDER BY _order';
$stmt = new Statement($query, 401);
$f = $stmt->process('modules', $_SESSION['session_inst']);
$enabled_buttons = array();
while($v = $f->next())
{
$exploded = explode(',', $v['value']);
foreach($exploded as $key => $val)
{
if($val == 'true')
{
$enabled_buttons[$key] = 'checked';
}
elseif($val == 'false')
{
$enabled_buttons[$key] = '';
}
}
}
$modules = '';
foreach($all_modules as $i => $mod)
{
$modules .= '<TR><TD width="10%" align="left" valign="top"><b>';
$modules .= performModuleName($mod[0]);
if(strpos(strtolower($mod[0]), 'video') !== false || strpos(strtolower($mod[0]), 'whiteboard') !== false )
{
$modules .= '<font color="#ff0000">*</font>';
}
$modules .= '</b></TD><TD width="10%" align="left" valign="top">
<input type="Hidden" name="type_'.$i.'_1191" value="boolean">
<input type="Hidden" name="name_'.$i.'_1191" value="Enabled:">
<input type="Hidden" name="field_'.$i.'_1191" value="enabled">
<input type="checkbox" '.$enabled_buttons[$i].' name="fld_'.$i.'_1191" id="enabled'.$i.'"> Enabled';
$modules .= '</TD><TD width="30%" align="left" valign="top">';
$modules .= '<input type="button" onClick="javascript:
if(document.getElementById('div_'.$i.'').style.display == 'none')
{
document.getElementById('div_'.$i.'').style.display = 'block'
}
else
{
document.getElementById('div_'.$i.'').style.display = 'none'
}" name="configure_'.$i.'" value="Configure"></TD></TR>';
$modules .= '<TR><TD colspan="3"><div id="div_'.$i.'" style="display:none"><table border="0" width="70%" cellpadding="0" cellspacing="5" class="body_table" style="border-top: 0px; border-bottom: 0px; border-left: 0px; border-right: 0px">
'.selectFields($mod[1], $i).'
</table></div>';
$modules .= '</TD></TR><TR><TD colspan="3"><HR size="1"></TD></TR>';
}
include INST_DIR . 'header.php';
?>
<style type="text/css">
#hintbox{ /*CSS for pop up hint box */
position:absolute;
top: 0;
background-color: lightyellow;
width: 150px; /*Default width of hint.*/
padding: 3px;
border:1px solid black;
font:normal 11px Verdana;
line-height:18px;
z-index:100;
border-right: 2px solid black;
border-bottom: 2px solid black;
visibility: hidden;
}
A.hintanchor{
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #0000FF;
font-weight: bold;
color: navy;
margin: 3px 8px;
}
A.hintanchor:hover{
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FF0000;
}
</style>
<script type="text/javascript">
/***********************************************
* Show Hint script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
var horizontal_offset="9px" //horizontal offset of hint box from anchor link
/////No further editting needed
var vertical_offset="0" //horizontal offset of hint box from anchor link. No need to change.
var ie=document.all
var ns6=document.getElementById&&!document.all
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
if (whichedge=="rightedge"){
var windowedge=ie && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-30 : window.pageXOffset+window.innerWidth-40
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
}
else{
var windowedge=ie && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
}
return edgeoffset
}
function showhint(menucontents, obj, e, tipwidth){
if ((ie||ns6) && document.getElementById("hintbox")){
dropmenuobj=document.getElementById("hintbox")
dropmenuobj.innerHTML=menucontents
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (tipwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=tipwidth
}
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
dropmenuobj.style.visibility="visible"
obj.onmouseout=hidetip
}
}
function hidetip(e){
dropmenuobj.style.visibility="hidden"
dropmenuobj.style.left="-500px"
}
function createhintbox(){
var divblock=document.createElement("div")
divblock.setAttribute("id", "hintbox")
document.body.appendChild(divblock)
}
if (window.addEventListener)
window.addEventListener("load", createhintbox, false)
else if (window.attachEvent)
window.attachEvent("onload", createhintbox)
else if (document.getElementById)
window.onload=createhintbox
</script>
<TR>
<TD colspan="2"></TD>
</TR>
<TR>
<TD colspan="2" class="subtitle">Step 4: Modules</TD>
</TR>
<TR>
<TD colspan="2" class="normal"> The following modules are available in the "modules" directory. We recommend that you only enable one module for best perforamnce. Enabling many modules can slow your Flash player.
</TD>
</TR>
<TR>
<TD colspan="2"><font color="#ff0000">*</font> module requires Flash Media Server or Red5 Server</TD>
</TR>
<FORM action="install.php?step=3.5" method="post" align="center" name="installInfo">
<input type="hidden" name="module" value="modules">
<input type="hidden" name="module125" value="modules125">
<TR>
<TD colspan="2">
<TABLE width="100%" class="body_table" cellspacing="5" cellpadding="0" border="0">
<TR>
<TD colspan="4"><?php echo $errMsg; ?></TD>
</TR>
<?php
echo $modules;
?>
</TABLE>
</TD>
</TR>
<TR>
<TD> </TD>
<TD align="right">
<INPUT type="submit" name="submitModule" value="Continue >>">
</TD>
</TR>
<?php
include INST_DIR . 'footer.php';
?>
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.)
# EoM
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
$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');
#
#-----[ BEFORE, ADD ]------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
/chat/install.php
#
#-----[ OPEN ]------------------------------------------
#
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
$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
//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
Open:
your-forum/chat/install.php
Find <?php
After on a new line Add:
define('CT_SECLEVEL', 'LOW');
Open:
your-forum/chat/install_files/step_3.5.php
Find <?php
After on a new line Add:
define('CT_SECLEVEL', 'LOW');
Goto: http://your-forum/chat/install.php and follow the instructions (Use the phpBB 2.0.10 and above) until FlashChat is integrated with Icy Phoenix.
Rename or Delete: your-forum/chat/install.php
Rename or Delete: your-forum/chat/install_files folder
Open templates/mg_themes/overall_header.tpl
Find:
<!-- BEGIN switch_user_logged_out -->
<a href="{FULL_SITE_PATH}{U_REGISTER}">{L_REGISTER}</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />
<!-- END switch_user_logged_out -->
After Add:
<!-- BEGIN switch_user_logged_in -->
<a href="{FULL_SITE_PATH}chat/flashchat.php" target="_blank">FlashChat</a> <img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt=""
/>
<!-- END switch_user_logged_in -->
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
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:
<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.
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.
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!

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:-
Warning: main(./language/lang_en/lang_bbc_tags.php) [function.main]: failed to open stream: No such file or directory in /home/sites/my-site/public_html/includes/bbcode.php on line 107
Warning: main() [function.include]: Failed opening './language/lang_en/lang_bbc_tags.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/my-site/public_html/includes/bbcode.php on line 107
Warning: main(./language/lang_en/lang_bbcb_mg.php) [function.main]: failed to open stream: No such file or directory in /home/sites/my-site/public_html/includes/bbcode.php on line 108
Warning: main() [function.include]: Failed opening './language/lang_en/lang_bbcb_mg.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/my-site/public_html/includes/bbcode.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/my-site/public_html/includes/bbcode.php:107) in /home/sites/my-site/public_html/includes/sessions.php on line 473
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/my-site/public_html/includes/bbcode.php:107) in /home/sites/my-site/public_html/includes/sessions.php on line 474
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/my-site/public_html/includes/bbcode.php:107) in /home/sites/my-site/public_html/includes/page_header.php on line 1398
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/my-site/public_html/includes/bbcode.php:107) in /home/sites/my-site/public_html/includes/page_header.php on line 1404
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/my-site/public_html/includes/bbcode.php:107) in /home/sites/my-site/public_html/includes/page_header.php on line 1405
also my Shoutbox has stopped working a similar error message:-
Warning: main(./language/lang_en/lang_bbc_tags.php) [function.main]: failed to open stream: No such file or directory in /home/sites/my-site/public_html/includes/bbcode.php on line 107
Warning: main() [function.include]: Failed opening './language/lang_en/lang_bbc_tags.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/my-site/public_html/includes/bbcode.php on line 107
Warning: main(./language/lang_en/lang_bbcb_mg.php) [function.main]: failed to open stream: No such file or directory in /home/sites/my-site/public_html/includes/bbcode.php on line 108
Warning: main() [function.include]: Failed opening './language/lang_en/lang_bbcb_mg.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/my-site/public_html/includes/bbcode.php on line 108
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