|
Page 2 of 5
|
bags 
Joined: November 2006
Posts: 17
Location:
|
 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!!!
|
#16 Fri 20 Jul, 2007 15:12 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
darkone 
Joined: February 2007
Posts: 168
Location:
|
 Re: FlashChat - How To Get It Working In ICY
Use the phpbb2.0+ entry and you should be fine
____________ Check out my new website:
Adult Forums - A place where everyone can fit in.
Currently running v1.1.10.25 RC3
|
#17 Fri 20 Jul, 2007 15:43 |
|
bags 
Joined: November 2006
Posts: 17
Location:
|
 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!!!
|
#18 Fri 20 Jul, 2007 18:01 |
|
coolguy14783 
Joined: June 2007
Posts: 5
|
 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
Last edited by coolguy14783 on Sun 19 Aug, 2007 20:57; edited 5 times in total |
#19 Sun 22 Jul, 2007 02:41 |
|
coolguy14783 
Joined: June 2007
Posts: 5
|
 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
Description: |
|
 Download |
Filename: |
FlashChatIP.zip |
Filesize: |
828 Bytes |
Downloaded: |
169 Time(s) |
Last edited by coolguy14783 on Sun 19 Aug, 2007 20:58; edited 1 time in total |
#20 Sun 22 Jul, 2007 02:55 |
|
bags 
Joined: November 2006
Posts: 17
Location:
|
 Re: FlashChat - How To Get It Working In ICY
Really Great
thx a lot,
Bags!!!
|
#21 Mon 23 Jul, 2007 10:18 |
|
drexful 
Joined: June 2007
Posts: 29
Location:  Wisconsin
|
 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#
____________ IP Version: 1.1.0.15a
Server Type: Linux
Apache Version: 1.3.37
PHP Version: 5.0.5
MySQL Version: 4.1.22-standard-log
Globals: Off
Safemode: Off
|
#22 Sat 28 Jul, 2007 00:40 |
|
coolguy14783 
Joined: June 2007
Posts: 5
|
 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.
|
#23 Sat 28 Jul, 2007 23:29 |
|
mamagallo 
Joined: August 2007
Posts: 41
Location:  Caracas
|
 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
|
#24 Sun 26 Aug, 2007 21:29 |
|
reef_01 
Joined: August 2006
Posts: 4
Location:
|
 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
|
#25 Mon 27 Aug, 2007 02:48 |
|
darkone 
Joined: February 2007
Posts: 168
Location:
|
 Re: FlashChat - How To Get It Working In ICY
... ops
____________ Check out my new website:
Adult Forums - A place where everyone can fit in.
Currently running v1.1.10.25 RC3
Last edited by darkone on Thu 30 Aug, 2007 16:13; edited 1 time in total |
#26 Thu 30 Aug, 2007 16:11 |
|
darkone 
Joined: February 2007
Posts: 168
Location:
|
 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
____________ Check out my new website:
Adult Forums - A place where everyone can fit in.
Currently running v1.1.10.25 RC3
|
#27 Thu 30 Aug, 2007 16:12 |
|
carmelomvp 
Joined: September 2006
Posts: 16
|
 Re: FlashChat - How To Get It Working In ICY
flash chat is free? can anybody put the link of ttheir web?
|
#28 Thu 30 Aug, 2007 20:45 |
|
darkone 
Joined: February 2007
Posts: 168
Location:
|
 Re: FlashChat - How To Get It Working In ICY
No you have to pay for it so its basically free
____________ Check out my new website:
Adult Forums - A place where everyone can fit in.
Currently running v1.1.10.25 RC3
|
#29 Fri 31 Aug, 2007 13:45 |
|
mamagallo 
Joined: August 2007
Posts: 41
Location:  Caracas
|
 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
|
#30 Tue 11 Sep, 2007 01:36 |
|
|
Page 2 of 5
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|