The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
redirect all external link to adfly earn money Details »» | |||||||||||||||||||||||||||
redirect all external link to adfly earn money
Developer Last Online: Jan 2016
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"> 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 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.. Show Your Support
|
Comments |
#22
|
|||
|
|||
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> |
#23
|
||||
|
||||
PHP Code:
|
#24
|
|||
|
|||
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....
|
#25
|
|||
|
|||
Thank you
|
#26
|
||||
|
||||
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
|
#27
|
|||
|
|||
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. |
#28
|
|||
|
|||
Link is still there Paul Code:
http://adf.ly/1409766/http://www.mobilephonetalk.com |
#29
|
||||
|
||||
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. |
#30
|
||||
|
||||
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. |
#31
|
|||
|
|||
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.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|