Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#2416 closed idea (wontfix)

Can we support multi form in same page?

Reported by: unsalkorkmaz's profile unsalkorkmaz Owned by:
Milestone: Priority: normal
Severity: normal Version: trunk
Component: General Keywords:
Cc: unsalkorkmaz@…

Description

Hi,

I would like to have a way to add multi topic creation form in same page. Some users cant find topic creation @ bottom of page and when i try to put another form with [bbp-topic-form], it corrupts wysiwyg editor because of same id problem. Can you somehow support extra id for it?

Change History (4)

#1 @unsalkorkmaz
11 years ago

  • Cc unsalkorkmaz@… added
  • Version changed from 2.1 to trunk

#2 @johnjamesjacoby
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Unlikely. This is a WordPress core issue, and/or an implementation issue. bbp_get_the_content() (horrible name on my part) accepts an ID parameter, which bbPress currently maps to 'bbp_' . $r['context'] . '_content'. If you want to have multiple forms, you'll need to build your own handler for the custom form, similar to how bbPress needed to do the same for its forms.

Closing as wontfix.

#3 @unsalkorkmaz
11 years ago

I was thinking to use "textarea_name" arg as

'bbp_' . $r['context'] . '_content'

http://codex.wordpress.org/Function_Reference/wp_editor

and give special id if user defined. For example: [bbp-topic-form formid="2ndform"]

Last edited 11 years ago by unsalkorkmaz (previous) (diff)

#4 @johnjamesjacoby
10 years ago

  • Type changed from feature request to idea
Note: See TracTickets for help on using tickets.