Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 52,701 through 52,725 (of 64,401 total)
  • Author
    Search Results
  • #72401

    In reply to: link back to blog

    cldnails
    Member

    I use CARP RSS to insert the latest posts from my blog within my bbPress forum. Also, as mentioned, make sure you are editing the header file from within the specific theme you are using. It’s not one header file fits all.

    #72450
    cldnails
    Member

    First off, holy cow $1 per post!

    Second, https://bbpress.org/plugins/topic/show-top-posters/ is probably a plugin that will help alleviate some of your worries.

    #72437

    Hi Ashfame,

    First: i feel your pain in integrating WP2.7.1 and 0.9, i’m sure alot of us do – that said though, it’s definitely possible.

    Second: it’s definitely possible to achieve site wide login using either _ck_ or Ann’s plugins. Without a doubt using _ck_’s is far easier, as Ann’s comes with no documentation and there are steps required that no-one’s written out. It took me about an hour of searching and playing with Ann’s to get it to work, but once it did, it worked brilliantly.

    Basically follow the steps given on the 3rd page of the integration forum posts (hey dont expect documentation for something a sought after as this to be on an actual page – like the integration one – or even at the start of a post so it’s easily found). Then add in

    define(‘COOKIEPATH’, ‘/’ );

    define(‘SITECOOKIEPATH’, ‘/’);

    define(‘COOKIE_DOMAIN’, ”);

    to both the WP and BB configs. Obviously you can change the values.

    The other thing that really helped me, after alot of trial and error, was to set up WordPress first. Activate Ann’s plugin. It then automatically boots you our of the WP admin area. you have to go to/wp-login.php?action=logout and then entirely clear your cache and cookies.

    Then re-log in. The cookie WP sets will now be recognisable.

    Install BB AFTER this step to make life alot easier; as bbpress will recognise the admin cookie right form the word go :)

    Third: Ann’s method overwrites the ‘new’ wordpress cookie method, so the theory is that it’s future proof. at least throughout this WP2.7 branch. The bad news is, according to an automattic post i read yesterday, that the OpenID integration in WP2.8 may require a rewrite of all authentication in WordPress. If this happens then there is a good chance that all authentication in Automattic systems will have tot change, there’s just no way of future proofing against a company wide re-write. But if that doesn’t happen, then Ann’s plugin should work for a long time.

    Fourth: A the risk of reading form the _ck_ bible, there’s very little reason across the board to upgrade from WP2.5.1 to WP2.7.1 . There are no known security issues in 2.5.1. I’ve yet to come across a WP plugin that doesn’t work for 2.5.1, it’s a damn site easier to use, and it’s faster and more lightweight. Obviously, you may have different requirements that we don’t know about, but I would look long and hard at not using 2.7.1 if i were you.

    Good luck, Kev

    #72425
    cloudhopper
    Member

    The 101 referred to doesn’t cater for the fact that the names for the various keys seems to have changed.

    The route I followed (using the “freshly baked cookies” plugin, and using 0.9.0.4) calls for a “secret key”, but the latest version of wordpress doesn’t refer to such a beast. I opted for the AUTH key, guys, figuring that if it was wrong, the bbPress install would let me know. It worked.

    Perhaps a minor tweak to the 101 would help in this respect?

    As it happens, I went on to experience “fatal errors” when I tried to activate said plugin, so I clearly haven’t finished with the integration efforts myself! :o)

    #4998

    I tried integrating them but messed up a lot. So trying a different approach what I want to achieve in my project.

    I need WP as CMS, bbPress as forum script and custom php code which will create a member’s area. I want site-wide login sync.

    Tried _ck_’s plugin but can’t make it to working even after using 0.0.3 version and I dont want to use Ann’s method of downgrading cookie of what WP 2.7.1 uses. Just because this project won’t be under me for long, so will opt a method which is more future proof. So I am thinking of directing all the login requests of WP & bbPress to my custom login page which will be the only means of login & logout on the site. I want to use plugins for both WP & bbPress so as to maintain future compatibility. I can always update those custom codes or can i have a plugin for that too.

    I may be running wild here but it seems quite easily feasible too.

    Waiting for your suggestions!

    #72418

    In reply to: There are no 404’s

    chrishajer
    Participant

    My guess is that there is something in the WordPress .htaccess file that is causing it to mess with what should be a forum 404 error. I don’t know enough about subdomains and bbPress integrated with WordPress, but that’s my guess. Something in the WordPress .htaccess file is rewriting your bbPress 404. Possibly? Is there a .htaccess file for bbPress? I would guess not, since you’re not using permalinks for the forum.

    I suspect it has something to do with the subdomain, but that’s just a SWAG.

    #4997

    I would like to a experiment with bbPress for building a community powered helpdesk. Was wondering if bbPress supports integration with CA’s siteminder for Single Sign On?

    Thanks

    Saqib

    #72409
    Txanny
    Member

    I tested both.

    1.0-alpha integrates better but is more unstable and there are lots of errors. I would no use it on a live site.

    0.9.0.4 is much stable, and runs fine. I used this plugin https://bbpress.org/plugins/topic/freshly-baked-cookies/ and then forced always to login/logout from WordPress. That works perfect. Login/out from bbPress does not run correctly in this situation, so I preferred to force to login/logout from wordpress.

    In my case I was talking for a project 6-9 months vista, to be finished later this year. This makes things a bit different as I hope then bbPress 1.0 will be more mature.

    Also consider that you always can upgrade from 0.9 to 1.0… but you can NOT to downgrade from 1.0 to 0.9. So, perhaps I would start from the stable version.

    Regards,

    Txanny.

    #72424
    #72408

    @ _ck_

    I am also going to use bbPress alpha for a live site. I don’t want to use any plugins. Just what bbPress is offering at the moment is required (more functionality is not a pain though). Should I go for it as I have tested with WP 2.7 for login syncs (partly – the way i want with my custom user panels). Would like to know your opinion. Thanks!

    #72394
    Sam Bauers
    Participant
    #72248
    chrishajer
    Participant

    Also, bbPress does not modify the wp-config.php. Maybe you added a line there, but bbPress doesn’t touch that file.

    #72247
    chrishajer
    Participant

    Be sure to delete all the bb_ tables. The only WordPress tables that were modified by bbPress should be the wp_usermeta and wp_users tables. If you changed the table prefix for the bbPress installation, be sure you delete the correct tables.

    Also, it makes sense to backup the whole database before doing any of this, just in case.

    #72246
    psheld
    Member

    I think I’m going to have delete my WordPress instance now and reinstall. :-(

    Thanks Chris for your help, but bbPress has really messed things up. I used the installation process to set the config files, so it’s not entirely clear what I need to do. I have cleaned up the wp-config.php file back to how I think it should have been, but still no go.

    I think changes may have been made to the db tables for which I’m not sufficiently skilled to reverse.

    So that’s that. Thanks again for you help though.

    #72422
    chrishajer
    Participant

    You don’t need a separate database, and it’s easier to integrate with WordPress if you install bbPress in the same database as WordPress.

    What version of bbPress are you installing? Sounds like an older one that doesn’t integrate well with WordPress 2.7.1. In the bbPress installation of the alpha, which does integrate with WordPress 2.7.1, there are pretty clear instructions beneath each box on where to find the keys.

    #72407
    _ck_
    Participant

    No do not start with 1.0 unless you plan to not use any plugins.

    You can always upgrade from 0.9 to 1.0

    You can *never* downgrade from 1.0 to 0.9 because of the dramatic db changes involving tags and meta.

    Even if you are “only using part of bbPress” (not sure what that means) 1.0a6 is about to do a semi-radical change with 1.0a7 involving permalinks.

    bbPress 0.9 templates will (mostly) work with 1.0 but not visa versa.

    1.0 is about 150% the code size than 0.9 for the same functionality.

    I could go on but the point is that 1.0 is changing and unstable by nature. It should not even be called alpha but pre-alpha.

    #72370
    chrishajer
    Participant
    #72406
    Txanny
    Member

    Thanks all for your responses and comments. After evaluating it, I agree with chrisjager and I think the 1.0 alpha is the best option. Mostly because probably I will use only a part of bbpress in this project, and not the entire program. Of course it will be a GPL licensed project.

    ganzua
    Member

    This other nice trick by you doesn’t work either from the wp comments template;

    global $wpdb;
    $result=$wpdb->get_var("SELECT COUNT(*) FROM bb_posts WHERE poster_id = $user_id AND post_status = 0");
    echo $result;

    No errors though. I tried replacing poster_id with wp comment_author_id but it didn’t make it.

    What I was trying to do is to put the the whole count of wp comments and bbpress posts all together.

    The previous question was because I produced a hit counter that runs for both; wp and bbpress. I added the total hits of the bbpress post views plugin to the wp counterize plugin. It works but I think I did this by the hard way.

    #71820

    It looks like it can’t see your database (table’s not existing and all that), which is why I asked about the permissions and user id etc etc. Check table name, SQL ID access, etc. bbPress isn’t seeing your shared DB, which is why nothing’s getting written.

    Past that, I’m not sure why it couldn’t write. Typos and permissions are the top causes for that.

    #4995
    _ck_
    Participant

    HttpOnly cookies are a security advancement that is finally supported now by all major browsers (Firefox eventually got it right in 3.1, while IE 7 still has a bug but it generally works).

    HttpOnly means a cookie cannot be read by javascript in the browser, only by the server (via PHP, etc.) This practically stops XSS exploits and makes it much harder if not impossible in most cases.

    HttpOnly may “save your bacon” when a plugin has a security hole (like Private Messaging and bb-Reputation 0.0.5) and prevent a malicious script from forwarding your keymaster cookie to someone else via a XSS script.

    I manged to get them to include HttpOnly in WordPress 2.7 and bbPress 1.0 but it’s still not in older WordPress or bbPress 0.9 because they worried about backward compatibility with some WordPress plugins that try to directly read the cookie (bad technique) instead of using server-side helpers.

    However there are NO bbPress plugins that direct read the auth cookie and very few WordPress plugins still do this. I am not 100% positive how it will affect ajax but it shouldn’t because it’s still authorized on the server-side via PHP.

    So if you’d like to try out HttpOnly on your bbPress 0.9, here’s how, it’s as simple as a mini-plugin. Note that if you are already using a cookie replacement plugin like my “Freshly Baked Cookies” or “Year Long Cookies” you will need to edit them instead of using the following (you can only use one cookie replacement plugin at a time).

    I’d appreciate any feedback or experiences with this, especially if it causes problems:

    Save this as _HttpOnly.php and upload into your my-plugins/ directory:

    <?php
    /*
    Plugin Name: HttpOnly Auth Cookie
    */

    function wp_set_auth_cookie($user_id, $remember = false) {
    global $bb;

    if ( $remember ) {
    $expiration = $expire = time() + 1209600;
    } else {
    $expiration = time() + 172800;
    $expire = 0;
    }

    $cookie = wp_generate_auth_cookie($user_id, $expiration);
    do_action('set_auth_cookie', $cookie, $expire);

    setcookie($bb->authcookie, $cookie, $expire, $bb->cookiepath, $bb->cookiedomain. '; HttpOnly' );
    if ( $bb->cookiepath != $bb->sitecookiepath )
    setcookie($bb->authcookie, $cookie, $expire, $bb->sitecookiepath, $bb->cookiedomain. '; HttpOnly' );
    }
    ?>

    To prove it’s working, you CANNOT use the Firefox webdeveloper plugin because that looks at the cookie in Firefox’s chrome, not at the user level. What you have to do is

    1. prove you can see your bbpress/wordpress cookie by typing or copying this to your browser address bar javascript:alert(document.cookie);

    2. install the plugin

    3. log out and then log in

    4. again type or copy this to your browser address bar javascript:alert(document.cookie);

    5. if it’s working, you should NOT see your wordpress/bbpress cookie in the alert

    Currently the only plugin I am aware of that tries to read the cookie directly in WordPress is the WP-UserOnline plugin from GamerZ, and he may have even fixed that by now in the newest versions. However there may be others, so test your setup.

    #57287

    In reply to: LaTex support

    I’ve had a go at adapting one of the WordPress plugins (easy LaTeX) for bbPress. It works for me, but there are probably a few things a little too specific to my set-up for it to be released “in the wild” – for example, I’m using both WordPress and bbPress so there’s a little cross-over information which wouldn’t be available on a bbPress-only site (putting in some options for that would probably be a good idea).

    However, it might be suitable for beta-testing. I’ve put a copy here if anyone’s interested in taking a look and tweaking it.

    A few details:

        It uses a public server so no need for LaTeX to be installed locally.

        It uses a cache (needs to be writable by the server) to save on server load.

        It has a two-step parsing (not in the original) since forum posts are saved in their original format. This makes it more robust since the plugin allows for changing the tags that surround the mathematics. The saved format uses <math> tags which has the added advantage of avoiding markdown processing.

        Due to being a rather limited programmer, I ended up copying stuff from other plugins to get it to work without really understanding what I was doing (particularly with add_filter and the like) so if some kind soul wishes to take pity on me and clean up my code I’d be very grateful.

    #4992

    Hi everyone

    We are a web development agency from Belgium that’s working on a bbPress project, we are moving a big forum (1.5 million posts) from phpBB to bbPress. The only phpBB converter I found out there is quite outdated, so we need someone to write a new one. When the project is done we will make the converter free and open-source, so that everyone can use it.

    Please email your portfolio and/or cv to andreas at madewithlove dot be if you are interested in doing this job.

    Disclaimer:

    We had contact with someone of this forum but since a couple of weeks he does not (or at least very slow) respond on our emails. If that person is reading this post, please get back in touch with us, we still want to work with you!

    #72347

    In reply to: Do I Need a Server?

    chrishajer
    Participant

    Sounds like you need to find someone local to walk you through it. You need a server environment to run the software. It’s not an executable you run on your desktop. You need a web server, a MySQL database and PHP. Those things can be installed on your desktop, or, with your domain, you can find a cheap/good web host to host this site, and you can install the software there. It will work either way. On your desktop, you don’t have to pay for a hosting account. If you have a domain though, why *not* get a host?

    You can do this all on your desktop without paying for a server or hosting account at all, so long as you install server software on your desktop. https://bbpress.org/forums/topic/do-i-need-a-server#post-24581

    #72413

    In reply to: Plugin @ ForumMatrix

    johnhiler
    Member

    I actually have a WYSIWYG editor (TinyMCE) working in bbPress… but haven’t released it since I don’t know if we can re-distribute TinyMCE’s software. But it’s really easy to do…

Viewing 25 results - 52,701 through 52,725 (of 64,401 total)
Skip to toolbar