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

الردود
6

المشاهدات
1732
Araby5050
.:: عضو مشارك ::.
  • Araby5050 is a name known to allAraby5050 is a name known to allAraby5050 is a name known to allAraby5050 is a name known to allAraby5050 is a name known to allAraby5050 is a name known to all

  • Araby5050 غير متواجد حالياً

المشاركات
49

+التقييم
124

تاريخ التسجيل
Dec 2018

الاقامة
مصر

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

رقم العضوية
1887
12-26-2018, 07:52 PM
المشاركة 1
12-26-2018, 07:52 PM
المشاركة 1
افتراضي شرح ازالة زر الرد او الاقتباس من المشاركه الاولى ◄للجيل الاول.
بسم الله الرحمن الرحيم

السلام عليكم ورحمة الله وبركاته

اخوانى الكرام اعضاء المنتدى اليكم الطريقه لازالة زر الرد او الاقتباس من المشاركه الاولى

وذلك لمنع الاعضاء من اقتباس المواضيع بدلا من وضع بنود بمنع اقتباس الموضوع كاملا ومخالفة الاعضاء


الطريقه كالتالى ...


من القالب post

تبحث عن السطر التالى


كود:
<xen:if is="{$canReply}">
تجد تحته عدة سطور منها السطر التالى


كود:
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
فقط تقوم بحذفه واستبداله بالسطر التالى


كود:
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
ثم تقوم باستبدال

كود:
<xen:if is="{$canReply}">
بالتالى


كود:
<xen:if is="{$post.position}!=0">
ليكون الشكل كالتالى من اول سطر الجمله الشرطيه

<xen:if is="{$post.position}!=0">

الى نهاية الجمله
</xen:if>
</xen:hook>

كود:
     <xen:if is="{$post.position}!=0">

        <xen:if is="{$xenOptions.multiQuote}"><a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}"

                        data-messageid="{$post.post_id}"

                        class="MultiQuoteControl JsOnly item control"

                        title="{xen:phrase toggle_multi_quote_tooltip}"><span></span><span class="symbol">{xen:phrase multiquote_add}</span></a></xen:if>

    <a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>

         </xen:if>
 </xen:hook>
وهذه صوره للقالب بعد التعديل




تم بحمد الله

نسألكم الدعاء ودمتم بخير