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

Reply
 
Thread Tools
Dynamically Create Amazon Links to use your associate id Details »»
Dynamically Create Amazon Links to use your associate id
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-17-2005 Last Update: 03-28-2006 Installs: 56
Additional Files  
No support by the author.

This one is in beta gang. Amazon seems to like to change their link style every two minutes.

What it does: It takes any link to Amazon pages on your forum and modifies the link on the fly to use your associate id. This one should make you some money - it generally works very well for my forum around Christmas time.

No screenshots. You know what an Amazon link looks like

I am offereing this one with limited support. I will get it working as well as possible - in other words, correctly transforming as many links as possible. But, I can't promise it will get every link because of differences between the different vbulletin message editors, etc.

Amy

-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.

Show Your Support

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

Comments
  #52  
Old 11-27-2006, 11:56 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #53  
Old 01-06-2007, 07:24 PM
logastro logastro is offline
 
Join Date: Nov 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your plugin works fine on my vBulletin 3.6 forum. Why don't you post it on vB3.6 Add-ons?
Reply With Quote
  #54  
Old 03-19-2007, 04:29 AM
masons masons is offline
 
Join Date: Jan 2007
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfect on my 3.6.5! awesome!
Reply With Quote
  #55  
Old 03-30-2007, 08:01 AM
VietPirates VietPirates is offline
 
Join Date: Aug 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #56  
Old 05-05-2007, 06:43 PM
Phillip Chapman Phillip Chapman is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #57  
Old 05-07-2007, 05:08 AM
dpatel304 dpatel304 is offline
 
Join Date: Apr 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #58  
Old 06-09-2007, 10:07 PM
dpatel304 dpatel304 is offline
 
Join Date: Apr 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to bump, but can anyone answer my above post? Thank you.
Reply With Quote
  #59  
Old 09-05-2007, 07:53 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here:
Code:
http://www.amazon.de/exec/obidos/ASIN/3934958664//ref=nosim/XXX-21
Reply With Quote
  #60  
Old 09-05-2007, 08:16 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
         			}
Reply With Quote
  #61  
Old 09-09-2007, 05:43 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by reteep View Post
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???
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 11:11 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.04866 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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