Warning: The author of this contribution does not provide support for it anymore.

VigLink.com Forum Monetization and Analytics

Using Viglink on phpBB 3.1.3 [how to for newbs] - VigLink.com Forum Monetization and Analytics

Using Viglink on phpBB 3.1.3 [how to for newbs]

by Ctechinfo » Fri Feb 06, 2015 2:39 pm

Currently the only style I have installed is prosilver (but you should be able to the same with other styles/templates.. This how-to is for those who relied solely on the MOD for implementation in older phpBB software.

get the stand alone code from viglink.com

Code: Select all

<script type="text/javascript">
  var vglnk = { key: 'Insert you tracking code here' };

  (function(d, t) {
    var s = d.createElement(t); s.type = 'text/javascript'; s.async = true;
    s.src = '//cdn.viglink.com/api/vglnk.js';
    var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r);
  }(document, 'script'));
</script>


In the overall_footer.html file find the </body> tag, paste the viglink code just before the </body> tag link so:

Code: Select all

<script type="text/javascript">
  var vglnk = { key: 'Insert you tracking code here' };

  (function(d, t) {
    var s = d.createElement(t); s.type = 'text/javascript'; s.async = true;
    s.src = '//cdn.viglink.com/api/vglnk.js';
    var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r);
  }(document, 'script'));
</script>

</body>
</html>


Might be very simplistic to some people, bur for those wanting to use the feature but too nervous to ask the question..
Ctechinfo
Registered User
Posts: 59
Joined: Mon Nov 22, 2010 4:31 am
Location: Maine
Name: Toby Bibeau
Contact:

Re: Using Viglink on phpBB 3.1.3 [how to for newbs]

by tunescool » Sat Jan 30, 2016 12:33 pm

thanks for posting i was thinking i couldnt use it with 3.1
User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact: