Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #32  
Old 12-01-2012, 07:34 PM
cawnpore cawnpore is offline
 
Join Date: Oct 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #33  
Old 12-13-2012, 06:37 PM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cawnpore View Post
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
Reply With Quote
  #34  
Old 12-14-2012, 01:31 AM
cawnpore cawnpore is offline
 
Join Date: Oct 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rajubd View Post
Thanks will try for sure.
Reply With Quote
  #35  
Old 12-29-2012, 12:01 AM
cawnpore cawnpore is offline
 
Join Date: Oct 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know how we can use similar mod for linkbucks.com?
Reply With Quote
  #36  
Old 06-23-2013, 08:18 PM
mohammad6006's Avatar
mohammad6006 mohammad6006 is offline
 
Join Date: May 2008
Location: IRAN (Tabriz)
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can disable change javascript:// to adf.ly/javascript://
Reply With Quote
Reply

Thread Tools

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 04:15 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
  • Page Generation 0.08213 seconds
  • Memory Usage 2,260KB
  • Queries Executed 21 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete