الامبراطور General Admin
■ - [ ڪِتـابَاتِيّ » * : 134 ■ - [ تاريخ الٓميِلاُدٓ» * : 09/07/1999 ■ - [ تآريخٍ آلتًسجيلٍ» * : 22/12/2012 ■ - [ آلعٍمر» * : 24 ■ - [ آلموِقع» * : https://staulk.yoo7.com/ ■ - [ آلمزٓاِجٌٍ» * : رآآآيق
| موضوع: حصرياً كود مشاركة الموضوع على Facebook و Twitter ومواقع اخرى اعلى الموضوع والرد الأحد ديسمبر 23, 2012 3:17 am | |
| كود جافا لـ مشاركة الموضوع في Facebook و Twitter اعلى الموضوع والرد
طريقة التركيب
لوحة الادارة ==> عناصر إضافية ==> إدارة اكواد JavaScript ثم اضغط علي أنشاء كود جديد العنوان : مثلا : كود مشاركة المواضيع أضف الكود الى : جميع الصفحات كود Javascript : ضع الكود البرمجي التالي
الكود :
اولاً : لوضع الكود اعلى الموضوع للنسخة الثالثه phpbb3
الــرمــز: تحديد المحتوي
$(function() { $('div.post:first').before('<div class="post row2" id="p0"><div class="inner"><span class="corners-top"><span></span></span><div class="postbody"><div class="clearfix"></div><div style="display:none"></div><div class="content clearfix"><div><center></strong></td><td class="row1" align="left" ><div id="share" align="left"><a href="https://www.facebook.com/sharer/sharer.php?u='+url+'"><img alt="Facebook" src="http://static.blogcu.com/temps/skinbu/images/facebook.png" /></a><a href="http://twitter.com/home?status='+url+'"><img alt="Twitter" height="32" src="http://static.blogcu.com/temps/skinbu/images/twitter.png" width="32" /></a><a href="mailto:?subject=Haber Kodları&body='+url+'"><img alt="Email" height="32" src="http://static.blogcu.com/temps/skinbu/images/email.png" width="32" /></a><a href="https://skydrive.live.com/sharefavorite.aspx%2f.SharedFavorites??marklet=1&url='+url+'"><img alt="Windows Live" height="32" src="http://static.blogcu.com/temps/skinbu/images/windows.png" width="32" /></a><a href="http://technorati.com/faves?add='+url+'"><img alt="Technorati" height="32" src="http://static.blogcu.com/temps/skinbu/images/technorati.png" width="32" /></a><a href="http://delicious.com/post?url='+url+'"><img alt="Delicious" height="32" src="http://static.blogcu.com/temps/skinbu/images/delicious.png" width="32" /></a><a href="http://digg.com/submit?phase=2&url=http://scriptciler.blogcu.com/haber-kodlari/4165563&title=Haber Kodları&bodytext='+url+'"><img alt="Digg" height="32" src="http://static.blogcu.com/temps/skinbu/images/digg.png" width="32" /></a><a href="http://www.stumbleupon.com/submit?url='+url+'"><img alt="Stumblepon" height="32" src="http://static.blogcu.com/temps/skinbu/images/stumbleupon.png" width="32" /></a><a href="http://www.myspace.com/Modules/PostTo/Pages/?u='+url+'"><img alt="Myspace" height="32" src="http://static.blogcu.com/temps/skinbu/images/myspace.png" width="32" /></a><a href="http://www.linkedin.com/shareArticle?mini=true&url='+url+'"><img alt="Likedin" height="32" src="http://static.blogcu.com/temps/skinbu/images/linkedin.png" width="32" /></a></div></td></table></a></center></div></div></div><div class="clear"></div><span class="corners-bottom"><span></span></span></div></div>'); });
ثانياً : لوضع الكود اعلى الرد للنسخة الثالثه phpbb3
الــرمــز: تحديد المحتوي
$(function() {
$('div.post:first').after('<div class="post row2" id="p0"><div class="inner"><span class="corners-top"><span></span></span><div class="postbody"><div class="clearfix"></div><div style="display:none"></div><div class="content clearfix"><div><center></strong></td><td class="row1" align="left" ><div id="share" align="left"><a href="https://www.facebook.com/sharer/sharer.php?u='+url+'"><img alt="Facebook" src="http://static.blogcu.com/temps/skinbu/images/facebook.png" /></a><a href="http://twitter.com/home?status='+url+'"><img alt="Twitter" height="32" src="http://static.blogcu.com/temps/skinbu/images/twitter.png" width="32" /></a><a href="mailto:?subject=Haber Kodları&body='+url+'"><img alt="Email" height="32" src="http://static.blogcu.com/temps/skinbu/images/email.png" width="32" /></a><a href="https://skydrive.live.com/sharefavorite.aspx%2f.SharedFavorites??marklet=1&url='+url+'"><img alt="Windows Live" height="32" src="http://static.blogcu.com/temps/skinbu/images/windows.png" width="32" /></a><a href="http://technorati.com/faves?add='+url+'"><img alt="Technorati" height="32" src="http://static.blogcu.com/temps/skinbu/images/technorati.png" width="32" /></a><a href="http://delicious.com/post?url='+url+'"><img alt="Delicious" height="32" src="http://static.blogcu.com/temps/skinbu/images/delicious.png" width="32" /></a><a href="http://digg.com/submit?phase=2&url=http://scriptciler.blogcu.com/haber-kodlari/4165563&title=Haber Kodları&bodytext='+url+'"><img alt="Digg" height="32" src="http://static.blogcu.com/temps/skinbu/images/digg.png" width="32" /></a><a href="http://www.stumbleupon.com/submit?url='+url+'"><img alt="Stumblepon" height="32" src="http://static.blogcu.com/temps/skinbu/images/stumbleupon.png" width="32" /></a><a href="http://www.myspace.com/Modules/PostTo/Pages/?u='+url+'"><img alt="Myspace" height="32" src="http://static.blogcu.com/temps/skinbu/images/myspace.png" width="32" /></a><a href="http://www.linkedin.com/shareArticle?mini=true&url='+url+'"><img alt="Likedin" height="32" src="http://static.blogcu.com/temps/skinbu/images/linkedin.png" width="32" /></a></div></td></table></a></center></div></div></div><div class="clear"></div><span class="corners-bottom"><span></span></span></div></div>');
});
بالتوفيق للجميع
| |
|