MyBB Community Forums

Full Version: mybb and adf.ly....not compatable?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,
I have tried to use adf.ly with mybb, but it doesn't work.
the following script should convert every link in your forum to adfly links:
<script type="text/javascript">
    var adfly_id = 4687218;
    var adfly_advert = 'int';
    var exclude_domains = ['example.com', 'yoursite.com'];
</script>
<script src="https://cdn.adf.ly/js/link-converter.js"></script> 

i have put it in headerinclude and header, both not work.
Also tested it in my theme and in the default mybb theme, still not working.

anyone tested it with mybb?
thanks
I just tested it in the following templates:
  • Headerinclude
  • Header
  • footer
  • index


And it didn't seem to work.

[Attachment Removed]
Thank you very much Arbaz for your help.
I have tested the plugin and it works perfectly.