HTML Help Forum

Add an Add Comment button... PLEASE reply!!!!

Post all questions relating to MySpace in this board.

Postby camoman666 » Thu Jul 13, 2006 7:50 pm

ya just put where you want the button to be:
Code: Select all
<form action="http://comments.myspace.com/index.cfm?fuseaction=user&circuitaction=viewProfile_commentForm&friendID=YOUR FRIEND ID HERE&name=%26nbsp%3b%26fnof%3bL%26Lambda%3b%26sect%3bH&MyToken=YOUR 'MyToken' CODE HERE">
<input type="submit" value="Add Comment">
</form>

you have to change the code to fit you, to find your 'MyToken' and 'FriendId' look at the 'View All Of My Friends' link.
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

Postby bananapancakes » Fri Jul 14, 2006 5:02 pm

thanks so much!
but where is the MyToken number? What do you mean to use the View All of My Friends link?

thanks
bananapancakes
 
Posts: 4
Joined: Thu Jul 13, 2006 5:54 pm

Postby camoman666 » Fri Jul 14, 2006 6:12 pm

log in to your profile, go to your link that says: view all of your friends, it shoul look like: Log in or Register to see link FRIEND IDMyToken=YOUR MYTOKEN CODE
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

Postby bananapancakes » Fri Jul 14, 2006 6:30 pm

ok so i entered that but now when people click on the button they are directed to this link: Log in or Register to see link?

and they can't leave a comment. am I doing something wrong?

this is what I have:

<form action="http://comments.myspace.com/index.cfm?fuseaction=user&circuitaction=viewProfile_commentForm&friendID=900958**&name=%26nbsp%3b%26fnof%3bL%26Lambda%3b%26sect%3bH&MyToken=94bdaa50-f2f6-4ed8-9fd8-28f004601b82">
<input type="submit" value="Add Comment"> </form>

(i just replaced some numbers with asterisks here)

thanksss
bananapancakes
 
Posts: 4
Joined: Thu Jul 13, 2006 5:54 pm

Postby camoman666 » Fri Jul 14, 2006 7:12 pm

ya the two stars behind your friend id might be the problem
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

Postby bananapancakes » Fri Jul 14, 2006 8:25 pm

no i just starred them out because i didnt want to put my myspace link here
bananapancakes
 
Posts: 4
Joined: Thu Jul 13, 2006 5:54 pm

Postby bananapancakes » Fri Jul 14, 2006 8:48 pm

hii never mind i just decided to use a comment box instead but thanks for your help!
:D
bananapancakes
 
Posts: 4
Joined: Thu Jul 13, 2006 5:54 pm

Add comment box

Postby shyerich » Wed Aug 02, 2006 1:21 pm

I'm trying to do the same thing as Banana, but I can't figure out where I can insert the code.

My situation is a little unique in that when I'm in "edit profile" and I click on "preview profile" the add comment box is there. However, when I (or anyone) clicks my profile they see the view/edit box instead of view/add comment box. I don't know what the problem is.
shyerich
 
Posts: 2
Joined: Wed Aug 02, 2006 1:14 pm

Postby camoman666 » Wed Aug 02, 2006 5:18 pm

Do you mean like your trying to put the form to post a comment right on your page or the button takes you to the wrong place?

P.S. If I do not respond within 3 days that means my email is messing up, you can try to I.M. me, I get on Aim almost every day.
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

comment box messed up

Postby shyerich » Thu Aug 03, 2006 9:50 am

What I mean is that it's reversed. Anyone who views my profile see the view/edit box above the comments, so random people are now able to delete or edit my comments! When I go into "edit profile" and view my profile, I see the the view/add comments box. It's like the whole thing has gotten flipped around or something.
shyerich
 
Posts: 2
Joined: Wed Aug 02, 2006 1:14 pm

Postby camoman666 » Thu Aug 03, 2006 11:03 am

If there is, like you said, a way to delete your comments on your page, try clicking on one of the delete comment links. If a confirm box comes up asking if you're sure you want to delete the comment click cancel. But if it does come up then it isn't coding problems it's server problems cause the confirm box requires JavaScript.
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

Postby camoman666 » Sun Jul 22, 2007 8:31 pm

Ok, I've confirmed this code works just fine...
Code: Select all
<form action="http://comment.myspace.com/index.cfm" method="GET">
<input type="hidden" name="fuseaction" value="user.viewProfile_commentForm">
<input type="hidden" name="friendID" value="YOUR_FRIEND_ID">
<input type="hidden" name="MyToken" value="YOUR_MYTOKEN_CODE">
<input type="submit" value="Add Comment">
</form>

And to hide your friends list AND have a comment button...
Code: Select all
<form action="http://comment.myspace.com/index.cfm" method="GET">
<input type="hidden" name="fuseaction" value="user.viewProfile_commentForm">
<input type="hidden" name="friendID" value="YOUR_FRIEND_ID">
<input type="hidden" name="MyToken" value="YOUR_MYTOKEN_CODE">
<input type="submit" value="Add Comment">
</form><div style="display:none"><table><tr><td><table><tr><td>
camoman666
 
Posts: 368
Joined: Sat Jun 24, 2006 10:18 am
Location: Fort Walton Beach, FL, USA

grrr

Postby bored » Fri Jul 27, 2007 5:46 pm

i need help.
i used that code..
to hide ure friends and still have an add comment button..
but it didnt work!!
it came up with..

Invalid Friend ID.
This user has either cancelled their membership, or their account has been deleted.

Wat am i doing wrong??
bored
 
Posts: 1
Joined: Fri Jul 27, 2007 5:35 pm

Re: Add an Add Comment button... PLEASE reply!!!!

Postby cashmart35 » Wed Dec 21, 2011 2:23 am

I just followed your instruction to create add comment button but i am having trouble to hide my friend list ...any help will be appreciated ...i am really eager to learn
cashmart35
 
Posts: 7
Joined: Tue Dec 13, 2011 6:47 am


Return to MySpace

Who is online

Users browsing this forum: No registered users and 1 guest