151
Arabic / قسم الدعم الفني / دردشة معربة
« on: November 14, 2007, 05:33:44 PM »
ميزات الدردشة
لوحة تحكم
كتابة الرسالة
BBcode يمكنك كتبة الراسالة عن طريق
HTMLيمكنك كتبة الراسالة عن طريق
يمكنك تعديل الرسالة
يمكنك حذف الرسالة
لغة:
عربية
English
***************
الملفات الجديدة
/shout_editor.php
/includes/shout.php
/admin/plugins/shoutbox_admin.php
/templates/your_template/shout_bit.html
/templates/your_template/shout_form.html
/templates/your_template/shout_editor.html
**********************
الملفات التي سيتم التعديل علية
/includes/constants.php
/includes/page_header.php
/lang/your_language/main.php
/lang/your_language/admin.php
/templates/your_template/style.css
/templates/your_template/header.html
(optional)/templates/your_template/home.html
(optional)/templates/your_template/categories.html
(optional)/templates/your_template/details.html
(optional)/templates/your_template/lightbox.html
(optional)/templates/your_template/member.html
*******************************
الطريقة
*******
افتح ملف
includes/page_header.php
ابحث
templates/your_template/style.css
ابحث
/*--Categories------------------------------------------------*/
فوق هذا الكود الصق الأتي:
templates/your_template/header.html
افتح
includes/constants.php
ابحث
lang/your_language/main.php
ابحث
اللغة انجليزية
lang/your_language/admin.php
ابحث
انجليزي
في اي مكن في الثيم
asms
لوحة تحكم
كتابة الرسالة
BBcode يمكنك كتبة الراسالة عن طريق
HTMLيمكنك كتبة الراسالة عن طريق
يمكنك تعديل الرسالة
يمكنك حذف الرسالة
لغة:
عربية
English
***************
الملفات الجديدة
/shout_editor.php
/includes/shout.php
/admin/plugins/shoutbox_admin.php
/templates/your_template/shout_bit.html
/templates/your_template/shout_form.html
/templates/your_template/shout_editor.html
**********************
الملفات التي سيتم التعديل علية
/includes/constants.php
/includes/page_header.php
/lang/your_language/main.php
/lang/your_language/admin.php
/templates/your_template/style.css
/templates/your_template/header.html
(optional)/templates/your_template/home.html
(optional)/templates/your_template/categories.html
(optional)/templates/your_template/details.html
(optional)/templates/your_template/lightbox.html
(optional)/templates/your_template/member.html
*******************************
الطريقة
*******
افتح ملف
includes/page_header.php
ابحث
Quote
//-----------------------------------------------------فوق هذا الكود الصق الأتي:
//--- User Box ----------------------------------------
//-----------------------------------------------------
Quote
//-----------------------------------------------------افتح ملف
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
include (ROOT_PATH.'includes/shout.php');
templates/your_template/style.css
ابحث
/*--Categories------------------------------------------------*/
فوق هذا الكود الصق الأتي:
Quote
/*--Shoutbox--------------------------------------------------*/افتح ملف
.shouts {
border: 1px;
border-style:solid;
border-color: #004C75;
height: 120px;
width: 148px;
padding: 0px;
overflow: auto;
}
.shoutinput {
background-color: #FFFFFF;
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
color: #0f5475;
font-size: 11px;
WIDTH: 130px;
}
.shouttextarea {
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
color: #0f5475;
font-size: 11px;
}
templates/your_template/header.html
افتح
Quote
if (document.layers) window.captureEvents(Event.MOUSEDOWN);اضف تحته الكود التالي:
window.onmousedown=right;
Quote
function popup(mylink, windowname) {افتح الملف
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=170,height=240,scrollbars=no');
return false;
}
includes/constants.php
ابحث
Quote
define('WORDMATCH_TABLE', $table_prefix.'wordmatch');اضف تحته الكود التالي:
Quote
define('SHOUTBOX_TABLE', $table_prefix.'shoutbox');ملف
lang/your_language/main.php
ابحث
Quote
?>فوق هذا الكود الصق الأتي:
اللغة انجليزية
Quote
//-----------------------------------------------------اللغة العربية
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['shoutbox'] = "Shoutbox";
$lang['sh_e_nouser'] = "Please insert a name.";
$lang['sh_e_nomessage'] = "Please insert a message.";
$lang['sh_e_usrlgth'] = "The name should be shorter than ".$config['sh_usr_lgth']." characters.";
$lang['sh_e_msglgth'] = "The message should be shorter than ".$config['sh_msg_lgth']." words.";
$lang['sh_e_inactive'] = "Sorry, the shoutbox is disabled for the timebeing.";
$lang['sh_e_register'] = "Please register to use the shoutbox";
$lang['sh_name'] = "Name:";
$lang['sh_message'] = "Message:";
$lang['sh_edit'] = "Edit";
$lang['sh_edited'] = "Shout Edited";
$lang['sh_delete'] = "Delete";
$lang['sh_ask_delete'] = "Delete Shout?";
$lang['sh_deleted'] = "The shout was deleted";
$lang['sh_close'] = "[Close Window]";
Quote
//-----------------------------------------------------افتح ملف
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['shoutbox'] = "دردشة";
$lang['sh_e_nouser'] = "لم تضيف اسم المرسال.";
$lang['sh_e_nomessage'] = "لم تكتب رسالة.";
$lang['sh_e_usrlgth'] = "The name should be shorter than ".$config['sh_usr_lgth']." characters.";
$lang['sh_e_msglgth'] = "The message should be shorter than ".$config['sh_msg_lgth']." words.";
$lang['sh_e_inactive'] = "ان الدردشة تعطلت لبعض الوقت.";
$lang['sh_e_register'] = "لكي تستطيع الكتبة يجب التسجيل";
$lang['sh_name'] = "اسم:";
$lang['sh_message'] = "رسالة:";
$lang['sh_edit'] = "تعديل";
$lang['sh_edited'] = "تعديل الرسالة";
$lang['sh_delete'] = "حذف";
$lang['sh_ask_delete'] = "حذف الرسالة?";
$lang['sh_deleted'] = "The shout was deleted";
$lang['sh_close'] = "[إغلاق النافذة]";
lang/your_language/admin.php
ابحث
Quote
?>فوق هذا الكود الصق الأتي:
انجليزي
Quote
//-----------------------------------------------------اللغة العربية
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['sh_not_updated'] = "Settings couldn't be updated";
$lang['sh_not_installed'] = "Installation couldn't be completed";
$lang['sh_cfg'] = "Shoutbox Configuration";
$lang['sh_activate'] = "Activate Shoutbox";
$lang['sh_allow_guests'] = "Allow guests to post";
$lang['sh_usr_lgth'] = "Username Length(less than 50 characters)";
$lang['sh_msg_lgth'] = "Message Length(in words)";
$lang['sh_wordwrap'] = "wordwrap";
$lang['sh_bbcode'] = "Allow BBcode";
$lang['sh_bbimg'] = "Allow BBcode images";
$lang['sh_html'] = "Allow HTML";
$lang['sh_msg_display'] = "Cuantity of shouts to display on the template";
$lang['sh_install'] = "Install Shoutbox";
$lang['sh_installed'] = "The shoutbox is installed and configured";
$lang['sh_back'] = "Back to Shoutbox Admin";
$lang['sh_currnt'] = "<h1>Current Shouts</h1>\n";
$lang['sh_deletes'] = "Delete";
$lang['sh_number'] = "Shout Number";
$lang['sh_name'] = "Name";
$lang['sh_message'] = "Message";
$lang['sh_date'] = "date";
$lang['sh_options'] = "Options";
$lang['sh_delete'] = "Delete Shouts";
$lang['sh_deleted'] = "The Shouts where deleted \n";
$lang['sh_update'] = "Update Settings";
$lang['sh_updated'] = "Settings Updated \n";
Quote
//-----------------------------------------------------هذ الكود يمكنك وضعة
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['sh_not_updated'] = "إعدادات لا يمكن تحديثها";
$lang['sh_not_installed'] = "التركيب لا يمكن أن ينجز";
$lang['sh_cfg'] = "chat Configuration";
$lang['sh_activate'] = "تفعيل الدردشة";
$lang['sh_allow_guests'] = "السماح الزور بإضافة الإرسال";
$lang['sh_usr_lgth'] = "طول اسم المستخدم(اقل من 50 حرفا)";
$lang['sh_msg_lgth'] = "إقصاء حد للكلمات(in words)";
$lang['sh_wordwrap'] = "رجوع إلى السطر";
$lang['sh_bbcode'] = "إتاحة BBcode";
$lang['sh_bbimg'] = "إتاحة BBcode صورة";
$lang['sh_html'] = "إتاحة HTML";
$lang['sh_msg_display'] = "Cuantity of shouts to display on the template";
$lang['sh_install'] = "تركيب الدردشة";
$lang['sh_installed'] = "The shoutbox is installed and configured";
$lang['sh_back'] = "العودة إلي لوحة التحكم للدردشة";
$lang['sh_currnt'] = "<h1>Current Shouts</h1>\n";
$lang['sh_deletes'] = "حذف";
$lang['sh_number'] = "اسم";
$lang['sh_name'] = "اسم";
$lang['sh_message'] = "الرسالة";
$lang['sh_date'] = "تاريخ";
$lang['sh_options'] = "خيارات";
$lang['sh_delete'] = "حذف";
$lang['sh_deleted'] = "The Shouts where deleted \n";
$lang['sh_update'] = "تحديث الإعدادات";
$lang['sh_updated'] = "تحديث الإعدادات \n";
في اي مكن في الثيم
Quote
<!-- Shoutbox Begin -->تحياتي
<table width="148" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_shoutbox}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td>
<div class="shouts">
<table cellpadding="0" cellspacing="0" width="130">
{shoutings}
</table>
</div>
</td>
</tr>
<tr>
<td align="center" class="row1">
{shout_form}
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
<!-- Shoutbox End -->
asms