Skip to:

Opened 11 years ago

Closed 11 years ago

#4459 closed enhancement (fixed)

adding enctype="multipart/form-data" to compose message form

Reported by: ckchaudhary's profile ckchaudhary Owned by: djpaul's profile DJPaul
Milestone: 1.7 Priority: normal
Severity: minor Version: 1.6
Component: Messages Keywords: needs-patch


Hi guys,
being a .net developer in the begining, still a huge huge fan of wordpres and buddypress. you guys are awesome!!
ok i was having some trouble writing a buddypress plugin which allows users to send attachements in private message. and the problem was that the forms(buddypress > bp-themes > bp-default > members > single > message >compose.php) enctype attribute had to be set. javascript saved my day, but a gentleman (Paul Gibbs) suggested that i submit a ticket here so that this will be included in next 1.7 of buddypress already.
So is the reason for this new ticket.
its my first time here. so pls excuse if m not making any sense

Change History (5)

#1 @DJPaul
11 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.7

I figure adding an encoding type to the "create private message" form won't break anything.

#2 @DJPaul
11 years ago

Does anyone know if changing this is going to have a high risk of breaking something? I don't know too much about quirks with the file upload enctype.

#3 @sbrajesh
11 years ago

Hi Paul,
you can change that safely.
The enctype won't break anything in case of private message.

#4 @DJPaul
11 years ago

  • Owner set to DJPaul
  • Status changed from new to assigned

#5 @djpaul
11 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6328]) Add enctype="multipart/form-data" to private message form to allow plugins to add support for file attachments. Fixes #4459

Note: See TracTickets for help on using tickets.