Opened 7 years ago
Closed 7 years ago
#7839 closed defect (bug) (fixed)
Alternative to 'bp_activity_entry_comments' action in bp nouveau
Reported by: | sbrajesh | Owned by: | imath |
---|---|---|---|
Milestone: | 3.1.0 | Priority: | normal |
Severity: | normal | Version: | 3.0.0 |
Component: | Templates | Keywords: | has-patch commit |
Cc: | sbrajesh |
Description
The legacy uses "bp_activity_entry_comments" action to allow adding extra fields into the comment form, In BP Nouveau there are no alternative action.
The action 'bp_activity_entry_comments' is present but it add the extra data outside the form.
We need extra actions to allow injecting in the activity comment form.
Attachments (1)
Change History (11)
#2
@
7 years ago
- Keywords needs-patch added
Hi @sbrajesh it looks like this hook was just before the nonce field, do you think we could adapt and use bp_nouveau_submit_button
in this part ? Do not hesitate to suggest a patch π
#3
@
7 years ago
Thank you.
It seems to me that using the button in action name might not be good as the action appears in the outside container.
I am unable to think a good name, but something in the form of
`
<?php do_action( 'bp_nouveau_after_new_activity_comment_content' )?>
`
seems more meaningful and appropriate but seems too long.
#5
@
7 years ago
- Keywords has-patch reporter-feedback added; needs-patch removed
7839.patch should fix the issue without adding hooks inside the template part.
@sbrajesh can you confirm (ps: the hook name is the same than before: bp_activity_entry_comments
) ?
#6
@
7 years ago
- Keywords reporter-feedback removed
Hi @imath
I can confirm that this works as expected.
Thank you.
Letβs use the old action name in the same place in Nouveau β and add a new action to replace where that action currently is in Nouveau.