Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit reply – blank page


  • nicholmikey
    Participant

    @nicholmikey

    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.

Viewing 2 replies - 1 through 2 (of 2 total)

  • nicholmikey
    Participant

    @nicholmikey

    Nevermind. I am stupid.

    I took away all my shortcode stuff and used this. Please go easy on me lol. Everything is perfect now.

    				<?php while( have_posts() ): the_post(); ?>
    
    				<?php the_content(); ?>
    
    				<?php endwhile; ?>

    Robin W
    Moderator

    @robin-w

    Hey great – was just about to get into your topic when I noticed that you had replied !

    No problem – we all have those moments – increasingly for me !

    Do come back if we can help further 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar