1. Adf.ly hack for DLE

Adf.ly hack for DLE

  |   20
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.

Details

+15
Share this on:

Comments 20

jopaulmj
jopaulmj
V.I.P.
Commented By jopaulmj on December 30, 2011 (3:12 am)
Its Working He Really Funny lol
5 25Forum topics : 0Forum replies : 0Forum likes : 0
Keymaster
Keymaster
V.I.P.
Commented By Keymaster on December 31, 2011 (9:43 pm)
This is great but wont work if you use the leech code on your site as I do but this does work.
4 50Forum topics : 13Forum replies : 96Forum likes : 4

The Secret to life is to live life as if there is no tomorrow.
algeriano
algeriano
Members
Commented By algeriano on January 1, 2012 (12:13 pm)
Keymaster,
yeah actually you must use links without leech code fellow
1 8Forum topics : 14Forum replies : 55Forum likes : 0
KingOfDCP
KingOfDCP
Members
Commented By KingOfDCP on January 2, 2012 (1:24 pm)
We don't need step 4 & 5
N/A 9Forum topics : 3Forum replies : 18Forum likes : 0

Download latest mac games and applications at http://i-fresh.net
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on January 2, 2012 (10:32 pm)
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?
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"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!
KingOfDCP
KingOfDCP
Members
Commented By KingOfDCP on January 3, 2012 (6:55 am)
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>.
N/A 9Forum topics : 3Forum replies : 18Forum likes : 0

Download latest mac games and applications at http://i-fresh.net
algeriano
algeriano
Members
Commented By algeriano on January 3, 2012 (12:45 pm)
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
1 8Forum topics : 14Forum replies : 55Forum likes : 0
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on January 3, 2012 (9:27 pm)
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...
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"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!
KingOfDCP
KingOfDCP
Members
Commented By KingOfDCP on January 4, 2012 (6:19 am)
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
N/A 9Forum topics : 3Forum replies : 18Forum likes : 0

Download latest mac games and applications at http://i-fresh.net
deathbat6661
Commented By deathbat6661 on January 26, 2012 (2:19 am)
Wow... this great bravo
Thanks
N/A 6Forum topics : 3Forum replies : 9Forum likes : 0
pakchess
pakchess
Members
Commented By pakchess on January 26, 2012 (10:39 pm)
Is it works with DLE v9.5?
N/A 5Forum topics : 1Forum replies : 1Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on January 26, 2012 (10:48 pm)
Quote: pakchess
Is it works with DLE v9.5?

Yes
31 408Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
rumy1200
rumy1200
Members
Commented By rumy1200 on February 29, 2012 (10:06 pm)
My Code not work on 9.5

www.getalldown.com
N/A 18Forum topics : 14Forum replies : 37Forum likes : 0
tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on March 1, 2012 (2:34 am)
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
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"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!
notx88
notx88
Members
Commented By notx88 on April 9, 2012 (8:49 am)
awesome, i will try love
N/A 4Forum topics : 0Forum replies : 0Forum likes : 0
Gozan
Gozan
V.I.P.
Commented By Gozan on April 26, 2012 (12:20 am)
can i change adf.ly to goo.gl bokali
33 132Forum topics : 20Forum replies : 88Forum likes : 6
spamhater
spamhater
DLE TEAM
Commented By spamhater on April 26, 2012 (1:38 am)
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...
24 386Forum topics : 12Forum replies : 950Forum likes : 129

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.
Boucher
Boucher
Members
Commented By Boucher on August 6, 2012 (2:03 am)
Thank you, very u$efull smile
N/A 7Forum topics : 1Forum replies : 2Forum likes : 0
Ledi99
Ledi99
Members
Commented By Ledi99 on June 2, 2013 (7:31 am)
why not work on my site :O www.simplydl.com :/
N/A 1Forum topics : 0Forum replies : 0Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on June 2, 2013 (3:40 pm)
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
24 386Forum topics : 12Forum replies : 950Forum likes : 129

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.