Dr.osamA
في المشاهدات: 900 | 07-31-2010
في موضوع للكاتب :
Dr.osamA
في منتدى :
هاك BBCode بي بي كود الوميض
صاحب الهاك : BirdOPrey5
ربط الهاك الاصلي: Blink BBCode- The Ultimate BB Code! - vBulletin.org Forum
هذا الهاك او البي بي كود يضيف للمنتدى زر جديد في صندوق ادوات اضافة مشاركة او موضوع وضيفته هو جعل النص يومض كما هو المثال في المشاركة
التركيب:
تحمل الملف المرف و ترفع محتواه بعد فك الضغط الى مجلد المنتدى على المسار التالي
forums/clientscript/jquery/
طبعا مع استبدال كلمة forums باسم منتداك مثلا
vb
Step 1. Download the attachment, unzip, and upload the .js file it to your /clientscript/jquery/ directory. (This may be under /forums/clientscript/jquery/ or any other directory you have your forums installed in.)
في الخطوة الثانية ندخل على لوحة تحكم المنتدى و نبحث عن قالب headinclude و نقوم باضافة الكود التالي الى اخر القالب
Step 2. Admin CP -> Styles and Templates -> Style Manger -> Choose your style(s) -> All Style Options: Edit your header include template and add the following code at the bottom of it:
كود PHP:
<!-- Start Blinking Text jquery Script-->
<script src="/forums/clientscript/jquery/jquery-1.3.min.js" language="javscript" type="text/javascript"></script>
<script src="/forums/clientscript/jquery/jquery-blink.js" language="javscript" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function()
{
$('.blink').blink();
});
</script>
<!-- End Blinking Text jquery Script-->
انتبه الى استبدال كلمة forums الى اسم مجلد منتداك مثلا vb
Make sure you change the file paths to the .js files to match your directory setup. For me it's "/forums/clientscript/filename.js" If your forums are in your web root your location may be just "/clientscript/filename.js".
jquery-1.3.min.js is already installed in your /clientscript/jquery/ directory.
الخطوة الثالثة هي اضافةBBCode كود بي بي جديد
Add a new BBCode
Title: Blink
العنوان : Blink
BB Code Tag Name: blink
اسم البطاقة : blink
Replacement:
نص الاستبدال:
كود PHP:
<span class="blink">{param}</span>
Example: [*blink]test blink[/blink]
remov star plzz
مثال : [*blink]test blink[/blink]
طبعا بعد ازالة النجمة * من الاقواس
Description: This code makes text Blink in IE, FF, and Opera
الوصف : اكتب ما تريد عن الوميض
Use Option: No
استعمال {Option}:نضع لا
Button Image: (optional) 
زر الصورة اختياري طبعا تضع المسار حيث ترفع الصورة اليه اعمل للصورة حفظ بزر اليمين
Remove Tag If Empty: Yes
حذف التاغ الفارغ : نعم
All Disable Options: No
البقية خليهم كلهم على لا
Unlike the other blink bbcode you can have line-breaks in this code...
و هذا مثال حي
line 1
line 2
و هذا مثال اخر
test blink
works just as well as line 1. line 2.
منتديات الرحبة -
اعلانات نصية اذا
اعجبك الموضوع يمكنك ضغط زر اعجبني بنهاية الموضوع او كتابة مشاركة
للفيس بوك للمساهمة في نشر الفائدة |
Facebook Comments - تعليقك على الفيس بوك ابسط دعم لنا



