PDA

View Full Version : How to Update Your MySpace Comment Boxes - New Comment Box Code


Andrew2
April 7th, 2008, 02:49 PM
Overall there are only 4 modifications you need to make and they are quite simple!

Step 1)
The part that says FRIENDIDGOESHERE is the new area that people need to edit and paste their friendID from now on.

Replace the old action with the new one (located in the beginning in your form code):
OLD ACTION: action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"
NEW ACTION:
action="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm& friendID=FRIENDGOESHERE"


Step 2)
Replace
<input name="friendID" value="FRIEND ID HERE" type="hidden">
With these new input lines:
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" />


Step 3)
Replace the old textarea name:
name="f_comments"
with this one:
name="ctl00$cpMain$UserWriteCommentsControl$commentTextB ox"

Step 4)
Add this new name to your SUBMIT input code:
name="ctl00$cpMain$UserWriteCommentsControl$postcommentI mageButton"

Example:
<input type="submit" name="ctl00$cpMain$UserWriteCommentsControl$postcommentI mageButton" value="Post">



Here's the new comment box code for those who want to customize it and such:
<form method="post" action="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&amp; friendID=XXXXXXX">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" />
<textarea class="inputBox" name="ctl00$cpMain$UserWriteCommentsControl$commentTextB ox" >PreWritten Textarea Text Goes Here</textarea>
<input type="submit" name="ctl00$cpMain$UserWriteCommentsControl$postcommentI mageButton" value="Submit Button Title"></input></form>

If this needs to be moved to "Tutorials" then a moderator may do so, or you can keep it in the MySpace Information section (both work) :P

Daphne
April 7th, 2008, 03:37 PM
Woot, great to hear! Thank you for this :)

Now here comes the task of fixing 100 codes. x_X

mrs brightside
April 7th, 2008, 03:54 PM
Thank you so much Andrew :)

Ammy
April 7th, 2008, 03:56 PM
Nice one Andrew!! I just changed all of mine... they work perfectly :)

dustin
April 7th, 2008, 03:58 PM
Thanks Andrew!

xlove
April 7th, 2008, 04:06 PM
you rock thanks :] i think people should keep a backup of their old codes tho in case myspace changes it back like that layout body code they did :[

mrs brightside
April 7th, 2008, 04:14 PM
I'm just deleting all of mine, I messed the codes up :(( too much work.

SamOwen
April 7th, 2008, 06:10 PM
You must spread some Reputation around before giving it to Andrew2 again.

babylove
April 9th, 2008, 02:26 PM
Thanks so much, now all i have to do is change all the codes for my other ones.

Thanks to Adam of Comment My World for showing me this post. =]

CharmRoyal
April 12th, 2008, 10:58 AM
I just tried using the regular comment box codes and they work...?
I tried on my MySpace and my friends.

Anyone else see this?

Andrew2
April 12th, 2008, 01:27 PM
If that's the case then they both work now, at least myspace didn't change it a whole lot.. I tested the new code above and it seems to still be cool.

sarahxheart
April 28th, 2008, 04:15 PM
Thanks. I need to make some Comment Boxes.