Thread: Amazon links
View Single Post
  #4  
Old 12-27-2016, 07:21 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
That's very likely AME - Auto Media Embedding . The Geek originally made it to where the little logo appears beside the link. Then someone created a definition that auto inserts the affiliate ID. Someone then made a thumbnail definition, which I've since tweaked to include the foreign language Amazon sites, as well as aStore links:



You can find the updated Thumbnail, aStore and Formatted Link with the little logo definition in the Add-On for that modification.
I know this is an OLD thread, but I still run vB 3.8.1 with AME version 2.5.6. I don't exactly know when, but somewhere along the line the definition for including a thumbnail has stopped working for me. Here it is,

Code:
<br />
     <div style="padding:0; text-align:center; width:250px; margin-left:auto; margin-right:auto" class="tborder">
            <div style="background:#FFFFFF url('images/misc/amazon_logo.png') no-repeat scroll center center; height:55px; width:250px">&nbsp;</div>
            <div class="alt2" style="padding:10px">
<a href="$ameinfo[url]/&tag=twowhetex-20" title="$ameinfo[title]" target="_blank">
                                 <img src="http://ecx.images-amazon.com/images/I/$p1._SL175_.jpg" alt="$ameinfo[title]" border="0" /></a></div>
           <div class="thead">
<a href="$ameinfo[url]/&tag=twowhetex-20" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>
           </div>
     </div>
<br />
It is attaching my Amazon Assoc ID tag correctly. It just isn't grabbing an image any more. Any chance it might just be a change in the img link part by Amazon? I don't know diddly squat about how this stuff works, so I don't know how to fix it. I'm just a cut'n paster...

You can see it in action on my forum here,

http://twtex.com/forums/showthread.p...54#post1093354

There are actually two amazon definition running, one just for links and the other to do the thumbnail and both add the assoc id tag.

Any help would be greatly appreciated.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01143 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete