Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 39,426 through 39,450 (of 64,524 total)
  • Author
    Search Results
  • #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.

    #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.

    #98993
    thebreiflabb
    Member

    What errors does it give you?

    #104093
    thebreiflabb
    Member

    What errors does it give you?

    #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.

    #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.

    #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.

    #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.

    #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.

    #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.

    #98990
    csabamarosi
    Member

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

    #104090
    csabamarosi
    Member

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

    #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

    #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

    #99223

    In reply to: bbpress AND buddypress

    intimez
    Participant
    #104323

    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

    #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

    #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

    #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?

    #94907
    Chuck Mac
    Member

    Ok well I ran my issue down a little further. The topics added are not showing up in the frontend topic list because the _bbp_topic_last_active meta key is not being set. I manually set it for one of the topics and it worked.

    Why that postmeta key is not being created, not sure yet. I see a bunch of other ones for that post id (_bbp_topic_reply_count, _bbp_topic_hidden_reply_count, etc) so doesn’t seem like its across the board for the meta keys.

    #37364

    Topic: WPMimic V.1

    in forum Themes
    Vietson
    Member

    So its been a year plus since I visited this forum, I noticed that a couple of people are using WPMimic and are probably hating it. Anyhow, I opened up the theme and spend the last day or two reworking the theme to work with current version of bbPress. I’ll post the download link to the download link this friday (02/04/11) finish or not.

    Sad to see that bbPress hasn’t grown much even after a year of no visitation….

    #94906
    LPH2005
    Member

    @chuckmac

    I have an installation with a similar issue. Posts show if done from within the bbPress installation. Posts done from within the admin panel do not show up in the site but are in the database and still show in the admin panel.

    #94905
    Chuck Mac
    Member

    I migrated my WordPress install from my local PC to my development server and am having some issues with the BBPress plugin now. Everything that was there shows up fine… however now I cannot add new topics.

    Adding a new forum works.

    However now when I try to add a new topic to the forum from the frontpage it redirects me to the homepage when I hit submit and I never see it in the database.

    If I do it from the dashboard, it adds the topic in the admin and I can see it there but it doesn’t show up on the topic list under the forum on the frontpage. I can view it directly if I click the view link on it from the dashboard.

    If I look in the db the one that is working has the GUID set with a permalink structure (/forums/topic/topicname) where the one I added after the move doesn’t (?post_type=bbp_forum&p=1161). I have permalinks enabled on the site (and they are working everywhere else)… I’ve tried turning them off and back on as well.

    Hopefully didn’t ramble on too much there, going to try to dig into it some more but not sure if you guys had any ideas.

    SCRichard
    Member

    I have been using WordPress for a while. I was introduced to BB Press but am having a time getting it set up. What in the world is The complete URL of the front page of your bbPress forums? Where do I get itfrom?

Viewing 25 results - 39,426 through 39,450 (of 64,524 total)
Skip to toolbar