vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Dynamically Create Amazon Links to use your associate id (https://vborg.vbsupport.ru/showthread.php?t=92444)

amykhar 11-27-2006 11:56 AM

Yes it works. No, it's not supported by Amazon - although they did help me with testing of initial versions. No, it doesn't work for Buy.com

logastro 01-06-2007 07:24 PM

Your plugin works fine on my vBulletin 3.6 forum. Why don't you post it on vB3.6 Add-ons?

masons 03-19-2007 04:29 AM

works perfect on my 3.6.5! awesome!

VietPirates 03-30-2007 08:01 AM

From Amazon

Just as with other ASINs you can also use the format below to build links directly to Unbox products. Simply substitute the corresponding Unbox ASIN for "B000LEIOOY" and your Associates ID for "assocblog-20."

Code:

http://www.amazon.com/gp/product/B000LEIOOY/?tag=assocblog-20

Phillip Chapman 05-05-2007 06:43 PM

I've been using this hack for a long time. Very nice.

I did have a question though. I noticed under my plugin manager that the title of this hack is listed as "vBulletin" instead of "Dynamically Create Amazon Links". Likewise under manage products, this plugin isn't listed at all.

Can this possibly be updated? Thank you Amy for all of your work on this.

dpatel304 05-07-2007 05:08 AM

I got this working for the most part, however, my referral links have an extra "/" in it.

http://www.amazon.com/exec/obidos/ASIN/B000NHG7CK//ref=nosim/*****-20

right before ref=nos

Is this normal, and will this affect anything?

dpatel304 06-09-2007 10:07 PM

Sorry to bump, but can anyone answer my above post? Thank you.

reteep 09-05-2007 07:53 AM

Same here:
Code:

http://www.amazon.de/exec/obidos/ASIN/3934958664//ref=nosim/XXX-21

reteep 09-05-2007 08:16 AM

Ok this is fixing it the additional slash, replace line 59-68 with this:

Code:

$messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id.'"]';
                                }
                                elseif(stristr($messagearray[1][$i],"[/url]"))
                                {
                                        $messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id."[/url]";
                                }
                                else
                                {
                                        $messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id;
                                }


Tralala 09-09-2007 05:43 AM

Quote:

Originally Posted by reteep (Post 1332725)
Ok this is fixing it the additional slash, replace line 59-68 with this:

Code:

$messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id.'"]';
                                }
                                elseif(stristr($messagearray[1][$i],"[/url]"))
                                {
                                        $messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id."[/url]";
                                }
                                else
                                {
                                        $messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id;
                                }



Looks like all that does is replace the amazon.com with amazon.de?
How would that fix the extra slash???


All times are GMT. The time now is 02:21 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.01505 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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