Warning: Function get_magic_quotes_gpc() is deprecated in /home/forumbs/public_html/includes/class_core.php on line 1960

Warning: Methods with the same name as their class will not be constructors in a future version of PHP; vB_XML_Parser has a deprecated constructor in ..../includes/class_xml.php on line 52

Warning: Methods with the same name as their class will not be constructors in a future version of PHP; vB_XML_Builder has a deprecated constructor in ..../includes/class_xml.php on line 689
شرح اضافة مقطع يوتيوب الى الملف الشخصي و postbit_legacy [الأرشيف] - منتديات بانى ستار

المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : شرح اضافة مقطع يوتيوب الى الملف الشخصي و postbit_legacy



Bakenam
02-05-2009, 08:37 PM
السلام عليكم

شرح اضافة مقطع يوتيوب للملف الشخصي وبوست لوجسي




مثال الملف الشخصي

اضغط هنا (http://kingdom-ghram.com/vb/member.php?u=4)

مثال postbit_legacy

اضغط هنا (http://kingdom-ghram.com/vb/showthread.php?t=1560)





: : الشرح : :


1- اضافة حقل جديد في الملف الشخصي

لوحة التحكم > حقول الملف الشخصي > اضافة خقل جديد
نوع خانة الملف : صندوق نص بسطر وحيد
العنوان : youtube
الوصف :
رمز Code:
لاضافة مقطع فيديو من موقع يوتيوب قم بنسخ كود الفيديو من وصلة المقطع .. مثالhttp://youtube.com/watch?v=<font color="#FF0000">JFwCCL0Vh6U </font>ولاضافة الفيديو في المشاركة قم بوضع الكود ( باللون الاحمر) هكذا<font color="#FF0000">JFwCCL0Vh6U </font>
الباقي خله مثل ماهو بعدين حفظ

نحفظ رقم field للحقل المضاف

.
.

2- اضافة المقطع في الملف الشخصي
الاستايلات > البحث في القوالب > ابحث عن MEMBERINFO

ابحث عن :

رمز Code:
<if condition="$show['signature']">
فوقها مباشرة ضع هذا الكود :




رمز PHP:

<!-- / youtube -->

<if condition="$userinfo[field25]">
<object width="200" height="150"><param name="movie" value="http://www.youtube.com/v/$userinfo[field25]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field25]" type="application/x-shockwave-flash" wmode="transparent" width="200" height="150"></embed></object>
</if>
<!-- / youtube -->



او باي مكان انت تحب بالفرونت بيج ... انا استخدم قالب معدل !



3- اضافة المقطع في قالب postbit_legacy
الاستايلات > البحث في القوالب > ابحث عن postbit_legacy

ابحث عن :

رمز Code:
<if condition="$show['reputationlink']">
فوقه مباشرة ضع هذا الكود :


رمز PHP:

<!-- / youtube -->
<if condition="$post[field25]">
<object width="130" height="130"><param name="movie" value="http://www.youtube.com/v/$post[field25]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$post[field25]" type="application/x-shockwave-flash" wmode="transparent" width="130" height="130"></embed></object>
</if>
<!-- / youtube -->




اهم نقطة تأكد من رقم field ... انا رقمه عندي 25 !
انت غيره حسب اللي طلع لك عند اضافة الحقل في اول خطوة