Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 62,626 through 62,650 (of 64,426 total)
  • Author
    Search Results
  • #1373
    Sam Bauers
    Participant

    For those interested in adding forum categories to their brand new bbPress 0.8 install, there is an updated patch on the development site.

    The relevant ticket is here

    Download the last attachment “categories-build701.patch”, this is the build number for version 0.8

    To patch, simply go to your install directory:

    $ cd /path/to/installation/

    Then (on Unix, Linux and OSX) patch using patch

    $ patch -p0 < /path/to/patchfile/categories-build701.patch

    On windows you will have to use some other patching tool – but the premise is the same.

    Upgrade your database by running the upgrade script at /bb-admin/upgrade.php

    Go to the category admin area and create a category/s, then go to the forum admin area and assign your forums to your category/s.

    Done.

    #54024
    lingmiester
    Member

    Hi Ateale,

    Which script did you use cos the one i found to convert it did not work for me?

    thanks.

    #54239
    macwise
    Member

    Well, in this case I am calling the header file from wordpress on the bbpress pages. The only problem is that I have things in the bbpress header like

    bb_is_user_logged_in()

    and

    is_topic()

    which create tons of problems when I put that code in the wp header file. I was able to load wp when bbpress loads, but it seems like the opposite would also be useful, to register bbpress when wp loads. I suppose through reverse engineering, I could figure that out on my own?! Otherwise, I would like to just be able to tell the page, “Hey, are you wordpress, then load this…otherwise, don’t load it. And if your BBPress, then load this, otherwise don’t load it”.

    Currently I am also trying to specify which stylesheets to load. If it’s wp, I want the wp stylesheet, and if it’s bb, I want the bb stylesheet, and I don’t want the conflicts when both load.

    1 – Does this make sense?

    B – Is there a solution? and

    4 – Am I overlooking a more obvious solution?

    Ron

    #54238
    Trent Adams
    Member

    What kind of content are you trying to distinguish between? Theme content or actual content? With wordpress being a blog and bbPress a forum, the content itself would be different. I guess I don’t quite understand exactly what you are trying to do. Could you explain to me like I am 5 years old (my wife says I act that old anyways ;)

    Trent

    #1371
    macwise
    Member

    Ok, I am trying to serve up content based on whether a user is on the WP side of my site, or on the BB side. Trent, you helped me with this earlier, but you helped me find a much more common sense solution to the problem in that situation.

    Here’s what I’m wondering: Is there any way to say “if bbpress” then do this, or “if wordpress” then do this? I can’t seem to find the code I need to tell wordpress AND bbpress to both understand and accept this discrimination. Thanks

    Ron

    #54236

    Try this out – let me know how it goes.

    https://bbpress.org/plugins/topic/6

    Only the php file (and the readme) in the zip has changed since the last version (0.7.2).

    #54187
    Nate
    Member

    Yes, indeed. Thanks for all your hard work.

    #54153

    In reply to: 404 upon innstall

    Trent Adams
    Member

    I was going on memory and I guess 30 years old I lost it…..

    https://bbpress.org/documentation/faq/#pretty-permalinks

    Trent

    #1370
    Geezerjim
    Participant

    I’m having a problem with the plugin bb-ratings using 0.8

    I think the problem is here:

    <img src="<?php bb_option( 'uri' ); echo BBPLUGINDIR; ?>/star.gif" />

    From the source code:

    <img src="http://www.brightandearlyblog.com/bbPress//home/brightan/public_html/bbPress/my-plugins//star.gif" />

    #54149

    In reply to: 404 upon innstall

    Scoop0901
    Member

    I have a similar problem, but mine is at http://www.scoop0901.net/Sleep/Forum/.

    If you visit that URL, you will get to the main page. Create a user account, then click VIEW PROFILE. It takes you to a 404 page. The same thing happens if you try to view tags (http://scoop0901.net/Sleep/Forum/tags/bbpress) or anything else.

    #54226

    Since the plugin I put up here: https://bbpress.org/forums/topic/694?replies=13#post-4202

    doesn’t make any reference to front-page.php, I do not know why you are getting that error.

    Are you sure you were runnig the version I put up? Do you have multiple versions of the same plugin running?

    #54224
    Trent Adams
    Member

    I am sure Micheal can fix this quickly, but maybe try this until he gets around to it:

    <?php
    /*
    Plugin Name: Force Login
    Description: No one can see your forums unless they are logged in.
    Plugin URI: https://bbpress.org/forums/topic/117
    Author: Michael D Adams
    Author URI: http://blogwaffe.com/
    Version: 0.7
    */
    function force_login_init() {
    if ( !bb_is_user_logged_in() && false === strpos($_SERVER['REQUEST_URI'], 'bb-login.php') ) {
    if ( file_exists( BBPATH . 'my-templates/login.php' ) ) {
    require( BBPATH . 'my-templates/kakumei/front-page.php' );
    } else {
    require( BBPATH . 'bb-templates/kakumei/front-page.php' );
    }
    exit;
    }
    }
    add_action( 'bb_init', 'force_login_init' );
    ?>

    I just hardcoded the new template directory. Not a long term fix. mdawaffe will have a fix soon enough!

    Trent

    #54221
    zapata
    Member

    It’s the default theme… all righty mdawaffe is here… thanks… I’ll update this and let you guys know…

    Will the bbPress-WP Integration be working?

    #54186
    Sam Bauers
    Participant

    Congratulations, a real flurry of fixes up to release, well done.

    #54220

    Hey, that’s me! :)

    Try this:

    <?php
    /*
    Plugin Name: Force Login
    Description: No one can see your forums unless they are logged in.
    Plugin URI: https://bbpress.org/forums/topic/694
    Author: Michael D Adams
    Author URI: http://blogwaffe.com/
    Version: 0.7
    */

    function force_login_init() {
    if ( !bb_is_user_logged_in() && false === strpos($_SERVER['REQUEST_URI'], 'bb-login.php') && false === strpos($_SERVER['REQUEST_URI'], 'bb-reset-password.php') ) {
    bb_load_template( 'login.php' );
    exit;
    }
    }

    add_action( 'bb_init', 'force_login_init' );

    ?>

    #54231

    In reply to: User Type problem

    Trent Adams
    Member

    You are right. You shouldn’t be able to do that, but I would imagine you were the first to ever try it! Probably wouldn’t come up much as usability issue, but maybe put up a TRAC ticket:

    https://trac.bbpress.org/

    Trent

    #1369
    pg2design
    Member

    I tried something… I changed the User Type to Blocked for the main user, the only user… And it worked… I couldn’t use bbpress anymore…

    Is this a bug? The user shouldn’t be able to disable itself… :)

    #54217
    zapata
    Member

    Trent… don’t remember where I picked it from it’s called the Force-login… did someone here give me the code and I copied and pasted it… not sure… here’s the code…

    <?php
    /*
    Plugin Name: Force Login
    Description: No one can see your forums unless they are logged in.
    Plugin URI: https://bbpress.org/forums/topic/117
    Author: Michael D Adams
    Author URI: http://blogwaffe.com/
    Version: 0.7
    */
    function force_login_init() {
    if ( !bb_is_user_logged_in() && false === strpos($_SERVER['REQUEST_URI'], 'bb-login.php') ) {
    if ( file_exists( BBPATH . 'my-templates/login.php' ) ) {
    require( BBPATH . 'my-templates/front-page.php' );
    } else {
    require( BBPATH . 'bb-templates/front-page.php' );
    }
    exit;
    }
    }
    add_action( 'bb_init', 'force_login_init' );
    ?>

    Haven’t checked it the bbpress-integration (bbpress-wp same users share) is working or not.

    #54216
    Trent Adams
    Member

    Hmm…if it is this one, it might be tougher for me to figure out without help!

    https://bbpress.org/plugins/topic/27?replies=1

    Trent

    #1368
    zapata
    Member

    Upgraded to the lastest bbPress and find that the display name has stopped working… was using the display-name plugin… for this

    #1367

    Or maybe you see “Theme not found. Default theme applied.” in the Presentation Admin panel.

    Your custom templates must go into a subdirectory of

    my-templates/. Like

    my-templates/my-hot-theme/

    This is new in bbPress 0.8.

    http://bbpress.org/documentation/themes/

    #54204

    Please don’t put anything in bb-templates! This will be problematic for you later.

    Put your templates in a subdirectory of my-templates/ :)

    Check out https://bbpress.org/documentation/themes/

    #54176
    #1364
    #54139

    In reply to: Unique Style Sheet?

    macwise
    Member

    “Maybe a few release templates for bbPress then “

    is that a question, (or rather a request)?

Viewing 25 results - 62,626 through 62,650 (of 64,426 total)
Skip to toolbar