Jump to content
Aplicatiile pentru functia de "Helper" pentru serverul de Minecraft sunt deschise !

[Tutorial]Chat Ajax Shoutbox Install Phpbb3


Guest Alex

Recommended Posts

Cu ajutorul acestui tutorial, va puteti instala un chat eficient in indexul forumului vostru PHPBB3.

Download Chat AJAX Shoutbox Mod:

Autor Script: Francis Lewis

Traducere Tutorial in limba romana: Scr3Am-O

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

Instalare:

* Deschideti index.php:

Cautati:

$user->setup('viewforum');
Adaugati dupa:
//-- mod : AJAX Chat ----------------------------------------------------//-- addinclude($phpbb_root_path . 'shout.' . $phpEx);//-- fin mod : AJAX Chat ------------------------------------------------[/code]




* [b]Deschideti viewonline.php:[/b]



Cautati:[/color]



 



[code][color=#696969]case 'index': $location = $user->lang['INDEX']; $location_url = append_sid("{$phpbb_root_path}index.$phpEx"); break;[/color][/code]
[color=#696969]Adaugati dupa:[/color] [color=#696969]
[code]//-- 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 ------------------------------------------------[/code]
* [b]Deschideti includes/functions.php:[/b] Cautati:[/color] [color=#696969]
[code]'U_ACP' => ($auth->acl_get('a_') && !empty($user->data['is_registered'])) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : '')[/code]
Adaugati înainte:[/color] [color=#696969]
[code]'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) : '[/code]
', Cautati:[/color] [color=#696969]
[code]'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',[/code]
Adaugati dupa:[/color] [color=#696969]
[code]//-- mod : AJAX Chat ---------------------------------------------------- //-- add 'U_CHAT' => append_sid("{$phpbb_root_path}chat.$phpEx"), 'S_SHOUT' => true, //-- fin mod : AJAX Chat ------------------------------------------------[/code]
* [b]Deschideti language/en/common.php:[/b] Cautati:[/color] [color=#696969]
[code]'CHANGING_PROFILE' => 'Changing profile settings',[/code]
Adaugati dupa:[/color] [color=#696969]
[code] //-- mod : AJAX Chat ---------------------------------------------------- //-- add 'CHAT' => 'Chat', 'CHAT_EXPLAIN' => 'Chat Center', //-- fin mod : AJAX Chat ------------------------------------------------[/code]
Cautati:[/color] [color=#696969]
[code]'VIEWED' => 'Viewed',[/code]
Adaugati dupa:[/color] [color=#696969]
[code]//-- mod : AJAX Chat ---------------------------------------------------- //-- add 'VIEWING_CHAT' => 'Viewing Shoutbox', //-- fin mod : AJAX Chat ------------------------------------------------[/code]
[b]ProSilver[/b] * [b]Deschideti styles/prosilver/template/index_body.html:[/b] Cautati:[/color]
[code][color=#696969]<!-- IF S_DISPLAY_ONLINE_LIST -->[/color][/code]
[color=#696969]Adaugati înainte:[/color] [color=#696969]
[code]<!-- INCLUDE chat_body.html -->[/code]
* [b]Deschideti styles/prosilver/template/overall_header.html:[/b] Cautati:[/color] [color=#696969]
[code]<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />[/code]
Adaugati dupa:[/color] [color=#696969]
[code]<link href="{T_THEME_PATH}/chat.css" rel="stylesheet" type="text/css" />[/code]
Cautati:[/color] [color=#696969]
[code]<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>[/code]
Adaugati dupa:[/color] [color=#696969]
[code]<li class="icon-chat"><a href="{U_CHAT}" title="{L_CHAT_EXPLAIN}">{L_CHAT}</a></li>[/code]
* [b]Deschideti styles/prosilver/theme/buttons.css:[/b] Cautati:[/color] [color=#696969]
[code].sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,[/code]
Dupa: [b].icon-faq,[/b] Adaugati: [b].icon-chat,[/b] * [b]Deschideti styles/prosilver/theme/bidi.css:[/b] Cautati:[/color] [color=#696969]
[code].rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,[/code]
Dupa: [b].rtl .icon-faq,[/b] Adaugati: [b].rtl .icon-chat,[/b] * [b]Deschideti styles/prosilver/theme/colours.css:[/b] Cautati:[/color] [color=#696969]
[code].icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }[/code]
Adaugati înainte:[/color] [color=#696969]
[code].icon-chat { background-image: url("{T_THEME_PATH}/images/icon_chat.gif"); }[/code]
* [b]Deschideti styles/prosilver/theme/stylesheet.css:[/b] Cautati:[/color] [color=#696969]
[code]@import url("colours.css");[/code]
Adaugati dupa:[/color] [color=#696969]
[code]@import url("chat.css");[/code]
[b]SubSilver2[/b] * [b]Deschideti styles/subsilver2/template/overall_header.html:[/b] Cautati:[/color] [color=#696969]
[code]<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>[/code]
Adaugati dupa:[/color] [color=#696969]
[code]&nbsp; &nbsp;<a href="{U_CHAT}"><img src="{T_THEME_PATH}/images/icon_chat.gif" width="12" height="13" alt="*" /> {L_CHAT}</a>[/code]
* [b]Deschideti styles/subsilver2/template/index_body.html:[/b] Cautati:[/color] [color=#696969]
[code]<!-- INCLUDE forumlist_body.html -->[/code]
Adaugati dupa:[/color] [color=#696969]
[code]<br /> <!-- INCLUDE chat_body.html -->[/code]
* [b]Deschideti styles/subsilver2/theme/stylesheet.css:[/b] Cautati:[/color] [color=#696969]
[code]/* Layout------------ */[/code]
Adaugati dupa:[/color] [color=#696969]
[CODE]@import url("chat.css");[/code]

¤ Rulaţi [/color]ttp://forumultau.ro/chat_install.php?mode=install[color=#696969] , apoi ştergeţi folderul install după host.

¤ Sterge-ti cache ![/color]

  • Like 1
Link to comment
Share on other sites

  • 8 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...