View Full Version : Mini Mods - redirect all external link to adfly earn money
rajubd
04-03-2012, 10:00 PM
redirect all external link to adfly earn money. Like if your external link looks like this http://www.mobilephonetalk.com it will convert it to http://adf.ly/1409766/http://www.mobilephonetalk.com . Register at adfly..
then past this code any place of your template prefer footer template
<script type="text/javascript">
onmousemove = function adfly() {
adfly_id = '1409766'; //replace with your ID
for (var i = 0; i < document.links.length; i++) {
var hrefer = document.links[i].href;
if(hrefer.match("adf.ly") || hrefer.match("mobilephonetalk.com")|| hrefer.match("symbiantalk.net")) {
document.links[i].href = document.links[i].href;
}else{document.links[i].href = 'http://adf.ly/' + adfly_id + '/' + document.links[i].href;}
}
}
</script>
edit red text with your won adfly id info
edit www.mobilephonetalk.com, http://www.symbiantalk.net link you don't want redirect like your won website address
according to there advertise they pay 4$ per thousand redirect..
Kraxell
04-04-2012, 11:19 AM
Please use http://adf.ly for account-register!
The link from developer is a ref-link, which gives him a nice provision.
Brandon Sheley
04-04-2012, 03:04 PM
Please use http://adf.ly for account-register!
The link from developer is a ref-link, which gives him a nice provision.
did you report the affiliate link??
personally I think this would annoy my members to death.. adfly will show a page redirect while going to the actual external link..
Kraxell
04-04-2012, 05:12 PM
did you report the affiliate link??
Where report?
faisaly.com
04-04-2012, 08:08 PM
Where do we get the id number from adf.ly? also i get a wait 10 second page before the actual skip this adf.ly page....
Brandon Sheley
04-04-2012, 08:20 PM
Where report?
click the report icon in the first post https://vborg.vbsupport.ru/images/cstyle/blue/buttons/report.gif
Paul M
04-04-2012, 09:46 PM
Link removed. Do not post affiliate links.
rajubd
04-05-2012, 08:20 PM
Sorry i donn't know that rules
v123shine
04-07-2012, 09:03 AM
Thank you
faisaly.com
04-07-2012, 07:22 PM
This works ok after actually figuring it out myself... almost everything was redirecting to adf.ly...
Basically any external links you do not want redirected you must add to this place in the code:
Example
|| hrefer.match("http://www.facebook.com/")
|| hrefer.match("http://www.facebook.com")
|| hrefer.match("YourSite")
Note: some image resizers you cannot use or every image will link to adf.ly
rajubd
04-08-2012, 02:24 AM
This works ok after actually figuring it out myself... almost everything was redirecting to adf.ly...
Basically any external links you do not want redirected you must add to this place in the code:
Example
|| hrefer.match("http://www.facebook.com/")
|| hrefer.match("http://www.facebook.com")
|| hrefer.match("YourSite")
Note: some image resizers you cannot use or every image will link to adf.ly
Love this mod better then my direct advertisers.. Also most people will copy your link with adfly redirect so you will know where your content copyed in adfly cp..
gsmlover4u
04-09-2012, 06:39 PM
will work with vbseo ?
If I were a member of a forum and I encountered this mod in use it would be the last time I used that site. new forum owners beware. This won't help grow your forum. It will help deter users.
rajubd
04-10-2012, 09:41 AM
will work with vbseo ?
Yes it should work
rajubd
04-10-2012, 09:44 AM
If I were a member of a forum and I encountered this mod in use it would be the last time I used that site. new forum owners beware. This won't help grow your forum. It will help deter users.
It depends on your forum content.
If your forum have good content your members will return back
faisaly.com
04-11-2012, 01:26 AM
Let your users know that your adf.ly links are what helps pay for the hosting of the site...
rajubd
04-14-2012, 06:43 PM
Let your users know that your adf.ly links are what helps pay for the hosting of the site...
I don't like those who don't want admin get some $$$$
It isn't about those who don't want the admin to get money. Its about quality. This mod doesn't do anything respective to the members. it is redirecting them, not by choice, so you can earn money. in my niche I dominate the search engines against most other sites in the same niche. I would never make my members deal with such nonsense.
davidg
05-14-2012, 09:57 PM
adf.ly are like google adsense they ban users for nothing
rajubd
05-19-2012, 05:19 AM
adf.ly are like google adsense they ban users for nothing
Working good for me
shanef
05-20-2012, 04:08 AM
here is the script to exclude certain groups such as members who have donated or premium members you dont want to hassel with adfly
Change the x, y, z to the usergroup id you want to exclude and replace the red with you forum address
<vb:if condition="is_member_of($bbuserinfo, x, y, z )">
// <script type="text/javascript">
onmousemove = function adfly() {
adfly_id = '1860328'; //replace with your ID
for (var i = 0; i < document.links.length; i++) {
var hrefer = document.links[i].href;
if(hrefer.match("adf.ly") || hrefer.match("http://www.YourAddressHere/forum")|| hrefer.match("http://www.YourAddressHere/")) {
document.links[i].href = document.links[i].href;
}else{document.links[i].href = 'http://adf.ly/' + adfly_id + '/' + document.links[i].href;}
}
}
</script>
doileloi
06-06-2012, 02:25 PM
|| hrefer.match("http://www.facebook.com/")
|| hrefer.match("http://www.facebook.com")
I we put this they won't redirect link ? like mediafire etc.
faisaly.com
06-06-2012, 07:32 PM
Yes this one works to stop the redirect to thoee sites you choose... there is a newer code that works differently where you add the links only that you want to redirect.... but I wont share in this post because this post is from the developer and he may get upset....
jamalmouad
06-07-2012, 10:47 AM
Thank you
craigvm
09-11-2012, 05:58 PM
If I were a member of a forum and I encountered this mod in use it would be the last time I used that site. new forum owners beware. This won't help grow your forum. It will help deter users.
totally agree m8 i`ve been looking into ways to bring some revenue in from my site but i`d never consider this it would annoy me if i was on a site with it
Attila85
09-14-2012, 02:16 PM
Are you guys aware that he put the function into a "onmousemove" ?
Every single movement with the mouse and all the links of the ENTIRE page are checked and RE-defined.
Are you aware that the function match is used to compare strings against a regular expression?
Where is the regular expression here?
Isn't it correct to use string.indexof(substring) ?
I am wondering how is it possibile that this "mod" has been accepted.
zascok
09-15-2012, 07:18 AM
Link removed. Do not post affiliate links.
Link is still there Paul
http://adf.ly/1409766/http://www.mobilephonetalk.com
Jncocontrol
09-15-2012, 09:17 AM
It isn't about those who don't want the admin to get money. Its about quality. This mod doesn't do anything respective to the members. it is redirecting them, not by choice, so you can earn money. in my niche I dominate the search engines against most other sites in the same niche. I would never make my members deal with such nonsense.
This is just one mans opinon, take it with a pinch of salt.
I've this been using this mod to...some extent, Instead of banning spam botters, I've decided to kinda keep them around for better use, But I only use this mod for those who spam bots, I think i've but this to good use i think.
RichieBoy67
09-25-2012, 11:46 AM
I have never tried this but many times members post links to other sites of the same topic which sometimes means losing members. If members are leaving my site to visit another I do not see what is wrong with earning a little but I would like some control with which links this happens too. In other words, I do not want advertiser links having this..also, how does this effect adsense?
Thanks,
Rich
I am thinking a better mod would be having my own sites header on top of the page so when users visit external links they are actually still on my site.. That seems like it would be more beneficial than this..just a thought though.
rajubd
10-02-2012, 06:28 PM
It's working better then any advertisers for me. Users copy my forum post also copy my adf.ly advertising link. So i am getting revenue from others sites also.
cawnpore
12-01-2012, 07:34 PM
Can anyone think how can I use this mod to redirect all users to one of my page on vbulletin from where they must click on manually on hyperlinks to proceed?
example I want all users to be redirected to mysite.com/yourstuck.html page.
rajubd
12-13-2012, 06:37 PM
Can anyone think how can I use this mod to redirect all users to one of my page on vbulletin from where they must click on manually on hyperlinks to proceed?
example I want all users to be redirected to mysite.com/yourstuck.html page.
Use this
https://vborg.vbsupport.ru/showthread.php?t=241754
cawnpore
12-14-2012, 01:31 AM
Use this
https://vborg.vbsupport.ru/showthread.php?t=241754
Thanks will try for sure.
cawnpore
12-29-2012, 12:01 AM
does anyone know how we can use similar mod for linkbucks.com?
mohammad6006
06-23-2013, 08:18 PM
how can disable change javascript:// to adf.ly/javascript://
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.