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

Add Skimlinks Code 1.4.0

Allows you to easily add Skimlinks code to your site, shown to any usergroup

  1. Chris D

    Chris D XenForo Developer Staff Member

    Yorick submitted a new resource:

    Add Skimlinks Code (version 1.0) - Allows you to easily add Skimlinks code to your site

    Read more about this resource...
     
  2. AzzidReign

    AzzidReign Well-Known Member

    What's the difference with this addon and adding the js to the footer template?
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    Simply that it doesn't require a template edit thus no chance of the template ever being outdated in subsequent XenForo updates.
     
    The Pet Board likes this.
  4. Rho Delta

    Rho Delta Well-Known Member

    I will have to go delete my template edit now! :D
     
  5. Adam Howard

    Adam Howard Well-Known Member

    Would be cool if there was a simple option to show only to guest
     
  6. System0

    System0 Active Member

    I believe this can be done using xen if statements :)
     
  7. MattW

    MattW Well-Known Member

    Code:
    <xen:if is="!{$visitor.user_id}">
    <script type="text/javascript" src="http://s.skimresources.com/js/DETAILS.skimlinks.js"></script>
    </xen:if>
     
  8. Adam Howard

    Adam Howard Well-Known Member

    I'm aware that you could do this via template edit, but as I already have dozens of edits... This modification (and others like it) are very useful. So without doing the edit, it would be cool if this had the options to hide it from members and only show it to guest.

    (Cause if I was going to do the template edit... I wouldn't need this modification)
     
  9. Chris D

    Chris D XenForo Developer Staff Member

    Yeah that'll be in the next version, coming soon.
     
    Ranger375 and TheVisitors like this.
  10. Ranger375

    Ranger375 Well-Known Member

    Can someone post a example of what it looks like on their forum. I'm curious and might have to use this :D
     
  11. MattW

    MattW Well-Known Member

    Have a look at this thread. It will display as you'll be a guest. Certain words (IIRC Seagate) gets converted
    http://www.z22se.co.uk/forum/threads/finally-nas.19147/
     
    Ranger375 likes this.
  12. Chris D

    Chris D XenForo Developer Staff Member

    MattW,

    Do you get a decent income from this?

    (If you don't mind me asking!)
     
  13. MattW

    MattW Well-Known Member

    Of course not.

    Couple of £ a day (the below image is everything since I signed up back in March)
    SkimLinks.PNG

    Haven't actually been paid anything yet, but I think the first payment takes 70 days from the revenue being confirmed??
     
    Ranger375 likes this.
  14. Chris D

    Chris D XenForo Developer Staff Member

  15. Ranger375

    Ranger375 Well-Known Member

    That was fast! Thanks!
     
    Yorick likes this.
  16. Rho Delta

    Rho Delta Well-Known Member

    Can you create an addon just like this for Viglinks? I am about to switch from Skimlinks to Viglinks and this would be VERY helpful.

    Thanks!
     
    Brandon Sheley likes this.
  17. Chris D

    Chris D XenForo Developer Staff Member

    Yeah sure.

    Usually it's not too complicated.

    Do you have any details from them on how to implement it? Such as code or placement?
     
  18. Rho Delta

    Rho Delta Well-Known Member

    How to Install

    This code should be inserted at the very end of your pages, just before the </body> tag.
    The code needs to be present on every page where you'd like VigLink to work. The best way to install this code everywhere is to add it to your site's template.
    For details about the JavaScript API, see the API documentation.

    I will PM you my personal code it gives me if that helps.
     
  19. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming updated Add Skimlinks Code with a new update entry:

    Now includes a usergroup selector!

    Read the rest of this update entry...
     
  20. PVO_Dave

    PVO_Dave Active Member

    kontrabass and akia like this.

Share This Page