Need help with some simple coding

by 4 replies
5
Not sure how I even say what I want, but I am looking for what code to use to make a code box on an affiliate page on one of my sites.

I have some images added and want to add the code under them to make it easier for affiliates to just copy and paste.

can some one email me a screen shot of what the code would be to make that code box or am I just dreaming about something that needs to be hard coded in?

I know I have seen it some place but cannot find what I'm looking for.

if you need to see what I mean I can post the url but not sure if it is ok to do that or not.

any help would be appreciated
#programming #code box #coding #simple
  • I believe this is what you're looking for.

    <img src="YOUR IMAGE URL" border="0" width="468" alt="" title="" width="" height="" /><br />
    <textarea rows="3" cols="40"><a href="YOUR URL + THEIR REFERRAL ID"><img src="YOUR IMAGE URL" alt="" /></a></textarea>

    You may need to adjust rows/cols to suit your needs.

    Automatically fetching their referral ID will depend on the platform. I run an affiliate system through WordPress and use their WordPress user ID number to track leads. For my example, a properly created URL looks like this:

    <a href="http://yourdomain.com/<?php global $current_user; get_currentuserinfo(); echo '' . $current_user->ID . "";?>"><img src="YOUR IMAGE URL" alt="" /></a>
    • [ 1 ] Thanks
  • Thank you Boomland, that is very much appreciated. I'll go give that a shot right now since I happen to be working on the page as we speak..
  • Thank you bud, that worked perfect. I assume that if I add more "rows" to the code it will make the actual code box bigger, I'll be messing with that in a moment..

    this is so much appreciated, cant thank you enough. I try to do all my own stuff and that is something I have been wanting to be able to do for a bit now.

    EDIT -

    That was perfect and worked great. I added a row (4) and went from 40 to 60 columns and the boxes are perfect now.


    big kudos to Boomland Jenkins for the help. I appreciate it very much
    • [1] reply

Next Topics on Trending Feed

  • 5

    Not sure how I even say what I want, but I am looking for what code to use to make a code box on an affiliate page on one of my sites. I have some images added and want to add the code under them to make it easier for affiliates to just copy and paste.