• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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.

[xxaD] XenXero Skimlinks/VigLink Integration

EQnoble

Well-known member
#1
This will allow you to easily integrate Skimlinks or VigLink into your XenForo installation in a very basic way.

If you wanted you could use a <xen:if is conditional to display to certain user group IDs. When you are pasting in you Skimlinks or VigLink install code you would merely wrap it with the <xen:if like in this example of a viglink installation but this is a preference thing and is not required to do:
Code:
<xen:if is="{xen:helper ismemberof, $visitor, 2} OR {xen:helper ismemberof, $visitor, x} OR {xen:helper ismemberof, $visitor, y}">
<script type="text/javascript" src="http://s.skimresources.com/js/***********.skimlinks.js"></script>
</xen:if>
After installing you can test your install by:

Skimlinks = Make a test post with http://macys.com and refresh the page. If you right-click-->copy link location and paste it somewhere..if it is showing the redirect than it is working.
For me this is what is would look like.
Code:
http://go.redirectingat.com/?id=12241X698488&site=XenXero.com&xs=1&url=http%3A%2F%2FMacys.com&sref=http%3A%2F%2Fxenxero.com%2Fthreads%2Fxxad-demo-thread.2%2F
VigLinks = Go to http://www.viglink.com/users/install? *you must be logged in
Enter your xenforo's domain and Click Test Installation
vigtest.png

________________________________________________________________________

Installation Instructions:
*If you already have skimlinks or viglink integrated remove everything you did to include it.

  1. Download and extract xxaD_v1.0.zip and upload the contents of the UPLOAD folder to your forum's installation root.
  2. Install the addon-xxaD.xml from your XenForo admin panel.
  3. Edit Template: xxaD_js
  4. Just follow the simple instructions in the template and save it.
 

Attachments