• Resolved GlamCat

    (@glamcat)


    I use custom post types. For example, I have post type “news” and my permalinks structure is “/%category%/%postname%”. So I have urls like this mysite.com/news and mysite.com/news/bla-bla-bla

    And when I install and activate plugin (not bridge!) all this links are broken. Then I deactivate plugin, go to the permalinks page, click “save” and everythink works again. I’ve tried versions 2.0.3 and 2.0.4.

    What did I do wrong? Or is there an error in plugin?

    http://ww.wp.xz.cn/extend/plugins/wp-phpbb-bridge/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nikos Merianos

    (@merianos)

    WP phpBB Bridge come with a custom url for plugin deactivation in the form of http://www.your-blog.ext/wpbbreset/yourPassword

    Maybe that conflicts with your custom posts URL.

    I suggesting you to try activate the WP phpBB Bridge and then go to your WordPress admin panel under Settings/Permalinks and just press the save button.

    Maybe that will solve your problem. If not contact us again.

    Thread Starter GlamCat

    (@glamcat)

    Maybe that conflicts with your custom posts URL.

    How can plugin do it? I haven’t got any urls like this.

    I suggesting you to try activate the WP phpBB Bridge and then go to your WordPress admin panel under Settings/Permalinks and just press the save button.

    Yeah, I’ve tried to do it, but had no result.

    Plugin Author Nikos Merianos

    (@merianos)

    I am sorry, I don’t realy know what’s wrong with it. We already use custom posts with that plugin in http://www.wdf.gr/ in the form of

    /%category%/%postname%.html

    and there is no problem with that 🙁 ?

    Thread Starter GlamCat

    (@glamcat)

    Ok, I’ve made a clean install of wordpress 3.2.1 without any plugins.

    Then I change permalinks structure to “/%category%/%postname%”

    Tnen I’ve put this code to add one custom post type to function.php and add one new post to this custom type. The url is mysite.com/news/testthis. It’s working now.

    /* adding custom post type "News" */
    add_action( 'init', 'post_type_nlnews' );
    function post_type_nlnews() {
    	register_post_type( 'nlnews',
    		array(
    			'labels' => array(
    				'name' => 'News',
    				'singular_name' => 'News'
    			),
    			'public' => true,
    			'show_ui' => true,
    			'menu_position' => 4,
    			'supports' => array('title','editor','revisions','comments'),
    		        'taxonomies' => array( 'post_tag' ),
    			'rewrite' => array('slug' => 'news', 'with_front' => false),
    			'has_archive' => 'news'
    		)
    	);
    }

    Then I’ve installed your plugin. Still everything is ok.

    Then I’ve activated it. The url mysite.com/news/testthis doesn’t work now. It returns “Page not found”

    Thread Starter GlamCat

    (@glamcat)

    It seems that I have solved this problem by adding flush_rewrite_rules(); befor last } in my code!

    Anyway, thanks for the great plugin!

    Plugin Author Nikos Merianos

    (@merianos)

    You very welcome and we thank you for using it !

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

The topic ‘[Plugin: WP phpBB Bridge] Problem with plugin when using custom post types’ is closed to new replies.