Support How to post amazon associates banner ad

DarKMaSK

Loyal Member
How to post Amazon Associates Banner Ad in Xenforo 2.2.4? I tried to post it using 'Advertisement' option, but it didn't show. Please help me.
Google Translate: چگونه می توانم تبلیغات Amazon Partner را در Xenforo 2.2.4 ارسال کنم؟ من سعی کردم آن را با استفاده از گزینه "Ads" ارسال کنم ، اما نشان داده نشد. لطفا کمکم کن.
 
Solution
I'm sorry
There's two things that can help for right now.

1) Create the widget that you want, but don't assign it to a position. Give it a "widget key" for example "my_widget".
2) Create a new "HTML" widget in the desired position. Check the "Advanced mode" box. In the "Template" field type:
HTML:
<xf:if is="!$xf.visitor.user_id">
<xf:widget key="my_widget" />
</xf:if>
That should give you the desired effect

$xf.visitor.user_id = Registered users only
!$xf.visitor.user_id = Unregistered users only

196167-a9fd3db0079c051cf786f8cf1459c5ec.md.png

XenForo

Administrative
I'm sorry
There's two things that can help for right now.

1) Create the widget that you want, but don't assign it to a position. Give it a "widget key" for example "my_widget".
2) Create a new "HTML" widget in the desired position. Check the "Advanced mode" box. In the "Template" field type:
HTML:
<xf:if is="!$xf.visitor.user_id">
<xf:widget key="my_widget" />
</xf:if>
That should give you the desired effect

$xf.visitor.user_id = Registered users only
!$xf.visitor.user_id = Unregistered users only

196167-a9fd3db0079c051cf786f8cf1459c5ec.md.png
 
Solution
  • Tags
    advertisement amazon affiliaite how to post amazon associates banner ad xenforo 2.2.4
  • Back
    Top Bottom