DLEStarter: Datalife Engine Supports

Adf.ly hack for DLE

Adf.ly hack for DLE

Like i said very one search how to integrate this fabulous code into Datalife Engine sad

Don't worry i found the solution actually it's very simple but you have to concentrate with me

let do it babe smoke

First bale go to your adf.ly account after that concentrate with the following images bully :

Adf.ly hack for DLE

Adf.ly hack for DLE

Adf.ly hack for DLE


well,well,well now like you see we have two codes:

The first one is :
<script>var adfly_id = 745729;var adfly_advert = 'int';var domains = ['depositfiles.com', 'rapidshare.com', 'vip-file.com', 'smsfiles.ru', '4files.net', 'turbobit.ru', 'uploading.com', 'letitbit.net', 'depositfiles.ru', 'sms4file.com', 'ifolder.ru', 'hotfile.com', 'anyfiles.net', 'sharingmatrix.com', 'megashare.com', 'megaupload.com', 'rapidshare.de', 'rapidshare.ru', 'uploadbox.com', 'filefactory.com', 'filefactory.ru', 'filepost.ru', 'onefile.net', 'freefolder.net', 'getthebit.com', 'turbobit.net',];</script><script src="http://adf.ly/js/link-converter.js"></script>


What we care about in this code is
var domains =
here it means that if a link contain one of these domains it will be redirected first to your adf.ly account before showing the real page.
you can add whatever you want of domains.
i think now you understand what i'm talking about here wink

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


Well this code is different from the first one why?

Here you can add domain that you want exclude to be redirected..for example if you exclude your domain let's say we exclude "dlestarter.com" then only links on dlestarter will be redirected but if we don't exclude it then dlestarter itself will be redirected that means when you hint "home,dle tutorials,free downloads ...ect" will be redirected to adf.ly that mean the hole site will be redirected before showing the real page crazy this is the extra earning from adf.ly

Second Part :

here we're gonna integrate this code to our DLE site

1) Copy one of two codes above

2) Open you {THEME}/main.tpl file

3) Paste the code on the top (if you paste it in other place it will not work)

4) Open you fullstory.tpl and paste the code on top

5) Do the same thing with shortstory.tpl

i know my English is bad but the most important here is to understand the tutorial thumbsup

That's it all the link will be redirected now and have fun with earning dance

Thanks to all DleStarter Team who help us to solve problems and understand how DLE works fellow
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.
Offline
jopaulmj 12 30, 2011 5 | 25
Its Working He Really Funny lol
Offline
Keymaster 12 31, 2011 4 | 50
This is great but wont work if you use the leech code on your site as I do but this does work.

The Secret to life is to live life as if there is no tomorrow.
Offline
algeriano 01 01, 2012 1 | 8
Keymaster,
yeah actually you must use links without leech code fellow
Offline
KingOfDCP 01 02, 2012 0 | 9
We don't need step 4 & 5

Download latest mac games and applications at http://i-fresh.net
Offline
tbenmcp 01 02, 2012 20 | 151
Quote: KingOfDCP
We don't need step 4 & 5

I was wondering the same thing because if you add the code to main.tpl then why bother add the same code to shortstory/fullstory.tpl again, right?

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Offline
KingOfDCP 01 03, 2012 0 | 9
Quote: tbenmcp
I was wondering the same thing because if you add the code to main.tpl then why bother add the same code to shortstory/fullstory.tpl again, right?


Yes.

In fact, this hack is not a "hack" really. It's just adding code like we add google analytics code. And it doesn't require to add it at top of the main. You can add it at the end of main file, before </body>.

Download latest mac games and applications at http://i-fresh.net
Offline
algeriano 01 03, 2012 1 | 8
KingOfDCP,
yeah you can add it before </body> but i tried to be more simple fellow
well this is a different javascript man..it will not work if you pass over step 4 and 5,that's why it didn't work for everyone
just try it and you'll see..you must add it in shortstory/fullstory.tpl even in addcomment.tpl..i tried it my self i didn't add the code in addcomment.tpl..so every link on my site (in comments) works without been redirected to adf.ly..
try it you'll see blind

best regard fellow
Offline
tbenmcp 01 03, 2012 20 | 151
algeriano, you maybe right that's why we can't get it to work...have you tried on shortstory.tpl and fullstory.tpl only without add to main.tpl? I haven't tested it but just curious...

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Offline
KingOfDCP 01 04, 2012 0 | 9
I already used this in 3-4 months. You should place it at bottom for better performance of website.

OT: Please disable answer & question in comment or disable re-capcha. One is enough

Download latest mac games and applications at http://i-fresh.net
Offline
deathbat6661 01 26, 2012 0 | 6
Wow... this great bravo
Thanks
Offline
pakchess 01 26, 2012 0 | 6
Is it works with DLE v9.5?
Offline
sawanbanna 01 26, 2012 31 | 409
Quote: pakchess
Is it works with DLE v9.5?

Yes

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
Offline
rumy1200 02 29, 2012 0 | 18
My Code not work on 9.5

www.getalldown.com
Offline
tbenmcp 03 01, 2012 20 | 151
based on what i have seen, sometimes it doesn't work correctly I don't know why, but I am sure there is the way and explanation

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Offline
notx88 04 09, 2012 0 | 4
awesome, i will try love
Offline
Gozan 04 26, 2012 33 | 132
can i change adf.ly to goo.gl bokali
Offline
spamhater 04 26, 2012 25 | 386
don't know if goo.gl provide api and script to convert the links like adf.ly...don't seem to find the option in goo.gl services...

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
Offline
Boucher 08 06, 2012 0 | 7
Thank you, very u$efull smile
Offline
Ledi99 06 02, 2013 0 | 1
why not work on my site :O www.simplydl.com :/
Offline
spamhater 06 02, 2013 25 | 386
Quote: Ledi99
why not work on my site :O www.simplydl.com :/

cant check it because your site has internal error, can't even access to frontpage

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.