1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

******* - Affiliate System [Paid] [Deleted]

Discussion in 'Add-on Releases' started by borbole, Jul 28, 2012.

Thread Status:
Not open for further replies.
  1. borbole

    borbole Well-Known Member

    borbole submitted a new resource:

    Affiliate System (version 1.0) - Affiliate System

    Read more about this resource...
     
  2. Mouth

    Mouth Well-Known Member

    So, it's just a scrolling banner from a tab link?
     
  3. borbole

    borbole Well-Known Member

  4. borbole

    borbole Well-Known Member

    This new version has a lot of new features.
     
  5. Itworx4me

    Itworx4me Well-Known Member

    Would be nice if you could have a scrolling affiliate bar at the bottom of a page....

    Capture10.PNG
    Thanks,
    Itworx4me
     
    borbole likes this.
  6. borbole

    borbole Well-Known Member

  7. borbole

    borbole Well-Known Member

    I updated the mod with 2 new options to display the latest affiliates at the forum index and/or sidebar. You can also set a limit on how many affiliates to display there. Each option can be enabled/disabled separately at the mod settings.

    At the bottom atm I could not get them to display properly there which is very odd. But I have added that at my to do list for this mod. And thank you for your suggestion.
     

    Attached Files:

  8. Itworx4me

    Itworx4me Well-Known Member

    I would buy this mod if you can get this to work. Doesn't do me any good to have it in the side bar. I need for it to display at the bottom....

    Thanks,
    Itworx4me
     
    borbole likes this.
  9. borbole

    borbole Well-Known Member

    I added the option to display at the bottom of the forum list as well.
     

    Attached Files:

  10. Itworx4me

    Itworx4me Well-Known Member

    Will they scroll if you have say like 20 or so images?

    Thanks,
    Itworx4me
     
  11. borbole

    borbole Well-Known Member

    I have not tried it with that many image links but yes, they should all scroll.
     
  12. borbole

    borbole Well-Known Member

  13. zoldos

    zoldos Well-Known Member

    I thought it was free. Time to ask for donations again!! :)
     
  14. borbole

    borbole Well-Known Member

    borbole updated Affiliate System with a new update entry:

    A couple of new options added

    Read the rest of this update entry...
     
  15. zoldos

    zoldos Well-Known Member

    Loving the mod! Had a quick question tho: I only want to show the "Affiliates" navbar header tab to a specific usergroup and show it to no one else, including guests, how can I do this? I have the code to hide it from guests, etc., I just don't know *where* to implement it. I tried the code (which I know works), on various borbole templates but couldn't get it to work. If you could help out, I'd appreciate it! Thanks!
     
  16. borbole

    borbole Well-Known Member

    The code for that part is at the Listener.php file. (affiliateTab function)
     
  17. zoldos

    zoldos Well-Known Member

    Okay great, and the code I want to add is a XF conditional:

    Code:
    <xen:if is="{xen:helper ismemberof, $visitor, 6} OR {xen:helper ismemberof, $visitor, 3}">
    ...
    </xen:if>
    
    How can I implement this in the PHP?
     
  18. borbole

    borbole Well-Known Member

    The group permission to view the affiliates is already built in the mod. However, the affiliate link was visible but it threw the permission error for groups that did not have the permission to view it. I modified the code so it hides the tab as well and emailed you the modified copy.
     
  19. zoldos

    zoldos Well-Known Member

    It works perfectly. Thank you very much!! :)
     
    borbole likes this.
  20. borbole

    borbole Well-Known Member

    You are welcome :)
     
Thread Status:
Not open for further replies.

Share This Page