Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: One Off Identities or Posting As Multiple Users

@glaxton

Participant

Quick update. I used the CPT UI plugin to create a “Character” Custom Post Type.

I modified form-reply.php to pull all these Characters and put those into a drop menu (select).

Each of these CPT’s has their own Post ID, which I’m going to save as “d20_character” in the meta of the Reply.

Question: Can you tell me the best way to modify the data saved for a reply when the user clicks “Submit”?

Then in loop-single-reply.php I’m checking for the existence of the “d20_character” meta entry. If that entry exists for a reply, then I am pulling the Post Title of the Character Post by the ID, and the Post Thumbnail (Featured Image) to display that in the bbp-reply-author div instead of the default.

Question: There are several actions in loop-single-reply.php. What’s the best way to modify those actions on an individual reply basis? I would like the use the same functionality those functions provide, but I need to tell them to use the ID of the Character post associated with the reply instead of the Reply WP User Author.

Actions: bbp_theme_before_reply_author_details, bbp_reply_author_link, bbp_theme_before_reply_author_admin_details, bbp_theme_after_reply_author_admin_details, bbp_theme_after_reply_author_details

Skip to toolbar