\همس المشاعر/ عضو جديد
عدد المساهمات : 180 نقاط : 230 تاريخ التسجيل : 26/03/2011
| موضوع: اضافه جديده لنشر المواضيع قبل التوقيع Facebook , Twiiter , Google الأحد مارس 27, 2011 10:21 am | |
| اضافه جديده من تعديلى الخاص لنشر المواضيع
فى آخر الموضوع قبل التوقيع
مثال
http://www.weladbld.com/vb/showthread.php?t=28775طريقة التركيب
ابحث عن قالب showthread او [ postbit او postbit_legacy ]
ابحث فيه عن - الكود:
-
<!-- / message --> ضع هذا الكود فوقه مباشرة - الكود:
-
<!-- Weladbld.com - zoka - BEGIN --> <p align="center"> <img border="0" src="http://img263.imageshack.us/img263/7379/sharee.jpg" width="344" height="33" align="left"> <!-- AddThis Button BEGIN --> </p> <div class="addthis_toolbox addthis_default_style addthis_32x32_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> </div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d5fb7c15edc82bd"></script> <!-- AddThis Button END --> <!-- Weladbld.com - zoka - END --> يمكنك اضافة الكود فقط في المشاركة الاولي فقط بالموضوع - الكود:
-
[font=Courier New][color=#007700]<if [/color][color=#0000bb]condition[/color][color=#007700]=[/color][color=#dd0000]"$post[postcount] == 1"[/color][/font][font=Courier New][color=#007700]> <!-- [/color][color=#0000bb]Weladbld[/color][color=#007700].[/color][color=#0000bb]com [/color][color=#007700]- [/color][color=#0000bb]zoka [/color][color=#007700]- [/color][color=#0000bb]BEGIN [/color][/font][font=Courier New][color=#007700]--> <[/color][color=#0000bb]p align[/color][color=#007700]=[/color][color=#dd0000]"center"[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]img border[/color][color=#007700]=[/color][color=#dd0000]"0" [/color][color=#0000bb]src[/color][color=#007700]=[/color][color=#dd0000]"http://img263.imageshack.us/img263/7379/sharee.jpg" [/color][color=#0000bb]width[/color][color=#007700]=[/color][color=#dd0000]"344" [/color][color=#0000bb]height[/color][color=#007700]=[/color][color=#dd0000]"33" [/color][color=#0000bb]align[/color][color=#007700]=[/color][color=#dd0000]"left"[/color][/font][font=Courier New][color=#007700]> <!-- [/color][color=#0000bb]AddThis Button BEGIN [/color][/font][font=Courier New][color=#007700]--> </[/color][color=#0000bb]p[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]div [/color][color=#007700]class=[/color][color=#dd0000]"addthis_toolbox addthis_default_style addthis_32x32_style"[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_1"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_2"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_3"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_4"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_compact"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> </[/color][color=#0000bb]div[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]script type[/color][color=#007700]=[/color][color=#dd0000]"text/javascript" [/color][color=#0000bb]src[/color][color=#007700]=[/color][color=#dd0000]"http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d5fb7c15edc82bd"[/color][color=#007700]>[/color][/font][font=Courier New][color=#0000bb]</script> [/color]<!-- AddThis Button END --> <!-- Weladbld.com - zoka - END --> </if> [/font]
كود الاخفاء عن اقسام معينه رمز PHP: - الكود:
-
[color=#000000][font=Courier New][color=#007700]<if [/color][color=#0000bb]condition[/color][color=#007700]=[/color][color=#dd0000]"$post[postcount] == 1 && $post[usergroupid] != 1 && !in_array($thread['forumid'],array(76,3))"[/color][/font][font=Courier New][color=#007700]> <!-- [/color][color=#0000bb]Weladbld[/color][color=#007700].[/color][color=#0000bb]com [/color][color=#007700]- [/color][color=#0000bb]zoka [/color][color=#007700]- [/color][color=#0000bb]BEGIN [/color][/font][font=Courier New][color=#007700]--> <[/color][color=#0000bb]p align[/color][color=#007700]=[/color][color=#dd0000]"center"[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]img border[/color][color=#007700]=[/color][color=#dd0000]"0" [/color][color=#0000bb]src[/color][color=#007700]=[/color][color=#dd0000]"http://img263.imageshack.us/img263/7379/sharee.jpg" [/color][color=#0000bb]width[/color][color=#007700]=[/color][color=#dd0000]"344" [/color][color=#0000bb]height[/color][color=#007700]=[/color][color=#dd0000]"33" [/color][color=#0000bb]align[/color][color=#007700]=[/color][color=#dd0000]"left"[/color][/font][font=Courier New][color=#007700]> <!-- [/color][color=#0000bb]AddThis Button BEGIN [/color][/font][font=Courier New][color=#007700]--> </[/color][color=#0000bb]p[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]div [/color][color=#007700]class=[/color][color=#dd0000]"addthis_toolbox addthis_default_style addthis_32x32_style"[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_1"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_2"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_3"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_preferred_4"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]a [/color][color=#007700]class=[/color][color=#dd0000]"addthis_button_compact"[/color][color=#007700]></[/color][color=#0000bb]a[/color][/font][font=Courier New][color=#007700]> </[/color][color=#0000bb]div[/color][/font][font=Courier New][color=#007700]> <[/color][color=#0000bb]script type[/color][color=#007700]=[/color][color=#dd0000]"text/javascript" [/color][color=#0000bb]src[/color][color=#007700]=[/color][color=#dd0000]"http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d5fb7c15edc82bd"[/color][color=#007700]>[/color][/font][font=Courier New][color=#0000bb]</script> [/color]<!-- AddThis Button END --> <!-- Weladbld.com - zoka - END --> </if> [/font] [/color] - الكود:
-
array(76,3) هذه ارقام الاقسام المراد استثنائها غيرها لما يناسبك | |
|
???? زائر
| موضوع: رد: اضافه جديده لنشر المواضيع قبل التوقيع Facebook , Twiiter , Google الأحد مارس 27, 2011 10:30 am | |
| |
|