Crisium (@crisium)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • @crisium

    Member

    has been resolved…

    the words are realtime converted to upper case :)

    regards,

    Peter

    @crisium

    Member

    ok.. here is the solution I’m using. It’s more like a hack but good enough for what I’m doing:

    in the suffusion theme open page.php and change the following:

    comments_tempalte();

    to:

    if ( $post->post_type!=”topic” )

    comments_template();

    now when the post type is a topic it won’t process the comments stuff.

    Peter

    @crisium

    Member

    why is this topic resolved? it’s far from resolved.

    @crisium

    Member

    @John

    I’ve looked into the suffusion them and can see the forums are being rendered at page.php

    The suffusion code seems to handle the $post nicely by putting resetting it into it’s original state.

    here is the page.php from suffusion:

    <?php

    /**

    * Default template for a page

    *

    * @package Suffusion

    * @subpackage Templates

    */

    get_header();

    ?>

    <div id=”main-col”>

    <?php

    suffusion_page_navigation();

    suffusion_before_begin_content();

    ?>

    <div id=”content”>

    <?php

    global $post;

    if (have_posts()) {

    while (have_posts()) {

    the_post();

    $original_post = $post;

    ?>

    <div <?php post_class(‘fix’); ?> id=”post-<?php the_ID(); ?>”>

    <?php suffusion_after_begin_post(); ?>

    <div class=”entry-container fix”>

    <div class=”entry fix”>

    <?php suffusion_content(); ?>

    </div><!–/entry –>

    <?php

    // Due to the inclusion of Ad Hoc Widgets the global variable $post might have got changed. We will reset it to the original value.

    $post = $original_post;

    suffusion_after_content();

    ?>

    </div><!– .entry-container –>

    <?php

    suffusion_before_end_post();

    comments_template();

    ?>

    </div><!–/post –>

    <?php

    }

    }

    ?>

    </div></div>

    <?php get_footer(); ?>

    any suggestions what I should looke at?

    regards,

    Peter

    @crisium

    Member

    @Andrew did you resolve this problem?.. i’m in the same boat as you.

    regards,

    Peter

    @crisium

    Member

    Hi,

    did a checkout and dropped it in my plugin directory and when I activate it.. I get: Fatal error: Call to undefined method WP_Query::is_main_query() in C:inetpubwwwrootwpwp-contentpluginsbbpressbbp-includesbbp-core-compatibility.php on line 1605

    regards,

    Peter

    @crisium

    Member

    @WhiteRau

    you are way off with your comment about “just follow what the sticky comment says”

    you meaning yourself are merging… nowhere does it state that we should merge.. that is a big difference

    and you are having duplicate files and functions… wtf?

    I have given up on this plugin!… I can write a new one faster than getting this one to work.

    Peter

    @crisium

    Member

    @John,

    I have tried to follow you procedure for getting bbPress intergrated into my current theme. After 10 hours of copying/pasting directories, files, adding code… I finally gave up.

    As you said your self the bbPress as only one theme that supports it and that is the theme you have created, which is a modified twentyten. I think the bbPress fails as user friendly, because I need to manually change things on my harddrive and code to get my current theme to work.

    Apparently there are not very many forum plugins for wordpress (well, not that many good ones). I would like to use yours and this is also why I invested 10 hours of my time trying to integrate it.

    I’m going to try and explain what I have done, perhaps I misunderstand something with your procedure:

    1. I’m using WordPress 3.2.1, theme Suffusion, forum bbPress 2.0

    2. With this installment I can see I need to use your procedure description:

    If this is not a custom theme under your control (meaning you are not the author) you’ll want to copy the entire “/bbpress/bbp-themes/bbp-twentyten” folder into your “wp-content/themes/%YOURTHEMENAME%” folder, and modify your style.css to make it a custom Child Theme of whatever your current theme is.

    3. I copy my folder: C:inetpubwwwrootwpwp-contentpluginsbbpressbbp-themesbbp-twentyten and paste it into C:inetpubwwwrootwpwp-contentthemessuffusion

    4. This means I now have a folder in my suffusion directory called “bbp-twentyten”

    5. I now open the style.css file in the “C:inetpubwwwrootwpwp-contentthemessuffusionbbp-twentyten” directory and add “@import url(“../style.css”);”

    6. I modify the styles.css file in the “C:inetpubwwwrootwpwp-contentthemessuffusionbbp-twentyten”, so that the plugin header now says “template: suffusion”

    7. I now open the functions.php file in the “C:inetpubwwwrootwpwp-contentthemessuffusion” directory and add: add_theme_support( ‘bbpress’ );

    As I understand your procedure that is what I’m suppose to do? Did I miss something?

    regards,

    Peter

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