...

View Full Version : Here is what I got



DvSRadar
12-12-2005, 03:34 AM
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>

Ranger56
12-12-2005, 03:40 AM
uh..


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

DvSRadar
12-12-2005, 03:53 AM
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

Ranger56
12-12-2005, 03:56 AM
I've only ever had one video on my profile, for a day, and I don't know how to do that. Sorry.

DvSRadar
12-12-2005, 04:03 AM
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.

DvSRadar
12-12-2005, 04:10 AM
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>

_Aerospace_Eng_
12-12-2005, 04:11 AM
<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 (http://www.codingforums.com/misc.php?do=bbcode) to display your code.

DvSRadar
12-12-2005, 04:26 AM
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:thumbsup:

DvSRadar
12-12-2005, 04:36 AM
yeah it even takes me to the page that you would get if you had press the real button

_Aerospace_Eng_
12-12-2005, 04:47 AM
Thats probably because the image submits its coordinates. Try this

<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.

DvSRadar
12-12-2005, 05:04 AM
Hey man that one worked thank you very much :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum