Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,401 through 61,425 (of 64,414 total)
  • Author
    Search Results
  • #57230
    lira
    Member

    Erm… hey guys, could you tell me what I’ve done wrong?

    I’ve just installed “bbPress Post”, and WordPress is telling me there’s no table called “wp_bbpress_post_options” (which is true). I reckon I should solve this problem before hacking wp’s comments.php template… but how?

    ps.: Oh, and you guys are doing a great job here, congratulations :)

    #51904
    mierow
    Member

    Curious to know if anyone has gotten this to work with Active Directory? We’re looking at getting this authenticated using LDAP and AD, but the plug-in from above hasn’t worked with that. Any insight would be appreciated.

    #57510
    wmarcy
    Member

    Whoops, I was thinking of a WordPress plugin. Maybe you could modify it for bbPress?

    #1829

    Topic: My dream theme.

    in forum Installation
    Nola1974
    Participant

    Anyone see the CLI theme for WordPress?

    testing here: http://fearandloathingbbs.com/wordpress/

    My dream would be a theme like this for bbpress that would turn it into an old school BBS a la WWIV, VBBS or teleguard. I’ve been trying, but I suck. :(

    No really. how cool could that be?

    #57356

    In reply to: Plugin: Move It

    gh3
    Member

    i have just released the 0.12 version.

    in this new version i added the merge topic feature :)

    you can download it on bbpress svn or my site.

    hope it could be useful :)

    ps. sooner i’m planning to add split topic feature, but ‘ll have to work on it…

    #51234

    In reply to: Anonymous post

    Duchemin
    Member

    Users on my forum posted 1 or 5 messages, they don’t need registration. But in bbpress database there is no field of Name (post linked with user by poster_id). :( How to make ‘Anonymous post’?

    csl749
    Member

    Hi folks,

    Here’s my forum at the moment after some theme-tweakery to make it fit the general theme of my wordpress site. Everything’s more or less fine, but there’s just on little section that I can’t seem to solve – when using the ‘- ADD NEW’ topic link on the latest discussions section on the front page I get a gap between the footer and the new post div, yet this gap is nowhere to be found on any other of the pages. Looks a bit incongruous.

    Here’s a pic of how the problem looks: http://img525.imageshack.us/img525/7683/bbpresspw3.jpg

    Any help on how to solve this little problem would be great – thanks!

    #57394
    fel64
    Member

    Yes. Put the Secondary in Main, get rid of its margin, add the CSS float property to both Secondary and Discussion – one float: right, one float: left. That will make it work.

    #57393
    bozzy
    Member

    Thanks for the help! I have a couple more questions if you wouldn’t mind… I fixed the problem with sidebar on the front page (although I can’t get it all the way to the top, any suggestions?), and I can’t seem to figure out how to fix the sidebar on the other pages (topics, forums, edit profile, etc)… I’ve looked all over the css the file and can’t figure it out…

    Thanks again for all your help!

    #57497

    In reply to: WordPress and PHPBB

    Trent Adams
    Member

    I used phpbb for about 4 years and once I created a test site of bbPress, I converted over all my forums to bbPress and continue to help support a great product. As far as I can tell, almost all the ‘bloated’ features of phpBB that people love have now become plugins for bbPress, so if you like all or most of those features, you will love bbPress.

    Trent

    #57496

    In reply to: WordPress and PHPBB

    wittmania
    Member

    I second that motion… Obviously, on a bbpress board you’re going to get the home team’s opinion that bbpress is great. But, I was a former phpbb-er and I made the switch because I was tired of all of the security holes and spam in phpbb. If you like WordPress (and are proficient enough with PHP to manage a blog), you’ll LOVE bbpress. Plus, with all of the momentum it is gaining, bbpress just keeps getting better.

    #57495

    In reply to: WordPress and PHPBB

    fel64
    Member

    WP and phpBB … you can probably bend them to your will together if your php mojo is strong indeed.

    I would recommend converting your phpBB forum to bbPress using a converter, because WP and bb go together like something awesome with something also very awesome. That’ll make your site look streamlined and funky like anything.

    #53427

    XML Parsing Error: xml declaration not at start of external entity

    Location: http://mysite/rss.php?profile=1

    Line Number 2, Column 1:<?xml version=”1.0″?><!– generator=”bbPress” –>

    This is the error I am getting when I try to load my rss feed from ie7? any idea how to fix this?

    #56892
    kennethhung
    Member

    Hey Trent!

    Don’t worry! I got it all figured out, it is because I didn’t setup a new database for bbPress (I use the same one as my WordPress)

    Indeed, I did install phpBB and runs it for a week, not only I instantly start having spam, and the interface is just too busy to look at, I love the bbPress, it is simple, elegant and so fast…

    Cool cool, you can check mine out at:

    http://www.gaszappers.com/forums/

    Griffology
    Member

    fel64, I do appreciate your help. Thank you very much. I still could not get it to work properly without throwing that error.

    I’ve moved on and will revisit the subject later as bbpress continues to evolve.

    Thanks again mate!

    fel64
    Member

    Ack, I’m sorry but the stupid easy mistake is mine. This will only work for blog posts which have a corresponding topic in bbPress, so for any blog posts you made before installing the bbPress Post plugin it won’t work. Should’ve thought about that before copying you the code. :(

    function forumreplylink() {
    //must be called from within the loop yadda yadda
    global $post;
    $rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
    $tid = felblogtotopicid( $post->ID );
    if( $tid ) {
    echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
    } else {
    comments_number('No Comments','1 comment','% comments');
    }
    }

    Replace the old forumreplylink() with this and it will either show the reply link or a link to the comments. If you only want it to show the reply link but no link to comments, just take that comments line out. :)

    #55366
    serimu
    Member

    wordpress is installed on example.com

    bbpress is installed on example.com/forum/

    bbpress .htaccess file is located on example.com/forum/ namely example.com/forum/.htaccess .

    wordpress .htaccess file is located on root, namely example.com/.htaccess.

    And I just finished the design of bbpress to match my wordpress theme. And I closed permalink options as I conclude that it is not working with Godaddy (It is working only partially which has no meaning). I am totally confused, why forum links are ok and why others are not.

    I can send config.php, and .htaccess file if somebody things that it is because of an error in those files. I can also give a link to the website.

    #55365
    Sam Bauers
    Participant

    You need to add the .htaccess file to the same directory as the bbPress install. Not the root directory, which is what I suspect you have done.

    Griffology
    Member

    OK here’s my file

    <?php
    /*
    Plugin Name: HFFIB
    Plugin URI:
    Description: Helper function for integrating bbPress into your theme.
    Version: 0
    Author: fel64
    Author URI: http://www.loinhead.net/
    */

    function felblogtotopicid( $felpostID ) {
    global $table_prefix, $wpdb;
    $posts_table = $table_prefix . "bbpress_post_posts";
    $topic_id = $wpdb->get_var("SELECT topic_id FROM '$posts_table' WHERE 'post_id' = $felpostID LIMIT 1;");
    return $topic_id;
    }

    function forumreplylink() {
    //must be called from within the loop yadda yadda
    global $post;
    if( $post ) {
    $rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
    $tid = felblogtotopicid( $post->ID );
    echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
    } else {
    echo 'ouch!';
    }
    }
    ?>

    I am running a custom theme, but it’s called in the spot as the original wordpress comments were and those worked fine. Here’s how I’m calling the function:

    <div class="details">
    <a>"><?php comments_number('No Comments','1 comment','% comments'); ?></a>
    <span class="tool">Category: <?php the_category(', '); ?></span>
    <span class="tool"><?php akst_share_link(); ?></span>
    <span class="tool"><?php forumreplylink(); ?></span>
    </div>

    Still getting the error, and no ‘ouch’ anywhere… I do have bbpress_post plugin running, is it supposed to or does this replace it? I’m thinking it has to be running, I’m just trying to elimate a stupid easy mistake I’ve made. :)

    fel64
    Member

    That’s strange, it works for me. At a guess the root of it is that $post doesn’t exist, or that $post->ID is nonexistant.

    Can you replace function forumreplylink() { ... } with:

    function forumreplylink() {
    //must be called from within the loop yadda yadda
    global $post;
    if( $post ) {
    $rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
    $tid = felblogtotopicid( $post->ID );
    echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
    } else {
    echo 'ouch!';
    }
    }

    If it outputs ouch we’ll know that a missing global $post is indeed the problem. You are using it inside The Loop, aren’t you?

    Griffology
    Member

    Thanks for the help, but my error is now:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIMIT 1’ at line 1]

    SELECT topic_id FROM wp_bbpress_post_posts WHERE post_id = LIMIT 1;

    after the error it adds the reply function but with an empty id: IE: “http://www.website.com/topic.php?id=

    fel64
    Member

    That’s very simple; go to wp-admin > Options > Discussion and set it so comments are off. You can also modify your template by deleting all the code for comments.

    To get the ‘discuss in forums’ link, simply open your template file, and replace the <?php comments_popup_link('&nbsp;make a comment', '1 comment', '% comments','','comments off'); ?> or similar with this:

    <?php forumreplylink(); ?>

    That’ll give you what you want. Note that you’ll need to put felblogtotopicid() into a WP plugin, like so:

    <?php
    /*
    Plugin Name: HFFIB
    Plugin URI:
    Description: Helper function for integrating bbPress into your theme.
    Version: 0
    Author: fel64
    Author URI: http://www.loinhead.net/
    */

    function felblogtotopicid( $felpostID ) {
    global $table_prefix, $wpdb;
    $posts_table = $table_prefix . "bbpress_post_posts";
    $topic_id = $wpdb->get_var("SELECT topic_id FROM <code>$posts_table</code> WHERE <code>post_id</code> = $felpostID LIMIT 1;");
    return $topic_id;
    }

    function forumreplylink() {
    //must be called from within the loop yadda yadda
    global $post;
    $rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
    $tid = felblogtotopicid( $post->ID );
    echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
    }
    ?>

    If you do that, you have to take it out of the hack should you implement it.

    Griffology
    Member

    Thanks fel64. I’m looking to do away with the wordpress comments completely, just shut them off. However the bbpress post plugin posts the “discus in forms(0)” link at the end of the post. I have a bar at the bottom of each post and would like to format it in there. I’ve opened bbpress_post.php and saw the output of the post gets thrown into 1 variable. I would like to call a function in my wordpress php files, for example index.php, that calls the function from bbpress_post.php to display the “discuss in form” link.

    Hope that makes sense, but after read the thread you linked I don’t think it’s quite what i’m looking for. I’ll read it again thought as I’m tired. :)

    Thanks again.

    #57412
    Vili
    Participant

    The way I have integrated the two over at http://akirakurosawa.info/ is by editing the bbPress template so that it calls the WordPress headers instead of the bbPress ones.

    I presume that you have installed both WordPress and bbPress, and that you have integrated their user databases and installed the required plug-ins as outlined at https://bbpress.org/documentation/integration-with-wordpress/ .

    So, if you now go through the template files for your bbPress installation, you will need to replace all instances of “<?php bb_get_header(); ?>” with the WordPress command “<?php get_header(); ?>”. The same thing goes for the footers, so you change all instances of “<?php bb_get_footer(); ?>” to “<?php get_footer(); ?>”.

    However, in order to get that to work properly, I have also edited my WordPress template so that the (WordPress) header and footer files contain everything except for the actual content that is going to be shown on the page. In other words, all the “container” DIV-elements and such are opened in the header and closed in the footer. While this is perhaps not absolutely necessary, it makes your life easier.

    Finally, I use a boolean check in the WordPress header to see whether I am serving a bbPress page, and modify the header information accordingly. While I currently set the boolean myself by including

    <?php global $forumpage;
    $forumpage = TRUE; ?>

    at the very beginning of each relevant bbPress template page (i.e. those pages that call the header files), fel64 has pointed out that one could simply use a variable that bbPress uses anyway, for example $bbdb.

    I use these checks to modify the title:

    <?php if ($forumpage == TRUE) {
    bb_title();
    echo " :.: AKN&amp;I";
    } else ...

    to add the forum feed:

    <?php if ($forumpage == TRUE) bb_feed_head(); ?>

    as well as do some other things (disable Ultimate Tag Warrior’s meta tags for the page, etc.).

    So, it takes a little bit of playing around with your templates, but in the end it is doable without any actual hackery.

    fel64
    Member

    There are a few things you can do. This WP plugin will, using also the bbPress Post plugin, show replies from the appropriate thread in your forum under your newspost, plus links to the thread to reply to it. You can also transfer existing comments; you need to be careful to only do it once, but that can also be found in that thread. It hasn’t yet been successfully made so that you can reply to the forum from the wordpress part of the site, as far as I know, but I’m sure it’s possible and will be done.

    So it’s perhaps 2/3rds of the way there. :)

Viewing 25 results - 61,401 through 61,425 (of 64,414 total)
Skip to toolbar