عرض مشاركة واحدة
احصائياتى

الردود
4

المشاهدات
2316
هيلبرنت
.:: رفيق درب ::.
  • هيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant futureهيلبرنت has a brilliant future

  • هيلبرنت غير متواجد حالياً

المشاركات
11,551

+التقييم
321

تاريخ التسجيل
Jul 2015

الاقامة
فى الدنيا

نظام التشغيل
windows 8

رقم العضوية
18
01-05-2019, 11:01 PM
المشاركة 1
01-05-2019, 11:01 PM
المشاركة 1
افتراضي اضافة ازرار مشاركة فيسبوك وتويتر وجوجل بلس للمواضيع
سيساعدك هذا التعديل على إضافة الأزرار التواصل الاجتماعية في شريط أدوات الموضوع مما يساهم فى نشر المواضيع تلقائيا بمجرد الضغط على زر تويتر او فيس بوك او جوجل بلس


الخطوات
1- ادخل الى لوحة التحكم Admin CP

2- ادخل الى الستايلات ثم البحث عن قوالب

3- ابحث عن قالب conversation_toolbar ابحث فى داخل القالب عن هذا الكود
كود:
<vb:if condition="!empty($showSubscriberFilter)">
4- ضع اعلاه هذا الكود
كود PHP:
<vb:if condition="$page['view'] == 'thread'">
    <
style>
        .
share-buttons float:{vb:stylevar left}; position:relativepadding:8px 10pxheight:20pxmargin-top:-37px; }
        .
share-buttons.withRB margin-{vb:stylevar left}:150px; }
        .
share-buttons iframe float:{vb:stylevar left}; border:noneheight:20px; }
        .
share-buttons .facebook width:135px; }
        .
share-buttons .twitter width:90px; }
        .
share-buttons #___plusone_0 { width:72px !important; float:{vb:stylevar left} !important; }
        
@media only screen and (max-width:767px) { .share-buttons.withRB margin-{vb:stylevar left}: 100px; } }
        @
media only screen and (max-width:636px) { .share-buttons floatnoneborder: {vb:stylevar toolbar_border}; background:{vb:stylevar toolbar_background}; margin0; } .share-buttons.withRB margin0; } }
    </
style>
    <
div class="share-buttons<vb:if condition="(isset($showReplyBtn) AND $showReplyBtn) OR (isset($showAll) AND $showAll) OR $showVmBtn"> withRB</vb:if>">
{
vb:set starterRoute, {vb:raw conversation.starterroute}}
{
vb:set starterPost.nodeid, {vb:raw conversation.starter}}
{
vb:set threadurl, {vb:url {vb:raw starterRoute}, {vb:raw starterPost}}}
        <
iframe class="facebook" src="//www.facebook.com/plugins/like.php?href=http://EXAMPLE.COM/node/{vb:raw nodeid}&layout=button_count&action=like&show_faces=false&share=true&width=135&height=20" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
        <
iframe class="twitter" src="//platform.twitter.com/widgets/tweet_button.html?text={vb:raw conversation.title}%0A&url=http://EXAMPLE.COM/node/{vb:raw nodeid}&counturl={vb:raw threadurl}" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
        <
div class="g-plusone" data-size="medium" data-width="68" data-href="http://EXAMPLE.COM/node/{vb:raw nodeid}"></div>
        <
script type="text/javascript">(function() {var po document.createElement('script'); po.type 'text/javascript'po.async truepo.src '//apis.google.com/js/plusone.js'; var document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pos);})();</script>
    </div>
</vb:if>
<vb:comment>END of Social Buttons Code</vb:comment> 
مع تغيير EXAMPLE.COM الى اسم موقعك