Need help with some simple coding

4 replies
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
#code box #coding #simple
  • Profile picture of the author Boomland Jenkins
    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>
    {{ DiscussionBoard.errors[8302944].message }}
  • Profile picture of the author geoscash1
    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..
    Signature

    Coming Soon -Learn how to Make $30 per Day
    Free Traffic and List Building Bonus with Pre-registration

    {{ DiscussionBoard.errors[8303182].message }}
  • Profile picture of the author geoscash1
    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
    Signature

    Coming Soon -Learn how to Make $30 per Day
    Free Traffic and List Building Bonus with Pre-registration

    {{ DiscussionBoard.errors[8303219].message }}

Trending Topics