Where does this go!!

Post new topic   Reply to topic

View previous topic View next topic Go down

Where does this go!!

Post by Yourlocaltrades on Fri Aug 15, 2008 9:51 am

I have this from amazon to do some affiliate scheme, but i cant see where it is supposed to go!
There site says:
Copy (e.g. Ctrl + C) the following code into your website/template. Please insert the code after your content and before your closing "</body>" tag.

It is php3 i have!, so any ideas where the text below is supposed to be placed?!!


<script type="text/javascript"><!--
amzn_cl_tag="yourlocaltrad-21";
amzn_cl_amazon_txt_color="040000";
amzn_cl_max_links=15;
amzn_cl_border_color="0D1EEB";
amzn_cl_offered_price_color="F90F04";
amzn_cl_bg_color="F1F7F7";
amzn_cl_product_link_color="F31106";
//--></script>
<script type="text/javascript" src="http://cls.assoc-amazon.co.uk/gb/s/cls.js"></script>

Yourlocaltrades
Bronze Member

Number of posts: 44
Age: 33
Location: uk
Registration date: 2008-07-01

View user profile http://www.yourlocaltrades.co.uk

Back to top Go down

Re: Where does this go!!

Post by Null-11 on Fri Aug 15, 2008 5:09 pm

Someone beat me to it. The Admin Zone

You can also just put it anywhere you want in an html page.

I would recommend putting it at the bottom of of your forum in the "overall_footer.html". That way, it doesn't interfere with your reader too much and become and annoyance. However, you could put it in "overall_header.html" to make the ads more visible.


Another option would be to make some or all of the ads visible to guests only. I haven't used it, but the code below should be what you need to make the ads invisible to logged in users but visible to guests.
Code:
              <!-- IF S_USER_LOGGED_IN -->

              <!-- ELSE --><script type="text/javascript"><!--
amzn_cl_tag="yourlocaltrad-21";
amzn_cl_amazon_txt_color="040000";
amzn_cl_max_links=15;
amzn_cl_border_color="0D1EEB";
amzn_cl_offered_price_color="F90F04";
amzn_cl_bg_color="F1F7F7";
amzn_cl_product_link_color="F31106";
//--></script>
<script type="text/javascript" src="http://cls.assoc-amazon.co.uk/gb/s/cls.js"></script>

              <!-- ENDIF -->


I would use this to make the header ads invisible to members, while leaving the footer ads visible to everyone. But that's just my opinion. Wink

_________________

Stay connected to us with the NEW Add My Forum Community Toolbar!



Recent Posts @ AMF's Official Blog:

Null-11
Admin
Admin

Number of posts: 1123
Registration date: 2007-12-24

View user profile http://addmyforum.forumotion.com

Back to top Go down

Re: Where does this go!!

Post by Yourlocaltrades on Fri Aug 15, 2008 7:10 pm

This is supposed to make some words "linked" to the amazon products, but its doing nothing!!

Are these affiliates any good!!

DONT WORK!!!!!

No matter where i post for help, and then do what they say, not ONE word appears Double Underlined in order to link to amazons products!!!

Seriously getting cheesed off here!!!

ANYONE?????

Yourlocaltrades
Bronze Member

Number of posts: 44
Age: 33
Location: uk
Registration date: 2008-07-01

View user profile http://www.yourlocaltrades.co.uk

Back to top Go down

Re: Where does this go!!

Post by Null-11 on Fri Aug 15, 2008 8:49 pm

First I would give some time before you removed the code. It may be that Amazon has to take a few hours to a few days to index your site.

If it doesn't start to work after you've waited as long as you want, then you should contact Amazon about it.

P.S. Due to the kind of code it is, it may have to be put in the <head></head> section. You could give that a try.

_________________

Stay connected to us with the NEW Add My Forum Community Toolbar!



Recent Posts @ AMF's Official Blog:

Null-11
Admin
Admin

Number of posts: 1123
Registration date: 2007-12-24

View user profile http://addmyforum.forumotion.com

Back to top Go down

Re: Where does this go!!

Post by Yourlocaltrades on Fri Aug 15, 2008 8:51 pm

Whats the headhead?
I did have it up on the homepage, two words appeared underlined and it worked, but not on the pages like this one!

Yourlocaltrades
Bronze Member

Number of posts: 44
Age: 33
Location: uk
Registration date: 2008-07-01

View user profile http://www.yourlocaltrades.co.uk

Back to top Go down

Re: Where does this go!!

Post by Null-11 on Fri Aug 15, 2008 9:13 pm

Can you give me a link to the page it's working on?

<head> = header tag
</head> = end header

The <head></head> section is in the head or top section of the web page. It contains information such as scripts, CSS, and the pages icon. If you go to the "overall_header.html" you should find it the top portion to contain <head> STUFF </head>.

I've never used Amazon ads but it is possible that they need to be put after the <head> tag but before the </head> tag.

_________________

Stay connected to us with the NEW Add My Forum Community Toolbar!



Recent Posts @ AMF's Official Blog:

Null-11
Admin
Admin

Number of posts: 1123
Registration date: 2007-12-24

View user profile http://addmyforum.forumotion.com

Back to top Go down

Re: Where does this go!!

Post by Yourlocaltrades on Fri Aug 15, 2008 9:17 pm

None of it working now!! no idea what i done!!

You can log in as me if you like and have a look at the back end?

It was ok one minute-on main page, but then i was trying for the main posts to have it, then wallop, all gone!!

<script type="text/javascript"><!--
amzn_cl_tag="yourlocaltrad-21";
amzn_cl_link_color="F71D06";
amzn_cl_max_links=20;
amzn_cl_border_color="0B1EF3";
amzn_cl_link_style=3;
//--></script>
<script type="text/javascript" src="http://cls.assoc-amazon.co.uk/gb/s/cls.js"></script>

Is the text i am trying to insert at the moment!

Cheers
Steve

Yourlocaltrades
Bronze Member

Number of posts: 44
Age: 33
Location: uk
Registration date: 2008-07-01

View user profile http://www.yourlocaltrades.co.uk

Back to top Go down

Re: Where does this go!!

Post by Null-11 on Fri Aug 15, 2008 9:46 pm

I can see the banner ad: http://rcm-images.amazon.com/images/G/02/associates/maitri/banner/uk-home-728x90.gif

But I cannot see any of the underlined-word-ads.
Change to code back to the way it was when it worked on the homepage.

P.S. Is the homepage http://www.yourlocaltrades.co.uk/ or http://www.yourlocaltrades.co.uk/forum/index.php ?

_________________

Stay connected to us with the NEW Add My Forum Community Toolbar!



Recent Posts @ AMF's Official Blog:

Null-11
Admin
Admin

Number of posts: 1123
Registration date: 2007-12-24

View user profile http://addmyforum.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum