Adding Amazon Associates Product's HTML Code to New Article?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave234
    New Member
    • Sep 2012
    • 20
    • 4.1.x

    [Forum] Adding Amazon Associates Product's HTML Code to New Article?

    I have a question about Amazon Associates and where to put the HTML code they provide me (for just an image of the product which links directly to that Amazon product page, with my Amazon Associates ID already filled in)?

    I was hoping I could just copy and paste it into the new article, where I want the image to appear. But that is just showing the code......

    Here is the code:

    <a href="http://www.amazon.com/gp/product/B00...07RNWUC4"><img border="0" src="http://ws.assoc-amazon.com/widgets/q...rsion=20070822" ></a><img src="http://www.assoc-amazon.com/e/ir?t=a...1&a=B007RNWUC4" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

    I know that this was discussed in this thread: https://www.vbulletin.com/forum/show...ks-not-allowed and I was told to start my own thread on the matter. For some reason this is very difficult for me to understand.
  • AliMadkour
    Senior Member
    • Dec 2004
    • 1588
    • 6.X

    #2
    Try
    [url={YOUR AMAZON AFFILIATE URL LINK}][img]{PATH TO YOUR IMAGE}[/img][/url]

    Former vBulletin Support Staff
    Need Help?, Or P.M. Me

    Comment

    • Dave234
      New Member
      • Sep 2012
      • 20
      • 4.1.x

      #3
      Can you please elaborate further? I don't know anything about where to get these links, or what they might look like...

      Comment

      • AliMadkour
        Senior Member
        • Dec 2004
        • 1588
        • 6.X

        #4
        if you add a link like
        [url=http://www.amazon.com/gp/product/B007RNWUC4/ref=as_li_ss_il?ie=UTF8&tag=aftershock04-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B007RNWUC4][img]http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=B007RNWUC4&MarketPlace=US&ID=AsinImage&WS=1&tag=after shock04-20&ServiceVersion=20070822[/img][/url]
        at the post It will be


        Former vBulletin Support Staff
        Need Help?, Or P.M. Me

        Comment

        • Dave234
          New Member
          • Sep 2012
          • 20
          • 4.1.x

          #5
          Can you tell me how you did that?

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24358
            • 5.7.X

            #6
            Copy and paste the text in the post above checking that your affiliate link is in there and not someone elses
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • Dave234
              New Member
              • Sep 2012
              • 20
              • 4.1.x

              #7
              Where did you get this part?

              [img]http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=B007RNWUC4&MarketPlace=US&ID=AsinImage&WS=1&tag=after
              shock04-20&ServiceVersion=20070822[/img]

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                He got it directly from the html you posted in your first post.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

                • AliMadkour
                  Senior Member
                  • Dec 2004
                  • 1588
                  • 6.X

                  #9
                  From your code
                  Code:
                  <a href="[B][COLOR=#0000ff]http://www.amazon.com/gp/product/B007RNWUC4/ref=as_li_ss_il?ie=UTF8&tag=aftershock04-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B007RNWUC4[/COLOR][/B]"><img border="0" src="[B][COLOR=#ff0000]http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&Format=_SL160_&ASIN=B007RNWUC4&MarketPlace=US&ID=AsinImage&WS=1&tag=after   shock04-20&ServiceVersion=20070822[/COLOR][/B]" ></a><img src="http://www.assoc-amazon.com/e/ir?t=a...1&a=B007RNWUC4" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
                  Use blue for link and red for the image.

                  Former vBulletin Support Staff
                  Need Help?, Or P.M. Me

                  Comment

                  • Dave234
                    New Member
                    • Sep 2012
                    • 20
                    • 4.1.x

                    #10
                    Could I just allow HTML in my articles?

                    If I enable HTML in the "Create Article" section of the Main Pages, would it not be any kind of security risk?

                    I would be the only one to enter this information in the "Create Article" pages, but everyone would be able to read it.

                    Is it not risky at all because no one else has the ability to edit the articles (only read them)?

                    If all of this is the case, would people still be able to add comments to an article? Or would their ability to add comments be a security risk? (Or is adding comments to articles a completely separate thing?)

                    I very much appreciate your assistance.

                    Comment

                    • AliMadkour
                      Senior Member
                      • Dec 2004
                      • 1588
                      • 6.X

                      #11
                      We always not recommend using HTML anywhere but make sure that you enable HTML permission in CMS for the author, not the viewer or for Administrators group only.

                      Former vBulletin Support Staff
                      Need Help?, Or P.M. Me

                      Comment

                      • Dave234
                        New Member
                        • Sep 2012
                        • 20
                        • 4.1.x

                        #12
                        Would it be a security risk if I enable it for the author only?

                        Also, how would I enable it for the author only?

                        Comment

                        • AliMadkour
                          Senior Member
                          • Dec 2004
                          • 1588
                          • 6.X

                          #13
                          I'd suggest to enable it for Administrator group only Open AdminCp->vBulletin CMS->Permissions->Can Use HTML in CMS Content-> Check it for administrator group and Save permission changes, No risk if you have trusted admins

                          Former vBulletin Support Staff
                          Need Help?, Or P.M. Me

                          Comment

                          • Dave234
                            New Member
                            • Sep 2012
                            • 20
                            • 4.1.x

                            #14
                            I have changed the permissions just as you said, but it did not work. When I paste this into the new article: <iframe src="http://rcm.amazon.com/e/cm?lt1=_blan...ins=B007RNWUC4" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

                            It converts all the code into a little box that says: 404 Error File Not Found

                            The page you are looking for might have been removed,
                            had its name changed, or is temporarily unavailable.


                            It does this no matter what I copy and paste from amazon. However, when I actually go into the code and enter the information [url= and [img][/img], that works.

                            But that is sooo time-consuming. I would love to just be able to copy and paste the code and be able to see the image link. In the HTML portion of the edit post screen I am sure to have the "HTML On - Convert Linebreaks" box checked, but it still does not work.

                            I really, really want to just be able to copy and paste this code, because I have a LOT of items to enter..................



                            If I can't just copy and paste, then would you be able to tell me (similar to the above) how I can convert the following into a workable link within my new article?

                            <iframe src="http://rcm.amazon.com/e/cm?lt1=_blan...ins=B002BSC54I" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>


                            I tried doing it similar to how you converted the above image, but I just can't seem to find out where to put the [img] tag.

                            - - - Updated - - -

                            Can you also tell me why not even the text link is working, when I copy and paste it into a new article? I would love to just be able to copy and paste the below text next to the other item, like as the title of the item, but it is just showing the below code (even though HTML is enabled for administrators.....I am the only administrator on my site):

                            <a href="http://www.amazon.com/gp/product/B00...002BSC54I">The Legend of Zelda: Skyward Sword with Music CD</a><img src="http://www.assoc-amazon.com/e/ir?t=a...1&a=B002BSC54I" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

                            Comment

                            • Lynne
                              Former vBulletin Support
                              • Oct 2004
                              • 26255

                              #15
                              We would need to see a link to the problem in order to see what is wrong.

                              And please use the code tags when pasting code so it is easy for us to test it. The last one is code I tried on my test site and it worked just fine (once I copy/pasted the correct links since you didn't put it in code tags).

                              Please don't PM or VM me for support - I only help out in the threads.
                              vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                              Want help modifying your vbulletin forum? Head on over to vbulletin.org
                              If I post CSS and you don't know where it goes, throw it into the additional.css template.

                              W3Schools &lt;- awesome site for html/css help

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...