Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 5
Goto page Previous  1, 2, 3, 4, 5  Next
 
Reply with quote Download Post 
Post 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!!!
 



 
bagsSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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
 
darkoneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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!!!
 



 
bagsSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [Hide] [Select]
{UPI2DB_FIRST_USE}


After, add

Code: [Download] [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: [Download] [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: [Download] [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: [Download] [Hide] [Select]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


After add

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


Save and upload
 



 
Last edited by coolguy14783 on Sun 19 Aug, 2007 20:57; edited 5 times in total 
coolguy14783Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [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: [Download] [Hide] [Select]
'L_SEARCH_EXPLAIN' => $lang['Search_Explain'],


One line after add

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


Save and upload

FlashChatIP.zip
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 
coolguy14783Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FlashChat - How To Get It Working In ICY 
 
Really Great

thx a lot,
Bags!!!
 



 
bagsSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
drexfulSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
coolguy14783Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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   
 



 
mamagalloSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FlashChat - How To Get It Working In ICY 
 
Code: [Download] [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:


Example in Spanish:


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



 
reef_01Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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 
darkoneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
darkoneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FlashChat - How To Get It Working In ICY 
 
flash chat is free? can anybody put the link of ttheir web?
 



 
carmelomvpSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
darkoneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
mamagalloSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 5
Goto page Previous  1, 2, 3, 4, 5  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron