Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Here is what I got

    This is what I need Im making an andfriend button for myspace,
    I got it all working and everything but then I wanted it to be a
    img instead of text. So I want to see if any one could tweek
    this code a little to make it so I can put a url of a website img
    and have that img be the button. Here is what I got so far
    <center>
    <form name="addfriend" action="http://mail1.myspace.com/index.cfm?fuseaction=invite.addFriendsProcess&Mytoken=2ECAAE06-6778-4D20-99850CC3A4C3E117281762125" method="post" >
    <input type="hidden" name="hashcode" value="MIGKBgkrBgEEAYI3WAOgfTB7BgorBgEEAYI3WAMBoG0wawIDAgABAgJmAwICAMAECNClZpkzemoyBBD/dGKmoXcIzIbtYDS7/tMfBECtNU9VlvbWJAPpp92iKnI96RNnnttw/u6hm/CSsPLnUbgdQLkUUWvKTQn4+4u5jayb+NQBIj2wHbYP93YOOTWb">
    <input type="hidden" name="friendID" value="My friendID">
    <input type="submit" value="Text on botton">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </form>
    </center>

  • #2
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    uh..

    Code:
    <a href="http://www.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=theirfriendid">
    <img src="http://www.imagelocation.com/image.gif">
    </a>

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks man that was really fast, may I ask you one more Q
    ok so myspace makes it so you cant us java script but I
    want to but up a video player that will have a play list of video's
    I have on my sever. Any idea's

  • #4
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've only ever had one video on my profile, for a day, and I don't know how to do that. Sorry.

  • #5
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    O man the img button doesnt work how I wanted it to.
    My code I made is if you click on the addfriends text box
    it would make them my friend. Your code brings me to the url
    with the addfriends button. I wanted to make the addfriends
    text box a img so when you click on it you become my friend
    right way.
    Last edited by DvSRadar; 12-12-2005 at 04:07 AM.

  • #6
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is the code Im using now
    <center>
    <form name="addfriend" action="http://mail1.myspace.com/index.cfm?fuseaction=invite.addFriendsProcess&Mytoken=2ECAAE06-6778-4D20-99850CC3A4C3E117281762125" method="post" >
    <input type="hidden" name="hashcode" value="MIGKBgkrBgEEAYI3WAOgfTB7BgorBgEEAYI3WAMBoG0wawIDAgABAgJmAwICAMAECNClZpkzemoyBBD/dGKmoXcIzIbtYDS7/tMfBECtNU9VlvbWJAPpp92iKnI96RNnnttw/u6hm/CSsPLnUbgdQLkUUWvKTQn4+4u5jayb+NQBIj2wHbYP93YOOTWb">
    <input type="hidden" name="friendID" value="770662">
    <input type="submit" value="Become Radar's Friend">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </form>
    </center>

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Code:
    <form name="addfriend" action="http://mail1.myspace.com/index.cfm?fuseaction=invite.addFriendsProcess&Mytoken=2ECAAE06-6778-4D20-99850CC3A4C3E117281762125" method="post" >
    <input type="hidden" name="hashcode" value="MIGKBgkrBgEEAYI3WAOgfTB7BgorBgEEAYI3WAMBoG0wawIDAgABAgJmAwICAMAECNClZpkzemoyBBD/dGKmoXcIzIbtYDS7/tMfBECtNU9VlvbWJAPpp92iKnI96RNnnttw/u6hm/CSsPLnUbgdQLkUUWvKTQn4+4u5jayb+NQBIj2wHbYP93YOOTWb">
    <input type="hidden" name="friendID" value="My friendID">
    <input type="image" src="youraddfriendbuttonhere.jpg">
    </form>
    You can make an m3u playlist for your video player. Search the forums for m3u you will get results, I've done a tutorial in a thread in the Multimedia forum. That thread is called "Embedded Windows Media Player". And please start using the code tags to display your code.

  • #8
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok we are getting very close that one looks fine but it doesnt add them?
    Im not sure but I think it need some kind of <input type="submit" or some
    thing? I really dont know ahahhahaha

  • #9
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah it even takes me to the page that you would get if you had press the real button

  • #10
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Thats probably because the image submits its coordinates. Try this
    Code:
    <form name="addfriend" action="http://mail1.myspace.com/index.cfm?fuseaction=invite.addFriendsProcess&Mytoken=2ECAAE06-6778-4D20-99850CC3A4C3E117281762125" method="post" >
    <input type="hidden" name="hashcode" value="MIGKBgkrBgEEAYI3WAOgfTB7BgorBgEEAYI3WAMBoG0wawIDAgABAgJmAwICAMAECNClZpkzemoyBBD/dGKmoXcIzIbtYDS7/tMfBECtNU9VlvbWJAPpp92iKnI96RNnnttw/u6hm/CSsPLnUbgdQLkUUWvKTQn4+4u5jayb+NQBIj2wHbYP93YOOTWb">
    <input type="hidden" name="friendID" value="770662">
    <input type="submit" value="" style="background-image:url(yourimage.jpg);width:88px;height:31px;border:0;">
    </form>
    Just change the width and height to match your image dimensions remember to change the url for the background-image.

  • #11
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey man that one worked thank you very much


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •