Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,476 through 54,500 (of 64,487 total)
  • Author
    Search Results
  • #70060
    Sam Bauers
    Participant
    #69988
    Sam Bauers
    Participant

    $_SERVER['REQUEST_URI'] can be dodgy, _ck_’s code cleanup is probably a little safer.

    #70011

    In reply to: bbPress Admin

    Sam Bauers
    Participant

    I’ve started to think that when I get the time I might move towards the 2.7 lookl, but I’d also like to take the time to consider what bbPress needs rather than just doing a straight copy of the exact UI experience.

    What gets done in the admin area of bbPress is mostly listing stuff, so it might be more appropriate to focus on really good search and filtering in the admin area rather than menu hierarchies.

    Mockups are welcome if you want to contribute ideas. Just attach them to tickets in trac.

    #67492
    Sam Bauers
    Participant

    Even if you have integration set up perfectly, if you login from WordPress you will not get the correct cookies set to be able to access the bbPress admin area.

    Also, if you are doing what johnjamesjacoby describes above you will get a similar problem as the bbPress roles will get squashed by WordPress.

    There is a fix for both of these problems available, but it is only tested with WordPress 2.7

    #70056
    Sam Bauers
    Participant

    The problem with synced logins between WordPress and bbPress is now solved in trunk.

    Look out for a new download release in the next couple of days.

    #70028
    Sam Bauers
    Participant

    @johnjamesjacoby

    The login forms don’t pass around nonce values generally, so it should be of no concern.

    What happens as of right now is that the role map you setup in the admin area only gets applied to new registrations either when you save the changes on that role map form or when the new WordPress user who is missing the role in bbPress logins in through bbPress.

    On your site as it is right now this never occurs because you force all logins through WordPress. Just now in trunk I have changed that so that just visiting the bbPress site with a valid cookie will set your role in bbPress.

    I suspect that all the problems with loging out in your case are going to come down to having a bunch of stuff manually set in your wp-config.php and bb-config.php

    Here’s what I think you should do…

    1. Update bbPress to the latest trunk version
    2. Remove any hardcoded settings in bb-config.php and wp-config.php WRT integration
    3. Install this brand spanking new plugin (get the trunk version for the moment) http://svn.wp-plugins.org/bbpress-integration/trunk/
    4. Recheck your integration settings in bbPress – don’t hardcode anyting into bb-settings.php
    5. Configure that plugin in WordPress
    6. Copy the wp-settings.php lines specified in that plugin to wp-config.php (probably only one line for you)

    Let us know how that goes.

    #70055
    the_Wish
    Member

    Upgrade from A2 to A3 went smoothly for me.

    Login Sync still doesn’t work but it solved a delay issue for me when users hit the post/reply button until the message was actually displayed (almost 15 seconds with A2, now almost instantly).

    No probs with Plugin’s either.

    Looking good, thank you!

    #70010

    In reply to: bbPress Admin

    _ck_
    Participant

    You seriously want them to spend what little development time they have on the admin panel?

    WordPress has changed it’s panel for the last three versions.

    Wait a version it will change again. And again. And again.

    Then there will be plugins to change it back to the old version.

    Then they will break all the admin plugins again after enough authors adjust.

    Matt can’t make up his mind, first he likes top-down style and says people know how to scroll, then he changes his mind 100% and goes linear with an ugly, too narrow, center column. No attempt at supporting a fall back legacy design.

    I kinda like how the bbPress 1.0 panel looks.

    I can’t find anything quickly or easily under 2.7

    #69987
    Trent Adams
    Member

    I will be around more again now ;) Been a busy year! Thanks for the cleanup code _ck_ and I will test it tomorrow. Hi back to everyone ;)

    Trent

    #69986
    _ck_
    Participant

    Untested code cleanup (just for fun – untested)

    function force_login_init() {
    if (!bb_is_user_logged_in() && !preg_match("/(bb-login|bb-reset-password|register|xmlrpc).php/s",$_SERVER['REQUEST_URI'])) {
    nocache_headers();
    header("HTTP/1.1 302 Moved Temporarily");
    header("Status: 302 Moved Temporarily");
    bb_safe_redirect( bb_get_uri( 'bb-login.php', null, BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
    exit;
    }
    }

    Good to see you Trent, don’t be a stranger!

    #70059
    _ck_
    Participant

    There is a host that has bbPress available as an instant install script? Interesting!

    If you are sharing the users with WordPress you do NOT want a new database.

    When you install bbPress you need to use the database information from WordPress.

    #70025

    Thanks for the response and it clarifies all of my questions.

    Regarding nonces, the catch twenty-two with them would be if logging in and logging out of either/or BBP or WP don’t both affect both, or if adequate traps aren’t placed to disallow one or the other.

    Example is visible at my live test site http://www.delsolownersclub.com. If you’d like to try this, register yourself and use the invite code “bbpress”. (Registering makes you a WP contributor, and I need to assign your membership role in the BBP admin manually as of right now.)

    When you’re in the forums, the logout link won’t work, because the login through WP generates a nonce that BBP doesn’t know and can’t find. Because the nonces are by design different, if I login through WP and try to logout through BBP, WP will pitch a fit without the correct nonce. Make sense or am I off track here?

    #70024
    Sam Bauers
    Participant

    OK, this is fixed in trunk now. Just a stupid error on my part in a new function.

    I’ll see if it’s possible to re-release the 1.0-alpha-3 or maybe just bump up to 1.0-alpha-4.

    @johnjamesjacoby

    Thanks for your investigations. “Deep” integration is just there to allow you to use WP functions inside bbPress, you still need to setup cookie and user database integration separately.

    There is no way (that I know of) to get bbPress functions inside WordPress. It may “just work” now because of recent changes, but I’m definitely drawing the line there in terms of what we support. bbPress Live should mature further to provide the display of all manner of bbPress data inside WordPress via XML-RPC.

    The idea of bbPress running as a plugin is an interesting one, and I’ve thought about it before. It would be a hefty plugin though. I would be interested in seeing a plugin that kind of loaded bbPress like a library and allowed that sort of level of integration, but again, it would be basically loading all of bbPress inside WordPress. Generally, I think we have a stronger foundation as a stand-alone product rather than a plugin and if we can make integration easier by various means then there shouldn’t be a need for it.

    The nonce keys don’t need to be shared thankfully – I almost screamed when I saw those added to WordPress.

    #70080
    JesperA
    Member

    I went back to BBPress 0.9.0.3, this was a fresh installation, the problem i am having now is that i cant get into the admin panel, it only redirects to the forumpage.

    #70054

    Alpha 2 works pretty well but 3 seems a no go until Mr. Bauers finds what’s broken.

    Curious Sam if you test this on a live environment yourself, or what the process is?

    #70053

    Oh, irony. Now it’s not working (cleared my cache and purged cookies to test something else).

    #70023

    Neither alpha3 nor the trunk versions of bbPress seem to create cookies for WordPress. Basically either way fails to generate the others’ cookies.

    I might be missing the mark on this one, but is the point of deep integration to have 1 single log in, or to allow use of WP functions inside BBP?

    I think the end result we’re mostly looking for, is a unified front from any direction. BBP functions in WP, and WP functions in BBP, with 1 login and registration. Which makes me think that BBP needs to be a WP plugin more than a stand along product to serve this purpose.

    I also noticed that the bbPress install doesn’t ask for the nonce key or salt from WordPress. Possible this could be an issue also?

    #70052
    Sam Bauers
    Participant

    @Ipstenu

    The problem you note will go away if you force logins to occur in bbPress. I am going to write a plguin for WordPress which fixes the problem you currently have.

    @thenokiablog

    Sounds reasonable…. backup first!

    #70021

    Interesting… With shallow integration, logging into bbPress logs me (as user and admin) into WordPress as a user but NOT as an admin. For about 20 minutes. Then I tested Deep Integration and now it fails all together.

    #70051

    Woah. Whatever the heck changed, I now have integrated login! Minus the admin side (still have to login again to get to WP admin) but …

    We’re not worthy!

    #70050
    thenokiablog
    Member

    i currently have an installation of wordpress 2.6.5 integrated with bbpress 1.0a2. I want to update to wordpress 2.7 but I think it will break the integration.

    To my understanding, 1.0a3 will integrate with wordpress 2.7?

    Is this what I need to do?

    Step 1. Update WP from 2.6.5 to 2.7

    Step 2. Update BB from 1.0a2 to 1.0a3

    #70020

    Well, my first impression of beta 3 without including is that login integration doesn’t work at all.

    Without the “deep” integration in the bb-config.php:

    1. Logging into WordPress leaves me logged out of bbPress.
    2. Logging into bbPress leaves me logged out of WordPress.
    3. Logging out of bbPress leaves me logged into WordPress.
    4. Logging out of WordPress leaves me logged into bbPress.

    With the “deep” integration in the bb-config.php:

    1. Logging into WordPress leaves me logged out of bbPress.
    2. Logging into bbPress leaves me logged out of WordPress.
    3. Logging out of bbPress leaves me logged into both bbPress AND WordPress.
    4. Logging out of WordPress leaves me logged into bbPress.

    So, login integration worked better in beta 2 unfortunately.

    I haven’t tested the themes or functions yet however.

    #69243

    In reply to: New installation

    You’re exactly right!

    I added my host (straight from wp-config.php) and it worked…BUT…it didn’t write bb-config.php on it’s own…it gave me some error messages, but it also provided the code for me to make the bb-config.php on my own…

    I opened notepad, pasted the code, saved it as bb-config.php, and uploaded it to the bbPress directory. Seems to be working so far, but I’m not quite done with the install. I’ll let you know if it works out…

    Thanks Chris!

    #4427
    JesperA
    Member

    Hi!

    I´ve just tested out the bbPress 1.0 and i´ve got a weird problem, the topic is not showing up, i can add and delete forums but if i start a new thread in a forum it doesnt show up.

    When i post a new thread i got the message: “This topic has been closed” but the “Topics” counter adds the thread so it is created.

    The forum: http://www.speedrevision.se/forum/

    Any suggestions?

    #69908

    I tried the shortcut method, it returned an error: `bbPress database error: [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 ’01:46:48 ORDER BY topic_time DESC’ at line 1]

    SELECT count(topic_id) as position FROM tvcforum_topics WHERE forum_id=6 and topic_time<=2008-12-09 01:46:48 ORDER BY topic_time DESC`

    Regarding the last bit of code you posted – there’s actually a function already present in one of the bb-includes files that does the same thing – get_page_number().

Viewing 25 results - 54,476 through 54,500 (of 64,487 total)
Skip to toolbar