(Tutorial)Instalare Ajax Chat

Vezi subiectul anterior Vezi subiectul urmator In jos

(Tutorial)Instalare Ajax Chat

Mesaj Scris de kidz0r la data de Sam Aug 06, 2011 8:35 pm

Autor: Francis Lewis
Fisiere de uploadat:
Tot ce contine folder-ul root il urcati pe host !

Instalare:
Deschideti index.php:


$user->setup('viewforum');

Adaugati dupa:

//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------

Deschideti viewonline.php:
Cautati:


case 'index':
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;

Adaugati dupa:

//-- 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:


'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:

'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:

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:

//-- 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:


'CHANGING_PROFILE' => 'Changing profile settings',
,

Adaugati dupa:

//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'CHAT' => 'Chat',
'CHAT_EXPLAIN' => 'Chat Center',
//-- fin mod : AJAX Chat ------------------------------------------------

Cautati:

VIEWED' => 'Viewed',

Adaugati dupa:

//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'VIEWING_CHAT' => 'Viewing Shoutbox',
//-- fin mod : AJAX Chat -------------

@ 2011
avatar
kidz0r
MasteR Team

Mesaje : 34
Reputatie : 8
Data de inscriere : 06/08/2011
Varsta : 20
Localizare : Irlanda,Dublin-Clondalkin

Vezi profilul utilizatorului http://bestone.ro

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum