Tutorial instalare AJAX Chat !
Free2Play - Gaming :: F2P - Web :: PhpBB 3.x.x :: Tutoriale
Pagina 1 din 1
Tutorial instalare AJAX Chat !
Autor: Francis Lewis
Fisiere de uploadat:
* Tot ce contine folder-ul root il urcati pe host !
Instalare:
* Deschideti index.php:
Cautati:
Cod:
$user->setup('viewforum');
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti viewonline.php:
Cautati:
Cod:
case 'index':
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
case 'chat':
$location = $user->lang['VIEWING_CHAT'];
$location_url = append_sid("{$phpbb_root_path}chat.$phpEx");
break;
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti includes/functions.php:
Cautati:
Cod:
'U_ACP' => ($auth->acl_get('a_') && !empty($user->data['is_registered'])) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : '')
Adaugati înainte:
Cod:
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '',
Cautati:
Cod:
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'U_CHAT' => append_sid("{$phpbb_root_path}chat.$phpEx"),
'S_SHOUT' => true,
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti language/en/common.php:
Cautati:
Cod:
'CHANGING_PROFILE' => 'Changing profile settings',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'CHAT' => 'Chat',
'CHAT_EXPLAIN' => 'Chat Center',
//-- fin mod : AJAX Chat ------------------------------------------------
Cautati:
Cod:
'VIEWED' => 'Viewed',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'VIEWING_CHAT' => 'Viewing Shoutbox',
//-- fin mod : AJAX Chat ------------------------------------------------
ProSilver
* Deschideti styles/prosilver/template/index_body.html:
Cautati:
Cod:
<!-- IF S_DISPLAY_ONLINE_LIST -->
Adaugati înainte:
Cod:
<!-- INCLUDE chat_body.html -->
* Deschideti styles/prosilver/template/overall_header.html:
Cautati:
Cod:
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
Adaugati dupa:
Cod:
<link href="{T_THEME_PATH}/chat.css" rel="stylesheet" type="text/css" />
Cautati:
Cod:
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Adaugati dupa:
Cod:
<li class="icon-chat"><a href="{U_CHAT}" title="{L_CHAT_EXPLAIN}">{L_CHAT}</a></li>
* Deschideti styles/prosilver/theme/buttons.css:
Cautati:
Cod:
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
Dupa:
Cod:
.icon-faq,
Adaugati:
Cod:
.icon-chat,
* Deschideti styles/prosilver/theme/bidi.css:
Cautati:
Cod:
.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
Dupa:
Cod:
.rtl .icon-faq,
Adaugati:
Cod:
.rtl .icon-chat,
* Deschideti styles/prosilver/theme/colours.css:
Cautati:
Cod:
.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
Adaugati înainte:
Cod:
.icon-chat { background-image: url("{T_THEME_PATH}/images/icon_chat.gif"); }
* Deschideti styles/prosilver/theme/stylesheet.css:
Cautati:
Cod:
@import url("colours.css");
Adaugati dupa:
Cod:
@import url("chat.css")
;
SubSilver2
* Deschideti styles/subsilver2/template/overall_header.html:
Cautati:
Cod:
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
Adaugati dupa:
Cod:
<a href="{U_CHAT}"><img src="{T_THEME_PATH}/images/icon_chat.gif" width="12" height="13" alt="*" /> {L_CHAT}</a>
* Deschideti styles/subsilver2/template/index_body.html:
Cautati:
Cod:
<!-- INCLUDE forumlist_body.html -->
Adaugati dupa:
Cod:
<br />
<!-- INCLUDE chat_body.html -->
* Deschideti styles/subsilver2/theme/stylesheet.css:
Cautati:
Cod:
/* Layout
------------ */
Adaugati dupa:
Cod:
@import url("chat.css");
Download:[Trebuie sa fiti inscris si conectat pentru a vedea acest link]
Fisiere de uploadat:
* Tot ce contine folder-ul root il urcati pe host !
Instalare:
* Deschideti index.php:
Cautati:
Cod:
$user->setup('viewforum');
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti viewonline.php:
Cautati:
Cod:
case 'index':
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
case 'chat':
$location = $user->lang['VIEWING_CHAT'];
$location_url = append_sid("{$phpbb_root_path}chat.$phpEx");
break;
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti includes/functions.php:
Cautati:
Cod:
'U_ACP' => ($auth->acl_get('a_') && !empty($user->data['is_registered'])) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : '')
Adaugati înainte:
Cod:
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '',
Cautati:
Cod:
'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'U_CHAT' => append_sid("{$phpbb_root_path}chat.$phpEx"),
'S_SHOUT' => true,
//-- fin mod : AJAX Chat ------------------------------------------------
* Deschideti language/en/common.php:
Cautati:
Cod:
'CHANGING_PROFILE' => 'Changing profile settings',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'CHAT' => 'Chat',
'CHAT_EXPLAIN' => 'Chat Center',
//-- fin mod : AJAX Chat ------------------------------------------------
Cautati:
Cod:
'VIEWED' => 'Viewed',
Adaugati dupa:
Cod:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'VIEWING_CHAT' => 'Viewing Shoutbox',
//-- fin mod : AJAX Chat ------------------------------------------------
ProSilver
* Deschideti styles/prosilver/template/index_body.html:
Cautati:
Cod:
<!-- IF S_DISPLAY_ONLINE_LIST -->
Adaugati înainte:
Cod:
<!-- INCLUDE chat_body.html -->
* Deschideti styles/prosilver/template/overall_header.html:
Cautati:
Cod:
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
Adaugati dupa:
Cod:
<link href="{T_THEME_PATH}/chat.css" rel="stylesheet" type="text/css" />
Cautati:
Cod:
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Adaugati dupa:
Cod:
<li class="icon-chat"><a href="{U_CHAT}" title="{L_CHAT_EXPLAIN}">{L_CHAT}</a></li>
* Deschideti styles/prosilver/theme/buttons.css:
Cautati:
Cod:
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
Dupa:
Cod:
.icon-faq,
Adaugati:
Cod:
.icon-chat,
* Deschideti styles/prosilver/theme/bidi.css:
Cautati:
Cod:
.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
Dupa:
Cod:
.rtl .icon-faq,
Adaugati:
Cod:
.rtl .icon-chat,
* Deschideti styles/prosilver/theme/colours.css:
Cautati:
Cod:
.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
Adaugati înainte:
Cod:
.icon-chat { background-image: url("{T_THEME_PATH}/images/icon_chat.gif"); }
* Deschideti styles/prosilver/theme/stylesheet.css:
Cautati:
Cod:
@import url("colours.css");
Adaugati dupa:
Cod:
@import url("chat.css")
;
SubSilver2
* Deschideti styles/subsilver2/template/overall_header.html:
Cautati:
Cod:
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
Adaugati dupa:
Cod:
<a href="{U_CHAT}"><img src="{T_THEME_PATH}/images/icon_chat.gif" width="12" height="13" alt="*" /> {L_CHAT}</a>
* Deschideti styles/subsilver2/template/index_body.html:
Cautati:
Cod:
<!-- INCLUDE forumlist_body.html -->
Adaugati dupa:
Cod:
<br />
<!-- INCLUDE chat_body.html -->
* Deschideti styles/subsilver2/theme/stylesheet.css:
Cautati:
Cod:
/* Layout
------------ */
Adaugati dupa:
Cod:
@import url("chat.css");
Download:[Trebuie sa fiti inscris si conectat pentru a vedea acest link]
Subiecte similare
» Tutorial instalare TopFive
» Color-Chat
» Ice Robot Tutorial
» Tutorial TeamViewer
» Instalare Tracker
» Color-Chat
» Ice Robot Tutorial
» Tutorial TeamViewer
» Instalare Tracker
Free2Play - Gaming :: F2P - Web :: PhpBB 3.x.x :: Tutoriale
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum