vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Amazon Associates Links by ForumSetup.net (https://vborg.vbsupport.ru/showthread.php?t=314683)

maf1973 11-04-2014 02:56 PM

Quote:

Originally Posted by tpearl5 (Post 2521263)
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 :)

tommyxv 02-03-2015 07:34 PM

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.

Majora 06-22-2015 09:33 AM

Is this possible for amazon.de now?

BorjaECI 09-16-2015 03:10 PM

Work in Amazon.es?

Thanks.

rinkrat 09-17-2015 03:09 AM

Love this! Thanks so much!

djbaxter 12-31-2015 07:41 PM

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?

MikesSite 07-01-2016 11:33 PM

This doesn't work on 4.2.3

sub_ubi 07-26-2016 03:54 PM

Quote:

Originally Posted by MikesSite (Post 2572680)
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.

scottkoz20 01-03-2017 12:53 PM

is anyone using this mod with success? i do worry about Tommy's post about forums not being allowed in the program

tpearl5 01-03-2017 01:48 PM

Quote:

Originally Posted by sub_ubi (Post 2573973)
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


All times are GMT. The time now is 06:00 AM.

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.01207 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete