شرح اوامر الدالة if الشرطية للزين فورو 2.0
1. How can I show content to Administrators?
كود:
<xf:if is="$xf.visitor.is_admin"> 2. How can I show content to Moderators? كود:
<xf:if is="$xf.visitor.is_moderator"> 3. How can I show content to Administrators and Moderators? كود:
<xf:if is="$xf.visitor.is_admin OR $xf.visitor.is_moderator"> 4. How can I Show content for member? كود:
<xf:if is="$xf.visitor.user_id"> 5. How can I Show content if not a member? كود:
<xf:if is="!$xf.visitor.user_id"> 6. How can I show different content to members and guests? <xf:if is="!$xf.visitor.user_id"> Show only members <xf:else /> Show only guests </xf:if> محتوى يظهر للاعضاء مختلف كليا عن الزوار 7. How can I Show content for banned members? كود:
<xf:if is="$user.is_banned"> 8. How can I show content from x if the user's likes is bigger? كود:
<xf:if is="$user.like_count|number > x"> 9. How can I show content from x if the user's message is bigger? كود:
<xf:if is="$user.message_count|number > x"> 10. How can I show content from x if the user's points is bigger? كود:
<xf:if is="$user.trophy_points|number > x"> 11. How can I show content to a specific member? كود:
<xf:if is="$xf.visitor.user_id == x"> 12. How can I show content to more than one member? كود:
<xf:if is="in_array($xf.visitor.user_id, [x, x, x, x])"> 13. How can I Show content from more than one user group? كود:
<xf:if is="{{$xf.visitor.isMemberOf(x)}}"> كود:
<xf:if is="{{!$xf.visitor.isMemberOf(x)}}"> كود:
<xf:if is="$post.position % $xf.options.messagesPerPage == 0"> كود:
<xf:if is="$post.position % $xf.options.messagesPerPage == x"> كود:
<xf:if is="$sidebar"> كود:
<xf:if is="$template != 'forum_list'"> كود:
<xf:if is="$template !== 'forum_list'"> كود:
<xf:if is="$template == 'forum_post_thread'"> كود:
<xf:if is="$template != 'forum_post_thread'"> كود:
<xf:if is="$template == 'xfrm_category_add_resource'"> كود:
<xf:if is="$template != 'xfrm_category_add_resource'"> كود:
<xf:if is="$template == 'search_form'"> كود:
<xf:if is="$template != 'search_form'"> كود:
<xf:if is="$template == 'whats_new'"> كود:
<xf:if is="$template != 'whats_new'"> كود:
<xf:if is="$template == 'conversation_view'"> كود:
<xf:if is="$template != 'conversation_view'"> كود:
<xf:if is="$template == 'conversation_list'"> كود:
<xf:if is="$template != 'conversation_list'"> كود:
<xf:if is="$template == 'xfrm_overview'"> كود:
<xf:if is="$template != 'xfrm_overview'"> كود:
<xf:if is="$template == 'xfrm_resource_view'"> كود:
<xf:if is="$template != 'xfrm_resource_view'"> كود:
<xf:if is="$template == 'thread_view'"> كود:
<xf:if is="$template !='thread_view'"> كود:
<xf:if is="$template =='forum_view'"> كود:
xf:if is="$template != 'forum_view'"> كود:
<xf:if is="{$xf.visitor.Option.is_discouraged}"> كود:
<xf:if is="{$xf.visitor.gravatar}"> كود:
<xf:if is="{$xf.visitor.is_staff}"> كود:
<xf:if is="{$xf.visitor.isAwaitingEmailConfirmation()}"> كود:
<xf:if is="in_array({$forum.node_id}, [X,Y,Z])"> كود:
<xf:if is="!in_array({$forum.node_id}, [X,Y,Z])"> كود:
<xf:if is="{$forum.node_id} == 3"> كود:
<xf:if is="{$forum.node_id} != 3"> كود:
<xf:if is="{$post.position} % {$xf.options.messagesPerPage} == 1"> كود:
<xf:if is="{$post.position} % {$xf.options.messagesPerPage} == 0"> كود:
<xf:if is="{$xf.visitor.location}"> كود:
<xf:if is="{$xf.visitor.website}"> كود:
<xf:if is="{$xf.visitor.signature}"> كود:
<xf:if is="{$xf.visitor.user_state} == 'valid'"> كود:
<xf:if is="{$xf.visitor.user_state} == 'email_confirm_edit'"> كود:
<xf:if is="{$xf.visitor.user_state} == 'email_bounce'"> |
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
شكرا لك صديقي بارك الله فيك
|
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
بارك الله فيكم
سيحين دور استخدامها بالنسبة لي قريبا. |
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
ماشاء الله عليك راح تسهل على الاخوة المستخدمين للسكربت بشكل ممتاز جدا.
|
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
اشكركم شباب
|
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
كنت ببحث عنه ياخال
ووجدته هنا حقا منتدى جميل |
رد: شرح اوامر الدالة if الشرطية للزين فورو 2.0
نورتنى اخى.
|
الساعة الآن 04:43 PM |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By
Almuhajir