Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 51,526 through 51,550 (of 64,431 total)
  • Author
    Search Results
  • arandomdan
    Member

    I’m running WP 2.7.1 and bbPress Version 1.0-rc-1 on localhost. WP has been installed to /3dd/ and I installed bbPress to /3dd/bbpress/ today and have done all the proper steps for syncing in the bbPress admin.

    I have added the following code to bb-config.php:

    require(BB_PATH . '../wp-blog-header.php');<br />
    define('WP_AUTH_COOKIE_VERSION', 1);<br />
    $bb->bb_xmlrpc_allow_user_switching = true;

    I can login to both WP and bbPress with my WP user account (yay!), but <b>the problem is that WP doesn’t know when I logged in to bbPress and vice versa</b> (i.e. when I am logged into WP, bbPress still shows the login form). In addition, <b>when I login to bbPress, WP logs me out; and when I login to WP, I am no longer logged in on bbPress</b>. I have cleared my cookies many times and tried it in both IE and Firefox, same result.

    Together, WP and bbPress create the following cookies (aside from the wp-settings and test cookies):

    Domain                  Cookie name<br />
    /3dd/ wordpress_logged_in_*<br />
    /3dd/wp-admin wordpress_*<br />
    /3dd/wp-content/plugins wordpress_*<br />
    /3dd/bbpress/bb-admin wordpress_*<br />
    /3dd/bbpress/bb-plugins wordpress_*<br />
    /3dd/bbpress/my-plugins wordpress_*<br />
    /3dd wordpress_logged_in_*<br />

    I believe the last 4 are created by bbPress and it should be noted that there is no trailing slash on the wordpress_logged_in_* cookie path.

    Does anyone know what the problem might be?

    #74107

    In reply to: Moderate User Register

    johnhiler
    Member
    #14895
    Greg
    Participant

    I have searched (and searched) to no avail for a solution to this seemingly trivial issue. I may be missing something simple.

    What I want to do is log out from an integrated bbPress (RC1) and WPMU (2.7.1 with BP 1.0) installation from within bbPress. The BuddyPress.org forum appears to do exactly this.

    What is stopping me is that I can’t generate the WPMU nonce value in order to assemble the logout URL, that is, I need the NONCEVALUE for…

    http://mysite.com/wp-login.php?action=logout&redirect_to=http://mysite.com&_wpnonce=NONCEVALUE

    (bb_create_nonce() generates a different value, as one would expect)

    So I have two questions:

    1. Is there any way to do this *without* deep integration?

    2. If not, how do I achieve this *with* deep integration?

    Any help much appreciated. I’m tearing my hair out on this one.

    #74030
    johnhiler
    Member

    Trying to grok the vision here… bbPress would have a top-down certification model, where someone would audit the code of all plugins and do testing to certify that the plugins work in various bbPress versions?

    #74029
    michael3185
    Member

    Aha. Then Go sambauers, Go sambauers, Go sambauers – YAY! (Pretty girls doing athletic stuff here. Well, it can’t hurt, can it?)

    If Sam’s the man, then listen up Sam. Standards for plugins are essential. Really. Essential. Yep, really essential. Can’t say it enough. I’ll say it again: If bbPress and associated systems want to be taken seriously in the working world, then standards for plugin development are absolutely essential. Really, absolutely, and any other words that mean really and absolutely.

    Leave the rest of the ‘bb developers’ behind. Simply calling plugins ‘bbPress Certified’ will make the world assume that those behind bbPress are an authority who have the power to authorise things. M$ did it, and millions of people believe in them. Do it Sam, and you’ll quickly become an authority. People will believe in you, and plugin coders will soon learn to adhere to your standards. In fact, they’ll have to. Those who produce cool ideas but crap code, or cool code but no admin settings so users have to hack (and can’t or don’t want to), will become a thing of the past.

    Those of us who aren’t programmers will be able to download and use certified plugins that do what bbPress core does: just click and go. Think of the kudos. Think of the subscriptions. Think of the write-ups in The Times, etc. bbPress: click, go.

    daniellaf
    Member

    [UPDATE] I fixed my problem by uninstalling my bbpress and rolling back my wp database to an earlier version and then just installing again. Install works fine now. I think where I went wrong was changing the bb_ prefix to wp_ and not including define(‘WP_AUTH_COOKIE_VERSION’, 1); in bbconfig!

    #74028
    johnhiler
    Member

    @Michael3185 – sambauers (see above) is one of the main authors of bbPress.

    I’m sure there will be a lot of optimization as 1.0 gets closer to release…

    johnhiler
    Member
    #74027
    michael3185
    Member

    Holy cow. You know what I said about plugin programmers maybe not knowing what they’re doing..? Re-reading, I do wonder…

    If all this inefficiency is real, then who’s writing the core code, and are they truly competent..? I would hope that those who construct a system like bbPress have some professional training behind them. If not, then perhaps we’re back into school kid land…

    johnhiler
    Member

    Ah we’ve had people report the “39 year” problem before in other contexts:

    https://bbpress.org/forums/topic/1970-issue

    That time, it was resolved by changing something in the template… maybe it’s something similar?

    ps If not, is this the plugin you’re to display Last Activity and Total Time Online? Any clues on how you’ve configured it would be helpful in digging into the issue!

    https://bbpress.org/plugins/topic/members-online/

    #73502
    Tynan Beatty
    Member

    Yesterday I updated a public site with a relatively inactive and fresh bbP forum from WP2.7.x and bbP1.0alpha-6 with the bbPress Integration 1.0-alpha-4.1 plugin…

    to WP2.8-beta2-11509 and bbP1.0-rc-1 with the bbPress Integration 1.0-rc-2 plugin.

    I haven’t done extensive testing, but the integration worked flawlessly before the upgrade (following Sam’s video tutorial sticky to the letter), and seems to work almost as well now.

    The one scenario I’ve found where it doesn’t work is users logging in from bbP cannot logout from WP. All other bbP/WP login/logout combinations seem to behave as expected; however the only way I could get this to happen was to not add the wp-config.php changes suggested by the bbPress Integration plugin. When I did add those changes it broke at least WP login entirely.

    I did a little bit of testing with different combinations of the definitions the bbPress Integration plugin suggests, and the details can be found in this post.

    peace~

    #73990
    Tynan Beatty
    Member

    I just upgraded a public site from the latest WP2.7.x to the latest WP2.8-beta2 and decided to upgrade the site’s bbP1.0alpha6 and the bbP Integration plugin that was made for that version (all working as expected).

    I was having similar problems with wp2.8-beta2-11509 and bbp1.0-rc-1, using the bbPress Integration 1.0-rc-2 plugin. I found that adding it’s suggested changes to my wp-config.php was causing the problems. I also removed the integration speedups suggested from the bbP admin ‘WordPress Integration’ settings. Now I haven’t tested registration from the bbPress end, but everything else seems to work back and forth. Here’s what I have near the bottom of wp-config.php with everything working:

    define('WPLANG', '');
    define('COOKIEPATH', '/');

    /* That's all, stop editing! Happy blogging. */

    Where the '/' might be a '/subfolder/'

    And here is the bottom of bb-config.php:

    define('BB_LANG', '');
    ?>

    The only thing I’ve found not working thus far is users logging in from the bbP side cannot log out from the WP side. Everything else seems integrated for logins/logouts (login/out from WP, login from WP/out from bbP, login/out from bbP).

    This is a minor issue compared to not being able to login to WP at all when using the suggested bbP integration changes to wp-config. I also have all 4 random keys matching between configs, including the nonces (which I don’t think were mentioned in the integration video post, but I don’t remember now). I hope there’s a fix for the login from bbP/logout from WP in the next release of the Integration Plugin, and I also hope that the issue doesn’t affect registration from bbP (since it seems to be related to the plugin). Great work on this so far Sam :)

    On a side note, further testing suggested that it was the ‘SITECOOKIEPATH’ definition causing the inability to login from WP, and the ‘COOKIEHASH’ definition seems to allow WP login, but break the integration.

    peace~

    PWRSHOT.com

    Started this site for users of Canon Powershot cameras to share information, photos, tips, etc. Running bbPress 9.0.4 with Kakumei Blue theme and a number of plugins. Feel free to join if you’d like!

    #57821
    citizenkeith
    Participant

    It seems to be just the one member, who has a 3-letter handle.

    I uploaded the screenshots here:

    http://seorf.ohiou.edu/~ad180/screenshot-misty01.jpg

    http://seorf.ohiou.edu/~ad180/screenshot-misty02.jpg

    llui
    Member

    All users have the following displayed for Last Activity: “39 years, 5 months ago”

    It appears that any user who has posted to the forum displays Total Time Online with: “-345569 hours, 7 minutes”

    Running bbPress: 0.9.0.4

    Everything else on the forum appears to be fine. What caused this? Suggestions on how I can fix these dates/data without messing up the forum?

    Thanks!

    #57820

    Imageshack isn’t loading for me… Is it just that one member? Do they have an abnormally long handle?

    #57819

    Imageshack isn’t loading for me… Is it just that one member? Do they have an abnormally long handle?

    #74068
    eraticdance
    Member

    The problem with not being able to log into sub-domains was fixed when I changed SITECOOKIEPATH from ‘/wp-admin’ (as recommended by bbPressIntegration 1.0-rc-2) to ‘/’. An additional cookie, wordpress_XXXXX was created and now I can log into the sub-domains as admin. fyi.

    #74026
    timskii
    Member

    The memcached information is useful to know. And based on what I’ve found below, will logically make an absolutely huge difference. Closer to “requires memcached” on a busy forum.

    You see, I’ve done some more tests. And BBPress seems to do a lot of simple queries to check information that generally doesn’t change.

    I’ve hooked up _ck_’s excellent BB-Benchmark, and started looking for patterns. I assume this picks up everything in 1.0.

    As a general rule, page rendering (after queries) is very slightly slower with 1.0. That can probably be explained simply by twice the volume (in bytes) of files typically being executed from 0.9.4 to 1.0. Only about 10ms difference. So, not an issue.

    The crux of the problem is the volume of queries. The fastest query execution is 1ms – measured, it seems, to within 0.1ms – although I’m unsure of that accuracy. This may be due to the way the database is hosted – mySQL is on a separate machine, which is logically going to impose a delay in getting results back.

    1.0’s slowest query is faster than 0.9.4. But 1.0 executes vastly more queries: It’s almost inevitable that 40 queries will takes longer to execute than 10 queries, because there is such a significant overhead associated with “running a query”, regardless of its complexity.

    Here are examples of what I found:

    On the front page, forum views, and tag views, many pairs of queries are being run that look like:

    SELECT * FROM wp_users WHERE ID = ‘n’

    SELECT meta_key, meta_value FROM wp_usermeta WHERE user_id = ‘n’ /* WP_Users::append_meta */

    My first thought was that my templates or plugins were broken. But disabling everything, and switching to the default theme, still causes all these pairs of queries to be executed.

    The only reason I can see for the first query is to extract the display name for each of the last post authors. I can’t see any requirement for the second query, unless you were trying to augment the name with some extra information, like a title.

    The topic table contains a last poster field, but it cannot contain the display name, presumably because the display name can be changed on a whim, while the old username was unchanging. If you have a lot of active posters (rather than a handful), a 20-post-per-page view could easily require 40 individual queries, just to check a piece of information that probably has not changed.

    Now, we can argue that there should be some element of caching of the display name in the topics table. I wouldn’t have a problem with, for example, always seeing the name the user displayed when they posted, rather than the name they are currently using. But there’s also a compromise position, where the last poster name is only checked against wp_users at intervals.

    Profile views repeat this a lot:

    SELECT meta_key, meta_value FROM bb_meta WHERE object_type = ‘bb_post’ AND object_id = n /* bb_append_meta */

    And I’m only displaying recent replies.

    Turning to a topic page. I’ve looked at the first 20 posts in a 260+ post-long topic. A real mix of users, some who have added a lot of custom data (I allow quite a lot to be added, which is stored in wp_usermeta). This is painful: 30ms total query time on 0.9.4, 120ms on 1.0. 14 queries plays 79 queries.

    Again, the key weakness is duplication of ostensibly similar queries. Line after line of:

    SELECT meta_key, meta_value FROM bb_meta WHERE object_type = ‘bb_post’ AND object_id = n /* bb_append_meta */

    or

    SELECT * FROM wp_users WHERE ID = ‘n’

    or

    SELECT post_id FROM bb_posts WHERE topic_id = n AND post_status = 0 ORDER BY post_id ASC LIMIT 1

    In contrast, 0.9.4 manages to decide all the IDs it needs, throws them all into one query, and presumably lets the PHP split out the results. The wp_usermeta data continues to be pulled out in such a manner:

    SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (n,n,n,n…) /* WP_Users::append_meta */

    In 3ms. Bargain.

    Keep in mind, you won’t see this pattern if your forum contains 20 posts by you. You must have the variety of posters, that tends to only be found on larger forums.

    My gut feeling is that some of the loops aren’t terribly well optimized. Or not well optimized for remote databases. Or not well optimized for operation without a secondary cache. Something’s instinctively not right.

    #74067
    eraticdance
    Member

    Does anyone know what cookies should be generated when you’re logged in as admin and using user integration?

    In the video tutorial on bbpress integration, there were 3 bb- type keys, but I don’t see any. all I see are the wordpress_test_cookie and the wordpress_logged_in_xxxxxx cookies. Has the cookie handling been changed for WPMU? If someone could point me to any documentation on this I’d appreciate it.

    #73762
    Arturo
    Participant

    if you use poedit it generate automatically .mo when you save the .po

    i use it to translate bbpress, wpmu and buddypress ;)

    #57818
    citizenkeith
    Participant

    I’m having a CSS problem with this theme.

    One member’s posts are always running on top of the post below his.

    Here are the screenshots:

    http://img268.imageshack.us/img268/966/screenshotmisty01.jpg

    http://img268.imageshack.us/img268/8995/screenshotmisty02.jpg

    This is stumping me… any ideas?

    #74090
    chrishajer
    Participant

    Really, it’s not that big a deal. It’s your forum, you can do what you want with it. Train your members now so you have less to worry about in the future.

    I would just post a message after their post and tell them to post their reply in the correct place. After that, delete the errant posts, including yours. I don’t think it’s a big deal.

    Regarding adding the feature to a future release, this ticket is from 3 years ago:

    https://trac.bbpress.org/ticket/584

    #73761
    kpapadimakis
    Member

    Hi,

    I just found this post and I would like to participate in the translation of bbPress ..

    If someone already started any translation and reads this .. well, reply to this so we can talk.

    Kostas

    #73994
    Arturo
    Participant

    chris i can’t find my ticket in trac… but is the “same” text in this 3d.

    hey JohnJJ, i use bbpress 0.9.0.4 with mu+bp and with the latest trunk i’ve problem with deep-integration and buddybar you remember? but with 0.9.0.4 i’ve resolved this problem.

Viewing 25 results - 51,526 through 51,550 (of 64,431 total)
Skip to toolbar