بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
اخوانى الكرام اعضاء المنتدى اليكم الطريقه لازالة زر الرد او الاقتباس من المشاركه الاولى
وذلك لمنع الاعضاء من اقتباس المواضيع بدلا من وضع بنود بمنع اقتباس الموضوع كاملا ومخالفة الاعضاء
الطريقه كالتالى ...
من القالب 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>
وهذه صوره للقالب بعد التعديل
تم بحمد الله
نسألكم الدعاء ودمتم بخير