إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 02-25-2010, 05:00 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

I am trying to create a BBcode to force an image to the left of text by creating a new BBcode called [MGL].

The problem I am having is that the editor automatically parses the text and inserts it's own [URL] tags.

As an example. In the Replacement input box for creating a new BBcode :

HTML Code:
{param}


The above code comes out as:

HTML Code:
[IMGL][URL]http://url to image[/URL][/IMGL]
I need it so when {param} = 'url to image' the actual image is displayed instead of a link to the image, which is [IMG] instead of [URL] tags.

The only way I know to do this is to turn off auto parsing for links. But I don't see that as an option for me to do.

What can I do to make the software do what I need without turning off parsing?

Here...try this at home....

Create New BBcode:

Title .... Float Left
BB Code Tag Name.....imgl
Replacement.......[IMG]{param}[/IMG]

Example......
Description.... Float an image to the left, wrap text around it!
Button Image (Optional) .... Any 21 x 20 image for testing this.


Thanks for any and all help
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 04:14 PM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML