Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
redirect all external link to adfly earn money Details »»
redirect all external link to adfly earn money
Version: 1.00, by rajubd rajubd is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.11 Rating:
Released: 04-03-2012 Last Update: Never Installs: 12
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-08-2012, 02:24 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisaly.com View Post
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..
Reply With Quote
  #13  
Old 04-09-2012, 06:39 PM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will work with vbseo ?
Reply With Quote
  #14  
Old 04-09-2012, 10:26 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
2 благодарности(ей) от:
gsmlover4u, Sage Knight
  #15  
Old 04-10-2012, 09:41 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsmlover4u View Post
will work with vbseo ?
Yes it should work
Reply With Quote
  #16  
Old 04-10-2012, 09:44 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rich View Post
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
Reply With Quote
  #17  
Old 04-11-2012, 01:26 AM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let your users know that your adf.ly links are what helps pay for the hosting of the site...
Reply With Quote
  #18  
Old 04-14-2012, 06:43 PM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisaly.com View Post
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 $$$$
Reply With Quote
  #19  
Old 05-14-2012, 06:57 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 05-14-2012, 09:57 PM
davidg davidg is offline
 
Join Date: Apr 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

adf.ly are like google adsense they ban users for nothing
Reply With Quote
  #21  
Old 05-19-2012, 05:19 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davidg View Post
adf.ly are like google adsense they ban users for nothing
Working good for me
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05681 seconds
  • Memory Usage 2,326KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete