[BBcode] كود BBCode لتصغير الصور في المشاركات

Dr.osamA

:: Coder ::
Coder/Designer
20 نوفمبر 2009
181
0
0
54
دمشق
www.alra7ba.net
This will enable you to use LightBox2 as a BBCode in your posts.
هذا الهاك يسمح لك باستخدام كود BBCode في مشاركاتك

Please note this is only possible due to the fantastic work of HuddleTogether,
so boogie on over to their site and
للتحميل من الربط ادناه

Download lightbox2



upload files from lightbox2 as follows:
ارفع الملفات على المسارات التالي
PHP:
css/*.* - root/forum/css/*.*
js/*.* - root/forum/clientscript/*.*
images/*.* - root/forum/images/*.*


Upload the attached image to here:
ارفع الصورة المرفقة الى المسار التالي

PHP:
yoursite.com/forum/images/ximgrs.png

Create new Custom BBCode
قم باضافة BBCode من لوحة تحكمك على الشكل التالي

Title:Xtreme Resize
العنوان :Xtreme Resize


BB Code Tag Name:ximgrs
اسم المتغير:ximgrs

Replacement:
المتغير او كود الاستبدال :

PHP:
<p><script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<font color="#000000"><strong>Click Thumbnail to view Full Screenshot Demo</strong></font><br /><br />
<a href="{param}" rel="lightbox" title="{param}"><img src="{param}" width="300" /></a></p>

Example:[ximgrs]url to image[/ximgrs]
مثال : [ximgrs]url to image[/ximgrs]

Description:Lightbox2 bbcode for images
الوصف

Button Image (Optional) :images/ximgrs.png
ربط الزر :images/ximgrs.png

مثال للمعاينة

تحيااااااااتي
 

المرفقات

  • ximgrs.png
    ximgrs.png
    3.4 KB · المشاهدات: 156