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

Reply
 
Thread Tools
Amazon Associates Links by ForumSetup.net Details »»
Amazon Associates Links by ForumSetup.net
Version: 1.01, by tpearl5 tpearl5 is offline
Developer Last Online: Aug 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 10-01-2014 Last Update: 01-02-2017 Installs: 29
Uses Plugins
Is in Beta Stage  
No support by the author.

Amazon Associates Links will automatically rewrite links (on the fly) to Amazon.com/.ca/.co.uk with your ID. Existing links that you've created will not be overwritten and any special linking parameters will be maintained.

There are several options:
  • Turn the whole mod on/off
  • Different ID's for amazon.com .ca .co.uk .de
  • Exclude certain usergroups
  • Include/Exclude specific forums
  • Exclude specific styles
  • Rewrite links in PM's
  • Keep or overwrite links that already have other Associates ID's in them

Installation:
  • Unzip the package
  • upload functions_amazon_links.php to your includes directory
  • Install the product XML
  • Navigate to Settings > Options > Amazon Associates Links to set your ID and other options

Enjoy!

Download Now

File Type: zip Amazon_Associates_Links-1.01.zip (3.7 KB, 81 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
CoZmicShReddeR, tbworld

Comments
  #12  
Old 11-04-2014, 02:56 PM
maf1973 maf1973 is offline
 
Join Date: Oct 2005
Location: Earth
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tpearl5 View Post
Yes, and yes. These would be simple additions. I'll add both to the next version.
Thank you. Very nice. Now I wait for the next version
Reply With Quote
  #13  
Old 02-03-2015, 07:34 PM
tommyxv tommyxv is offline
 
Join Date: Feb 2005
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a message from Amazon that said they don't allow forum sites to be in the program. I guess after my first referral they reviewed my pending application and kicked my out of the program. Told me to re-apply if I had a different type of site.

I call BS on Amazon. I referred someone who made a purchase, yet I don't make any commission, and they closed my affiliates account.
Reply With Quote
  #14  
Old 06-22-2015, 09:33 AM
Majora Majora is offline
 
Join Date: Jun 2005
Location: Friedrichshafen / Germany
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this possible for amazon.de now?
Reply With Quote
  #15  
Old 09-16-2015, 03:10 PM
BorjaECI BorjaECI is offline
 
Join Date: Aug 2014
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work in Amazon.es?

Thanks.
Reply With Quote
  #16  
Old 09-17-2015, 03:09 AM
rinkrat's Avatar
rinkrat rinkrat is offline
 
Join Date: Jan 2002
Location: Long Beach
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this! Thanks so much!
Reply With Quote
  #17  
Old 12-31-2015, 07:41 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have more than one Amazon Associates ID, e.g., for amazon.com and amazon.ca, how does this determine which ID to add to the link?
Reply With Quote
  #18  
Old 07-01-2016, 11:33 PM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work on 4.2.3
Reply With Quote
  #19  
Old 07-26-2016, 03:54 PM
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MikesSite View Post
This doesn't work on 4.2.3
Actually it works fine, but Amazon now uses https by default, and this script doesn't detect https.

You can fix it by changing the regex in functions_amazon_links.php

on lines 22, 27, 51, find:
Code:
http:\/
replace:
Code:
https?:\/


This will support both http and https amazon links.
Reply With Quote
  #20  
Old 01-03-2017, 12:53 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is anyone using this mod with success? i do worry about Tommy's post about forums not being allowed in the program
Reply With Quote
  #21  
Old 01-03-2017, 01:48 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sub_ubi View Post
Actually it works fine, but Amazon now uses https by default, and this script doesn't detect https.

You can fix it by changing the regex in functions_amazon_links.php

on lines 22, 27, 51, find:
Code:
http:\/
replace:
Code:
https?:\/


This will support both http and https amazon links.
I realize it's been a while since you posted this, but thanks, I fixed this in the latest version. rewritten URL's also now go to https://www.amazon.com
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 10:46 AM.


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.04824 seconds
  • Memory Usage 2,332KB
  • 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
  • (4)bbcode_code
  • (3)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
  • (1)postbit_attachment
  • (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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete