Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 39,601 through 39,625 (of 64,733 total)
  • Author
    Search Results
  • #104280

    In reply to: WPMimic V.1

    Vietson
    Member

    @citizenkeith – thanks for the link. I started reading that thread a few days ago and find that the development kinda stop halfway. Although initially the progress is quite strong then it began to die down.

    Anyhow, WPMimic v.1 is ready. Visit: http://vietsonnguyen.com/beta/bbpress/

    Let me know how it in IE since I have no access to IE.

    #99180

    In reply to: WPMimic V.1

    Vietson
    Member

    @citizenkeith – thanks for the link. I started reading that thread a few days ago and find that the development kinda stop halfway. Although initially the progress is quite strong then it began to die down.

    Anyhow, WPMimic v.1 is ready. Visit: http://vietsonnguyen.com/beta/bbpress/

    Let me know how it in IE since I have no access to IE.

    #104095
    thebreiflabb
    Member

    It works perfectly for me, though you can try with some debugging, for example try

    echo $counter;

    inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.

    #98995
    thebreiflabb
    Member

    It works perfectly for me, though you can try with some debugging, for example try

    echo $counter;

    inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.

    #37371
    dhcrusoe
    Member

    Greetings all,

    Ok, so conceptually, bbPress seems great. However, I’ve used an older version, and know how tentative it can be.

    As I can’t find any readily-accessible information about this, I’m asking what might be one of the most frequent questions around here.

    Can someone please point out documentation that explains how to integrate WordPress with bbPress? I’m looking to integrate the theme and navigation ONLY – nothing else (since our WP site doesn’t require logins, etc).

    Thanks for any info,

    –Dave

    #104094
    csabamarosi
    Member

    I’ve figured out that there were some PHP configuration issues with my XAMPP installation, so the error messages are gone now. Sad thing is, your code doesn’t output anything at all.

    #98994
    csabamarosi
    Member

    I’ve figured out that there were some PHP configuration issues with my XAMPP installation, so the error messages are gone now. Sad thing is, your code doesn’t output anything at all.

    #104093
    thebreiflabb
    Member

    What errors does it give you?

    #98993
    thebreiflabb
    Member

    What errors does it give you?

    #104092
    csabamarosi
    Member

    Well, at first I was trying to do something very similar, but including bb-load.php always gives me errors. Deep integration and all database/cookie connections are working fine, so I’m pretty confused.

    #98992
    csabamarosi
    Member

    Well, at first I was trying to do something very similar, but including bb-load.php always gives me errors. Deep integration and all database/cookie connections are working fine, so I’m pretty confused.

    #104091
    thebreiflabb
    Member

    If your wordpress and bbpress share the same database you can simply edit sidebar.php

    On the top of the file add:

    <?php require_once(ABSPATH."/forum/bb-load.php"); ?>

    This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)

    Then where you are going to output your latest posts add this:

    <?php
    global $wpdb;
    $query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
    $topics = $wpdb->get_results($query);
    $counter = 0;
    ?>

    This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.

    Finally to output simply add something similar to this:

    <div id="latest-posts" class="border">
    <h2>Latest forum posts</h2>
    <?php foreach($topics as $topic) : ?>
    <div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
    <?php $counter++; ?>
    <?php endforeach; ?>
    </div>

    Edit to your preference on html and css.

    #98991
    thebreiflabb
    Member

    If your wordpress and bbpress share the same database you can simply edit sidebar.php

    On the top of the file add:

    <?php require_once(ABSPATH."/forum/bb-load.php"); ?>

    This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)

    Then where you are going to output your latest posts add this:

    <?php
    global $wpdb;
    $query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
    $topics = $wpdb->get_results($query);
    $counter = 0;
    ?>

    This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.

    Finally to output simply add something similar to this:

    <div id="latest-posts" class="border">
    <h2>Latest forum posts</h2>
    <?php foreach($topics as $topic) : ?>
    <div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
    <?php $counter++; ?>
    <?php endforeach; ?>
    </div>

    Edit to your preference on html and css.

    #104275
    thebreiflabb
    Member

    I made it work in a way using this:


    <?php
    /*
    Plugin Name: BBTexCode
    Description: [tex][/tex] to image
    Plugin URI:
    Author: Sondre Kjøniksen
    Version: 1.00
    */

    function bb_tex_replace( $text ) {
    $text = preg_replace('/[tex](.*?)[/tex]/ie', "'<img src="/cgi-bin/mathtex.cgi?'.rawurlencode('$1').'" align="middle" />'", $text);
    return $text;
    }
    add_filter('post_text', 'bb_tex_replace');
    ?>

    Though I still have a problem, it seems bbpress strips backslashes when adding the post to the DB. Is it possible to do so bbpress skips stripping backslashes from [tex][/tex] tags? At the moment it works if I write double backslashes like: [tex]\LaTeX \frac12[/tex] But it is kind of annyoing having to type double every time.

    #99175
    thebreiflabb
    Member

    I made it work in a way using this:


    <?php
    /*
    Plugin Name: BBTexCode
    Description: [tex][/tex] to image
    Plugin URI:
    Author: Sondre Kjøniksen
    Version: 1.00
    */

    function bb_tex_replace( $text ) {
    $text = preg_replace('/[tex](.*?)[/tex]/ie', "'<img src="/cgi-bin/mathtex.cgi?'.rawurlencode('$1').'" align="middle" />'", $text);
    return $text;
    }
    add_filter('post_text', 'bb_tex_replace');
    ?>

    Though I still have a problem, it seems bbpress strips backslashes when adding the post to the DB. Is it possible to do so bbpress skips stripping backslashes from [tex][/tex] tags? At the moment it works if I write double backslashes like: [tex]\LaTeX \frac12[/tex] But it is kind of annyoing having to type double every time.

    #104090
    csabamarosi
    Member

    There is something wrong with your site, it says fatal error so the plugin is kinda unreachable. :)

    #98990
    csabamarosi
    Member

    There is something wrong with your site, it says fatal error so the plugin is kinda unreachable. :)

    #104279

    In reply to: WPMimic V.1

    citizenkeith
    Participant

    In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:

    https://bbpress.org/forums/topic/bbpress-plugin-updates

    #99179

    In reply to: WPMimic V.1

    citizenkeith
    Participant

    In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:

    https://bbpress.org/forums/topic/bbpress-plugin-updates

    #104323

    In reply to: bbpress AND buddypress

    intimez
    Participant
    #99223

    In reply to: bbpress AND buddypress

    intimez
    Participant
    #37368
    razy69
    Member

    Hi,

    I add a bbpress forum to my wordpress site, i share account and other, but i want to share wordpress avatar.

    I use this plugin in wordpress “Profile Pic” v.0.9.2

    How can i share it?

    Thanks

    #104261
    MarkClark123
    Member

    This is not turning out to be a very fruitful venture (installing bbpress and getting it to look like my WP site). Thanks !!!!!!!!!

    Mark Clark

    http://www.6passengervehicleshq.com

    #99161
    MarkClark123
    Member

    This is not turning out to be a very fruitful venture (installing bbpress and getting it to look like my WP site). Thanks !!!!!!!!!

    Mark Clark

    http://www.6passengervehicleshq.com

    #37367
    jwindhall
    Member

    Seems more than likely that this has been covered over and over, though I can not find an answer.

    I need to install both Buddy press and a full installation of bbpress (not just the push and play version via the WordPress admin panel.) Why? I need more then one catch forum, or subform… Or whatever you’d like to call it. The one big forum doesn’t work for me.

    I’ve been able to get them installed just fine, I just can’t get them to honro each other. the user comes to the home page and logs into buddypress. The bbpress install does not honor this account. How do do this?

Viewing 25 results - 39,601 through 39,625 (of 64,733 total)
Skip to toolbar