1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Add "Affiliates" block on the sidebar

Discussion in 'Template Modifications [Archive]' started by PoLiZe, Dec 9, 2010.

  1. PoLiZe

    PoLiZe Well-Known Member

    Hi people of XenForo.
    Today i have a code of Affiliates block on the sidebar

    it's very simple, and we need edit the template: sidebar_online_user..


    And add that to the final of the template..

    HTML:
    <xen:if is="{$visitor.user_id}">
    <xen:else />
    <div class="section">
    <div class="secondaryContent">
    <h3>Affiliates</h3>
    <marquee width="200" height="200"direction=up>
    HERE THE AFFS
    </marquee>
    </div></div>
    </xen:if>
    

    if u need show the block to all user, need delete the xen:if..

    code:
    HTML:
    <div class="section">
    <div class="secondaryContent">
    <h3>Affiliates</h3>
    <marquee width="200" height="200"direction=up>
    HERE THE AFFS
    </marquee>
    </div></div>
    
    i'm programming a add-on more advanzed for that.. but the friday i can finish that...

    demo of the block on the sidebar: http://www.comparteonline.net/
     
  2. Peggy

    Peggy Well-Known Member

    VERY good. This is what I need.

    Thanks!
     
  3. joanne

    joanne New Member

    I have added this and i have added the show to all user and its not showing it up
     
    DarkGizmo likes this.
  4. DarkGizmo

    DarkGizmo Active Member

    We are running Xen 1.0.4 if that matters at all. :)
     
  5. zaiger

    zaiger Active Member

    Does this still work with the newest versions of XF?
     
  6. Cool

    Cool Active Member

    yes it does
     
    zaiger likes this.
  7. zaiger

    zaiger Active Member

    Thanks a lot. Can't wait to use this on my site then. :cool:
     
  8. zaiger

    zaiger Active Member

    Seems I am having the same problem as Joanne. Can someone check to confirm this mod is working still?
     
  9. Cool

    Cool Active Member

Share This Page