النسخه التجريبي HaYeF1.0Forums منتدى هايف العربيه فقط بلا قاعده بيانات






http://advertising-kw.atwebpages.com/ معاينه
النسخه التجريبي HaYeF1.0Forums منتدى هايف العربيه فقط بلا قاعده بيانات






http://advertising-kw.atwebpages.com/ معاينه
نعم، وهذا أفضل تصميم لـ Chat-HaYeF5. نخلي النظام من البداية Guest-first بدل إجبار الزائر على التسجيل.
| الزائر | العضو المسجل | المدير |
|---|---|---|
| مشاهدة الغرف | مشاهدة الغرف | كل الصلاحيات |
| مشاهدة الموجودين | مشاهدة الموجودين | إدارة المستخدمين |
| قراءة الرسائل | إرسال رسائل | إدارة الغرف |
| التنقل بين الغرف | دخول الغرف | حذف/تعديل الرسائل |
| لا يرسل رسائل | إرسال خاص | الحظر والتنبيهات |
| لا ينشئ غرف | الملف الشخصي | الإعدادات والسجلات |
| لا يعدل شيئًا | تحكم بسيط بحسابه | لوحة تحكم كاملة |



خذيت الفكره من
https://maereab.blogspot.com/2023/12/ajax-chat-script-in-javascript-php.html
عطيتكم الملف بدون ترتيب مجاني لكم وسلامتكم
بالنسبة لملف التعريب العربي القديم الذي عندك، اترك الإعدادات هكذا:
تلقائي — Auto Detect
arabic_vb3811_utf8.xml
أداة تحويل ترميز فقط، بل تريد أداة ويب ترفع لها أي ملف vBulletin Language XML وتتعامل معه من خلال واجهة احترافية، مع خيارات قبل المعالجة.
تدخل إلى
xml-converter.php وتجد:
بعد الرفع، تعرض لك معلومات الملف:
phrasetype.
phrase.مثلاً:
والأهم: اختيار اللغة لا يعني ترجمة النصوص آلياً؛ بل يتحكم في بيانات ملف التعريب وإعداداته.
مثلاً:
بدلاً من الكود الحالي الذي يحاول استخدام أسماء ترميزات غير مدعومة في
mbstring، تكون الأداة لديها طبقة تحويل صحيحة.
مثلاً:
وبالنسبة إلى
Windows-1256 لا نمرره مباشرة إلى
mb_convert_encoding() إذا كان تركيب PHP لديك لا يدعمه بهذا الاسم؛ يتم
التعامل معه بالاسم/البديل المدعوم فعلياً في البيئة.
الأداة تفحص الملف قبل إخراجه، مثل:
encoding.
charset.
<phrase>.
{1} و
{2} وغيرها.
varname.تكون على شكل مربعات اختيار:
وتستطيع تفعيل أو تعطيل كل واحدة.
إذا كان معيارك الأساسي هو "أريد شيئًا قريبًا من vBulletin في طريقة التعامل والواجهة"، فاختياري يكون:
🥇 XenForo — الأقرب كمنصة حديثة
التقارب مع vBulletin: حوالي 80–90% من ناحية تجربة إدارة المنتدى، الأقسام، المواضيع، الأعضاء، الصلاحيات، التنبيهات وغيرها.
أقوى وأحدث من MyBB من ناحية الإمكانيات.
نظام القوالب والـStyle يسمح لك بجعل الواجهة قريبة جدًا من vBulletin 3/4.
مناسب أكثر إذا كان المنتدى كبيرًا وتريد تطويره مستقبلًا.
الانتقال من vBulletin إلى XenForo له أدوات استيراد للبيانات.
🥈 MyBB — الأقرب من ناحية البساطة والشكل التقليدي
التقارب مع vBulletin: حوالي 70–80%.
مجاني ومفتوح المصدر.
أسلوب المنتديات التقليدي قريب من vBulletin.
تعديل القوالب وCSS ممكن جدًا.
أخف وأبسط، لكن إمكانياته وتجربته الحديثة أقل من XenForo.
الخلاصة
XenForo MyBB
قرب تجربة vBulletin ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐
إمكانية تقليد شكل vBulletin ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
الإدارة والصلاحيات ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐
التطوير والإضافات ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐
مجاني ❌ ✅
مناسب لمنتدى كبير ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐
إذا كان لديك منتدى vBulletin قديم وتريد أن يشعر المستخدم أنه انتقل إلى نظام جديد بدون أن يتغير عليه كل شيء، سأختار XenForo.
وإذا كان أهم شيء عندك أن يكون مجانيًا بالكامل، فاختَر MyBB.






اداء بسيط وخفيف لتعديل او تشويه اللغه العربيه من رموز او علامات لاي ملف تعريب منتدى
ارفع اي ملف نفس
vbulletin-language.xml
الاداء باسم fix_vbulletin.py
يخرج لك نفس الحجم ويعدل لك الاخطاء
ويخرج لك باسم
vbulletin-language-fixed.xml
انسخ الكود وارفعه في : fix_vbulletin.py
https://www.hayef5.com/m101/html-mp3/maililf-101/
from pathlib import Path
INPUT_FILE = Path("vbulletin-language.xml")
OUTPUT_FILE = Path("vbulletin-language-fixed.xml")
print("=" * 60)
print(" vBulletin 3.8.12 - Arabic Language Repair HaYeF5 KuwaiT")
print("=" * 60)
if not INPUT_FILE.exists():
print("\nلم يتم العثور على الملف:")
print(INPUT_FILE.resolve())
input("\nاضغط Enter للخروج...")
raise SystemExit
try:
raw = INPUT_FILE.read_bytes()
print(f"\nحجم الملف الأصلي: {len(raw):,} bytes")
print("جاري إصلاح الترميز...")
# الملف الحالي يحتوي على عربي مشوه من نوع:
# ÇáÏÎæá ãÍÙæÑ
#
# هذه العملية تعكس التحويل الخاطئ:
# Windows-1256 -> Windows-1252/Latin
#
# ثم تعيد النص إلى Windows-1256 الصحيح.
wrong_text = raw.decode("cp1252")
fixed_text = wrong_text.encode("cp1252").decode("cp1256")
# تعريف XML
if fixed_text.startswith("<?xml"):
end = fixed_text.find("?>")
if end != -1:
fixed_text = (
'<?xml version="1.0" encoding="windows-1256"?>'
+ fixed_text[end + 2:]
)
# التأكد من إعداد vBulletin
fixed_text = fixed_text.replace(
"<charset><![CDATA[utf-8]]></charset>",
"<charset><![CDATA[windows-1256]]></charset>"
)
# حفظ الملف فعليًا Windows-1256
output_data = fixed_text.encode("cp1256")
OUTPUT_FILE.write_bytes(output_data)
print("\nتم الإصلاح بنجاح!")
print("-" * 60)
print(f"حجم الملف الجديد: {len(output_data):,} bytes")
print(f"الملف الجديد: {OUTPUT_FILE.resolve()}")
print("-" * 60)
# فحص سريع
if "الدخول محظور" in fixed_text:
print("\n✓ تم العثور على النص العربي بشكل صحيح.")
else:
print("\n⚠ لم يتم العثور على المثال المتوقع.")
print("لكن تم إنشاء الملف.")
except Exception as e:
print("\n" + "=" * 60)
print("حدث خطأ:")
print(type(e).__name__)
print(str(e))
print("=" * 60)
input("\nاضغط Enter للخروج...")
وسلامتكم
ارفع لك الكود فقط وانت حطه بملف بصيغه xml
وسمه مثلا product-Add-friend
صوره المنتج
الكود :
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="addme_postbit" active="1">
<title>هاك اضفني كصديق</title>
<description>اضفني كصديق تظهر في المواضيع والمشاركات</description>
<version>1.0</version>
<url>hayef5.yoo7.com</url>
<versioncheckurl>https://hayef5.yoo7.com/portal</versioncheckurl>
<dependencies>
</dependencies>
<codes>
<code version="*">
<installcode><![CDATA[define('DISABLE_PRODUCT_REDIRECT', true);
define('CP_REDIRECT', 'index.php?loc=' . urlencode('options.php?do=options&dogroup=addme_postbit'));]]></installcode>
<uninstallcode />
</code>
</codes>
<templates>
<template name="addme_postbit" templatetype="template" date="1328608250" username="admin" version="1.0"><![CDATA[<style type="text/css">
.wall_last_post {
background: none repeat scroll 0 0 #F6F6F6;
border-color: #CCCCCC #000000;
border-left: 3px solid #000000;
border-radius: 0 20px 20px 0;
border-right: 3px solid #000000;
border-style: dotted solid;
border-width: 3px;
float: left;
height: 63px;
margin-bottom: 10px;
margin-right: 10px;
padding-bottom: 5px;
width: 190px;
}
.wall_last_post_auhor {
background: url("https://gulf-missil.ucoz.com/_ph/20/2/781723650.gif") no-repeat scroll left center transparent;
color: #606060;
font-family: Tahoma;
font-size: 12px;
font-weight: normal;
margin-left: 10px;
padding-right: 11px;
padding-top: 7px;
text-shadow: 1px 0 1px #88CED8;
}
.wall_last_post .wall_last_post_auhor a {
color: #CC0000;
font-size: 12px;
font-weight: bold;
}
.wall_last_post p {
color: #606060;
font-family: Tahoma;
font-size: 11px;
font-weight: normal;
line-height: 15px;
margin: 0;
min-height: 27px;
padding: 3px;
}
.wall_last_post_footer {
color: #CC0000;
font-family: Tahoma;
font-size: 11px;
font-weight: normal;
}
.add_as_friend {
background: url("https://gulf-missil.ucoz.com/_ph/20/2/315962949.png") no-repeat scroll left center transparent;
height: 34px;
margin: auto;
padding-left: 40px;
width: 100px;
}
.add_as_friend span {
background: none repeat scroll 0 0 #FFE5CD;
border: 1px solid #F4C182;
border-radius: 3px 3px 3px 3px;
color: #E96D10;
display: block;
font-family: Tahoma;
font-size: 11px;
height: 20px;
line-height: 23px;
margin-top: 9px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
text-align: center;
}
</style>
<if condition="$vboptions[addme_postbit_place]==0">
<if condition="$post[postcount] == 1">
<div class="wall_last_post">
<div class="wall_last_post_auhor">
<font color="#000000">انا : </font>
<a href="member.php?$session[sessionurl]u=$post[userid]">
$post[username]</a></div>
<div class="add_as_friend">
<span><a rel="nofollow" href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]">
<phrase 1="$prepared[username]">اضفني كصديق</phrase></a></span></div>
<div class="wall_last_post_footer"></div></div></if>
<else />
<div class="wall_last_post">
<div class="wall_last_post_auhor">
<font color="#000000">انا : </font>
<a href="member.php?$session[sessionurl]u=$post[userid]">
$post[username]</a></div>
<div class="add_as_friend">
<span><a rel="nofollow" href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]">
<phrase 1="$prepared[username]">اضفني كصديق</phrase></a></span></div>
<div class="wall_last_post_footer"></div></div></if>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Cashe templates</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates[] = 'addme_postbit';]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>addme_postbit</title>
<hookname>postbit_display_start</hookname>
<phpcode><![CDATA[global $db ,$vbulletin;
if ($vbulletin->options['addme_postbit_onoff'])
{
eval('$addme_postbit = "' . fetch_template('addme_postbit') . '";');
}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Showthread</title>
<hookname>showthread_start</hookname>
<phpcode><![CDATA[global $db ,$vbulletin;
if ($vbulletin->options['addme_postbit_onoff'])
{
$vbulletin->templatecache['postbit_legacy'] = str_replace('$post[message]','$addme_postbit<br /><br /> $post[message]',$vbulletin->templatecache['postbit_legacy']);
$vbulletin->templatecache['postbit'] = str_replace('$post[message]','$addme_postbit<br /><br /> $post[message]',$vbulletin->templatecache['postbit']);
$vbulletin->templatecache['helm_legacy'] = str_replace ('$post[message]','$addme_postbit<br /><br /> $post[message]',$vbulletin->templatecache['helm_legacy']);
$vbulletin->templatecache['helm_postbit'] = str_replace ('$post[message]','$addme_postbit<br /><br /> $post[message]',$vbulletin->templatecache['helm_postbit']);
}]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_addme_postbit_copyright_desc" date="1328705795" username="admin" version="1.0"><![CDATA[<a target="_blank" href="hayef5.yoo7.com">
<img border="0" src="https://gulf-missil.ucoz.com/_ph/14/2/663075804.gif" alt=":)-(:"></a>]]></phrase>
<phrase name="setting_addme_postbit_copyright_title" date="1328705795" username="admin" version="1.0"><![CDATA[حقوق المبرمج]]></phrase>
<phrase name="setting_addme_postbit_onoff_desc" date="1328705795" username="admin" version="1.0"><![CDATA[من هنا تتحكم في اطفاء وتشغيل الهاك]]></phrase>
<phrase name="setting_addme_postbit_onoff_title" date="1328705795" username="admin" version="1.0"><![CDATA[تشغيل او تعطيل الهاك]]></phrase>
<phrase name="setting_addme_postbit_place_desc" date="1328705795" username="admin" version="1.0"><![CDATA[تحكم في امكانيه ظهور ( اضفني كصديق )]]></phrase>
<phrase name="setting_addme_postbit_place_title" date="1328705795" username="admin" version="1.0"><![CDATA[مكان ظهور ( اضفني كصديق]]></phrase>
<phrase name="settinggroup_addme_postbit" date="1328705795" username="admin" version="1.0"><![CDATA[اعدادات هاك اضفني كصديق]]></phrase>
</phrasetype>
</phrases>
<options>
<settinggroup name="addme_postbit" displayorder="65535">
<setting varname="addme_postbit_onoff" displayorder="10">
<datatype>free</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="addme_postbit_place" displayorder="20">
<datatype>free</datatype>
<optioncode><![CDATA[<select name='setting[$setting[varname]]' tabindex='1' class='bginput'>
<option value='0' " . iif($setting['value']=='0','selected="selected"') . ">أول مشاركة فقط</option>
<option value='1' " . iif($setting['value']=='1','selected="selected"') . ">بكل المشاركات</option>
</select>]]></optioncode>
<defaultvalue>0</defaultvalue>
</setting>
<setting varname="addme_postbit_copyright" displayorder="30">
<datatype>free</datatype>
<optioncode>حقوق hayef5.yoo7.com</optioncode>
</setting>
</settinggroup>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>
عندك امرين
- المنتج والتعديل فقط الصور ويركب على جميع الاستايلات
والثاني
- ابحث عن قالب الاستايل المناسب لك postbit_legacy
والبحث عن
<!-- message -->
ونضف تحتها مباشرة هذا الكود
<!-- اضفني كصديق -->
<div class="wall_last_post" style="background-origin: initial; background-clip: initial; border-top-left-radius: 0px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; border-bottom-left-radius: 0px; float: left; height: 63px; width: 190px; color: rgb(102, 102, 102); font-family: arial, helvetica, verdana; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-left: 3px solid rgb(204, 0, 255); border-right: 3px solid rgb(204, 0, 255); border-top: 3px dotted rgb(204, 204, 204); border-bottom: 3px dotted rgb(204, 204, 204); margin-right: 10px; margin-bottom: 10px; padding-bottom: 5px; background: rgb(255, 255, 255) repeat repeat 0px 0px">
<div class="wall_last_post_auhor" style="background-origin: initial; background-clip: initial; color: rgb(96, 96, 96); font-family: Tahoma; font-size: 12px; font-weight: normal; text-shadow: rgb(136, 206, 216) '1px 0px 1px'; margin-left: 10px; padding-right: 11px; padding-top: 7px; background: url('http://yoursmileys.ru/csmile/friend/c0401.gif') no-repeat no-repeat 0% 50%">
<font color="#000000">انا : </font>
<a href="member.php?$session[sessionurl]u=$post[userid]">$post[username]</a></div>
<div class="add_as_friend" style="background-origin: initial; background-clip: initial; height: 38px; width: 127px; margin: auto; padding-left: 40px; background: url('http://yoursmileys.ru/img/rose.gif') no-repeat 0% 50%; ">
<span style="background-origin: initial; background-clip: initial; border-image: initial; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(233, 109, 16); display: block; font-family: Tahoma; font-size: 11px; height: 20px; line-height: 23px; text-align: center; border: 1px solid rgb(244, 193, 130); margin-top: 9px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; background: rgb(255, 229, 205) repeat repeat 0px 0px">
<a rel="nofollow" style="margin:0px; padding:0px; text-decoration: none; outline-width: 0px; outline-style: none; outline-color: initial; " href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]">
<font color="#000000">اضفني كصديق</font></a></span></div>
<div class="wall_last_post_footer" style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 11px; font-weight: normal; "></div>
</div>
<p align="center" style="font: normal normal normal 11px/normal tahoma, arial, helvetica, verdana; color: rgb(102, 102, 102); font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "></p>
<br class="Apple-interchange-newline">
<!-- /اضفني كصديق -->
=====================================
<!-- /اضفني كصديق تعديل وتصميم هايف السفراني-->
<div align="center">
<table border="1" width="15%" cellspacing="0" cellpadding="0" style="border-style: dotted; border-width: 1px">
<tr>
<td>
<p align="center"> <div class="wall_last_post_auhor" style="background-origin: initial; background-clip: initial; color: rgb(96, 96, 96); font-family: Tahoma; font-size: 12px; font-weight: normal; text-shadow: rgb(136, 206, 216) '1px 0px 1px'; margin-left: 10px; padding-right: 11px; padding-top: 7px; background: url('http://yoursmileys.ru/csmile/friend/c0401.gif') no-repeat no-repeat 0% 50%">
<font color="#000000">انا : </font>
<a href="member.php?$session[sessionurl]u=$post[userid]">$post[username]</a></div>
<div class="add_as_friend" style="background-origin: initial; background-clip: initial; height: 38px; width: 127px; margin: auto; padding-left: 40px; background: url('http://yoursmileys.ru/img/rose.gif') no-repeat 0% 50%; ">
<span style="background-origin: initial; background-clip: initial; border-image: initial; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(233, 109, 16); display: block; font-family: Tahoma; font-size: 11px; height: 20px; line-height: 23px; text-align: center; border: 1px solid rgb(244, 193, 130); margin-top: 9px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; background: rgb(255, 229, 205) repeat repeat 0px 0px">
<a rel="nofollow" style="margin:0px; padding:0px; text-decoration: none; outline-width: 0px; outline-style: none; outline-color: initial; " href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]">
<font color="#000000">اضفني كصديق</font></a></span></div>
<div class="wall_last_post_footer" style="color: rgb(204, 0, 0); font-family: Tahoma; font-size: 11px; font-weight: normal; "></div>
</div>
</td>
</tr>
</table>
</div>
<!-- /اضفني كصديق تعديل وتصميم هايف السفراني-->
=====================================
الاضافه تكون تحت
وسلامتكم