![]() |
redirect all external link to adfly earn money
1 Attachment(s)
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 Code:
<script type="text/javascript"> 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.. |
Please use http://adf.ly for account-register!
The link from developer is a ref-link, which gives him a nice provision. |
Quote:
personally I think this would annoy my members to death.. adfly will show a page redirect while going to the actual external link.. |
Quote:
|
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....
|
Quote:
|
Link removed. Do not post affiliate links.
|
Sorry i donn't know that rules
|
Thank you
|
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 |
Quote:
|
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.
|
Quote:
|
Quote:
If your forum have good content your members will return back |
Let your users know that your adf.ly links are what helps pay for the hosting of the site...
|
Quote:
|
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.
|
adf.ly are like google adsense they ban users for nothing
|
Quote:
|
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> |
PHP Code:
|
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....
|
Thank you
|
Quote:
|
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. |
Quote:
Link is still there Paul Code:
http://adf.ly/1409766/http://www.mobilephonetalk.com |
Quote:
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. |
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. |
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.
|
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. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=241754 |
Quote:
|
does anyone know how we can use similar mod for linkbucks.com?
|
how can disable change javascript:// to adf.ly/javascript://
|
All times are GMT. The time now is 02:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|