Quote:
Originally Posted by DieselTruck
How would we use this for guests only?
|
Samir is correct in that VigLink link affiliation is very unobtrusive. The experience of a visitor on your site won't change if you are affiliating your outbound links using VigLink.
If you have VigLink link insertion turned on, and would like inserted links to only appear for guests (and not registered users), you can add class="nolinks" to any page element to disable inserted links.
This can be done on an individual post basis or at the page level by adding it to the body tag <body class="nolinks">
On vBulletin, you can take advantage of the yahoo dom event js to add the class name from a footer conditional. For example:
<if condition="(!$show['guest'])"> $footer .= '<script type="text/javascript"> YAHOO.util.Event.onDOMReady( function() { YAHOO.util.Dom.addClass( document.body, "nolinks" ); } ); </script>';
</if>
Hope this helps!