Atsutane (@atsutane)

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 84 total)
  • @atsutane

    Member

    Try make a refresh installation. Login to your mysql database and delete all bbpress related table. Then try reinstall again and see if it work or not.

    @atsutane

    Member

    @atsutane

    Member

    Maybe it gonna be possible :) Why don’t you try this http://dev.mbzeus.net/

    @atsutane

    Member

    First u set this wrong. It suppose to be like this “$bb->akismet_key = ‘baacc67278bb’;” not like this “$bb->baacc67278bb = true;”.

    To intergrate do like this.

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://www.patrimoineacadien.com’;

    $bb->wp_siteurl = ‘http://www.patrimoineacadien.com’;

    @atsutane

    Member

    Actually i make a little plugin for wordpress to view some bbpress stuff. For now i only done latest discussion and favorite topic.

    @atsutane

    Member

    mdawaffe,

    The function name “is_tag() “

    Fatal error: Cannot redeclare is_tag()

    @atsutane

    Member

    Do u mean something like this? http://www.atsutane.net/images/bbpressfavor.jpg

    @atsutane

    Member

    Even if you get the right time for your post. My freshness still gonna be -1 year. It all happen to the newest post i make but the time posted is correct. Maybe it was a bug inside bbpress freshness function.

    @atsutane

    Member

    Yeah also if mdawaffe read this. I hope they gonna change tag function name in future release since they are conflict with ultimate tag warrior :)

    @atsutane

    Member

    Yeah i think that will work. I only have that problem when i update wp akismet to the latest version. If i using the old version that dont have widget, i can use it without having any problem.

    @atsutane

    Member

    gsnixon,

    the problem i have with ultimate tag warrior is because bbpress using the same name function. About akismet, i don’t know what causing it. FYI i dont have any widget plugin install. I only use k2 sidebar module.

    @atsutane

    Member

    1. U need to load wordpress function inside bbpress.

    Put this inside config.php “require_once(‘/path/to/wp-blog-header.php’);”

    2. Use wp template tag inside your bbpress template.

    For example. Make a clean header.php and put “<?php get_header(); ?>”. Replace it with your bbpress-template header.php.

    To make sure bbpress gonna look alike your wp static page. I suggest u try refer single.php or page.php inside your wp theme folder.

    Here is my example. Using Kubrick page.php

    //Start Header.php

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <div class=”post” id=”post-forum”>

    <div class=”entry”>

    //End Header.php

    //Example item = front-page.php

    //Start Footer.php

    </div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    //End Footer.php

    So everytime u load bbpress index.php you will get the same page like your static wp page.

    3. Add some of bbpress css style inside your wp css file.

    Im sure u not gonna use all bbpress style maybe only some of it. Maybe you can start copy bbpress style from this point “/* Front Page=================================== */” untill the end.

    I dont know if this gonna help you but i try my best to keep it simple :) hope it gonna do some help.

    Side note: to load bbpress as wp static page. Create new page, and set “post slug” = “bbpress folder”

    @atsutane

    Member

    open_basedir restriction in effect, most likely your path to “wp-blog-header.php” is not correct.

    @atsutane

    Member

    @atsutane

    Member

    From what i see. I think it only css problem and some html problem. It seem before <div id=”footer”> u got 1 extra </div> … well i think so :) Anyway i need to go now. Good luck with your bbpress

    @atsutane

    Member

    For me i put inside footer.php after i close all div that hold my forum content. If u are k2 user maybe i can share my header.php and footer.php

    @atsutane

    Member

    I do like this. In header.php i put

    <?php get_header(); ?>

    <div something>

    <div something>

    Inside footer.php i put

    </div> // close something div

    <?php get_sidebar(); ?>

    </div> // close something div

    <?php get_footer(); ?>

    When u put “<?php get_header; get_sidebar(); get_footer(); ?>” all inside header.php that mean u load all ur header, sidebar and footer before u load ur content

    @atsutane

    Member

    To center it u need to play with css .. try look into default bbpress style.css and see which code u can use to suit your theme :)

    @atsutane

    Member

    Well maybe u can imagine like this. Inside your bbpress template, all file (not included header.php and footer.php) equal to your normal WP post. So u need to set up header.php and footer.php to be like ur WP index.php theme file.

    To make it short. Cut your WP theme index.php into 3 part. 1 for bbpress header.php, 1 for bbpress footer.php and one for your post a.k.a other bbpress template file.

    Sorry if my word confusing you. But i donno how to explain it XD.

    @atsutane

    Member

    tgpuckett,

    it seem to me u put get_header(); inside header.php without removing all the original content

    @atsutane

    Member

    Yeah that the main point. But i think if u using version 0.73, u no longer need to put define(‘WP_BB’, true);

    @atsutane

    Member

    shedrock,

    even if wordpress and bbpress are using different database u still can have the same user database. The only u need to do is to make sure wordpress and bbpress database name and user is the same.

    To call your forum from wordpress, maybe u can try making new static page and set “post slug” = “bbpress folder”. So everytime u click on that page, u will be redirect to your forum.

    P/S: maybe this will only work if you enable pretty permalink for wp.

    @atsutane

    Member

    mdawaffe,

    Actually i need to disable both plugin at the same time :)

    In reply to: Avatars

    @atsutane

    Member

    Well u can try this. Donno if it gonna work or not .. right now 12:54am so i dont have the time to test it :) Try at ur own risk. Got problem dont blame me XD. Well if this was wrong feel free to fix it.

    function get_post_author_avatar() {

    global $bbdb;

    $id = get_post_author_id();

    $user = bb_get_user( $id );

    $usermail = $user->user_email;

    $default = “http://www.somewhere.com/homestar.jpg&#8221;; // Put your default avatar link

    $size = 40;

    $grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=&#8221;.md5($email).”&default=”.urlencode($default).”&size=”.$size;

    echo “<img src=”$grav_url” alt=”Gravatar” />”;

    }

    @atsutane

    Member

    Fatal error: Cannot redeclare widget_akismet() (previously declared in /path/to/wp-content/plugins/akismet/akismet.php:376) in /path/to/wp-content/plugins/akismet/akismet.php on line 376

    I dont know what went wrong, but this happen when i try to loading wordpress 2.0.5 using bbpress 0.73. Before when i using wordpress 2.0.4 and bbpress 0.72 on my another blog, i dont have such problem. Is it because i have update my akismet plugin or i did something wrong in the config? I only put this on the top of my config.php

    require_once(‘/path/to/wp-blog-header.php’);

    define(‘WP_BB’, true);

    I also have the same problem with Ultimate tag warrior but i can disable that plugin, but i dont want to disable akismet. Anyone got any good suggestion?

Viewing 25 replies - 51 through 75 (of 84 total)