MyBB Community Forums

Full Version: Adf.ly link change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I just seen alot of times in various MyBB sites.
When someone post in the thread, and someone clicks it , it (might be a plugin) changes that link into adf.ly link, from this admin earns money. So can you sort out what is the name of that plugin?
i hopo it will be the sae i am looking for.
Eh , ANother language , Is there any with english language.
I recommend adfoc.us, because it pays more. Anyways, here is the way how to do it:
You put a code that is generated for you on their website, in the headerinclude template of your current theme. That will look like this (this is mine):
<script type="text/javascript">
	var id_user = 81321;
	var domains_exclude = ['casualbananas.com'];
</script>
<script type="text/javascript" src="http://adfoc.us/js/fullpage/script.js"></script>
This way, it'll transform each link into an adfoc.us link, which will force users to wait 6 seconds and then click okay, making you earn money. The reason I put my own website there is because if you would open a thread, it'd also first show you an advertisement, and I doubt you like that...

So I suggest you to sign up.
Oh thank you. I will try.
Can you tell me what will be for adf.ly?
(2012-10-01, 07:10 AM)asad3man Wrote: [ -> ]Oh thank you. I will try.
Can you tell me what will be for adf.ly?

Adf.ly has the exact same script, but working with Adf.ly.
Sign up at Adf.ly and then go to Tools, you can find it there.
So i have to put it in Header Include?
Yes..
(2012-10-01, 01:42 PM)Cyberuben Wrote: [ -> ]Yes..

Ok thanks ,i will try once i get the thing i am waiting.


EDIT:

<script>
var adfly_id = 159475;
var adfly_advert = 'int';
var exclude_domains = ['example.com', 'yoursite.com',];
</script>
<script src="http://adf.ly/js/link-converter.js"></script>

I got this script , it is for all the exclude links. Now i want to know , what would be example.com?
(2012-10-01, 02:02 PM)asad3man Wrote: [ -> ]
(2012-10-01, 01:42 PM)Cyberuben Wrote: [ -> ]Yes..

Ok thanks ,i will try once i get the thing i am waiting.


EDIT:

<script>
var adfly_id = 159475;
var adfly_advert = 'int';
var exclude_domains = ['example.com', 'yoursite.com',];
</script>
<script src="http://adf.ly/js/link-converter.js"></script>

I got this script , it is for all the exclude links. Now i want to know , what would be example.com?

Put your own site there, so like this:
<script>
var adfly_id = 159475;
var adfly_advert = 'int';
var exclude_domains = ['<put your website here, without www>'];
</script>
<script src="http://adf.ly/js/link-converter.js"></script>
Pages: 1 2