Edit reply – blank page
-
After installing BBPress nothing was working, I could see a list of forums if I went to /forums/ but nothing appeared to create a new forum or post, and no form appeared to enter a reply. I rebuilt the pages using the shortcodes and this worked great, but if I click “Edit” on a reply I get a page with no content.
Here is the code I am using in my main template to make the BBPress items show up:
<?php if (is_bbpress()) : ?> <section id="content" class="grid-block"><h3 class="page-subtitle"><?php echo $this['config']->get('Subtitle'); ?></h3> <?php if(!is_user_logged_in()) { echo do_shortcode("[bbp-login]"); } else { echo 'bbpress page'; $forum_id = get_the_ID(); if( get_post_type( $forum_id ) == 'page') { echo do_shortcode("[bbp-forum-index]"); } echo do_shortcode("[bbp-single-forum id=" . $forum_id . "]"); echo do_shortcode("[bbp-single-topic id=" . $forum_id . "]"); } ?>
I can’t find a shortcode for the reply edit form. How can I made the reply edit form appear on a page?
Also none of the forms worked until I added this to the functions.php:
add_filter( 'bbp_verify_nonce_request_url', 'my_bbp_verify_nonce_request_url', 999, 1 ); function my_bbp_verify_nonce_request_url( $requested_url ) { return 'http://localhost:8088/mySite/' . $_SERVER['REQUEST_URI']; }
I am using a woo-theme with their warp system, I think it does not work well with bbpress.
Please, how can I made the edit form appear? There appears to be no shortcode for that.
- You must be logged in to reply to this topic.