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