Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,201 through 9,225 (of 11,581 total)
  • Author
    Search Results
  • #14950
    Arturo
    Participant

    i’ve upgraded my trunk version with the latest rc-2 version and after this step nothing works on my forum deep-integrated with MU, when i try to post a topic a reply or update the option in admin backand i see this message or a message like this:

    Your attempt to create this topic has failed.

    Try again.

    Back to Demo Forum.

    any idea about this and how resolve? thanks.

    #74223
    johnhiler
    Member

    Cookies

    We should probably have a general writeup of how Cookies work in both WordPress and bbPress, across versions… how the WordPress cookie was changed in versions 2.5 and 2.6, and how the bbPress cookie was changed from 0.9 to 1.0 (and any other changes that you can think of!)

    Of particular note would be which versions integrate well with each other (e.g. how bbPress 0.9 doesn’t have native support to integrate with the latest WordPress versions… so for a number of months, the only way to upgrade WordPress was to upgrade to the alpha 1.0).

    Also, ck’s bbPress cookie upgrade plugin… and Superann’s WordPress cookie downgrade plugin (to allow 0.9 to talk to the latest WordPress cookies).

    Anyone enough of a Cookie guru to draft a general writeup of how cookies work, and the general cookie compatibility issues we’ve seen? I think we can do better than the WordPress Codex, which seems really vague:

    https://codex.wordpress.org/WordPress_Cookies

    Integration

    Might be worth sharing links to people who have integrated bbPress with non *Press user logins:

    https://bbpress.org/forums/topic/bbpress-integration-2

    Maybe also a writeup on “deep” *Press integration versus other more “shallow” forms of integration (shared login)… some useful links on that:

    https://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk

    Any other links on deep versus shallow integration?

    Sam Bauers
    Participant

    It’s difficult to test email on local setups sometimes. You should probably move your testing to your server as that will have a whole different setup, with it’s own unique requirements.

    #14948
    Sam Bauers
    Participant

    See the blog post.

    Lots of testing would be greatly appreciated.

    A note for anyone integrating cookies with WordPress less than version 2.8, you need to add this to your bb-config.php file…

    define('WP_AUTH_COOKIE_VERSION', 1);

    When you upgrade WordPress to 2.8 that line will have to be removed.

    #14947
    michael3185
    Member

    When you’re creating a new topic, the Tags edit field drops down a list of previously used tags if double-clicked. On one of my forums I tested the Censor plugin (which didn’t work for unknown reasons). I’d put in a couple of swear words as tags, and now they’re showing up all the time.

    I’ve searched through the DB manually with my ISP control panel, but can’t find it. Does anyone know where the list is populated from? This could turn out somewhat embarrassing if I don’t remove the offending words!

    #14945
    niravdave
    Member

    Hi,

    I have searched on the internet and here. I have been unable to find a script/code which can display latest discussions on my homepage which is not wordpress a wordpress site.

    help much appreciated.

    dave

    #14941
    swaymedia
    Member

    Is there a way of remembering the last visited categories?

    For example if I clicked on my music category to display all the latest music topics, and then i leave the entire forum (site), and than i come back to the site, can it remember to display the latest music posts, as it was the last category i chose.

    #14940
    Arturo
    Participant

    i’ve integrated the latest trunk of bbPress with my installation of MU 2.7.1 but if I try to login in MU i’m not logged in in bbPress and i have to re-insert my accout username and password.

    i’ve used sam’s plugin but nothing change. I’ve seen the cookie name and are the same, but the problem don’t change…

    anyone can help me? thanks for all.

    mattlay
    Member

    I would like to put up a bounty for anyone who can make me a converter for my Xoops 2.0.14 (CBB 3.05) forums to bbPress. If anyone is interested in doing it I will reimburse them with the stipulation that I must test it to ensure it works and it must be freely available after the bounty is closed.

    Send me an email if you are interested.

    dark [at] evilrpg.com

    Thank you.

    johnhiler
    Member

    _ck_ prepared a list of the top 100 sites here:

    https://bbpress.org/forums/topic/bbpress-top-100-april-2009-update

    The largest site has 1.6mm posts; the site with the most users is wordpress.org, which has 7.5 million users.

    http://bbshowcase.org/forums/view/top100

    Hope that helps!

    manishneo
    Member

    has anyone tested bbpress scalability in terms of no users,topics and comments

    #74178
    emfulz
    Member

    I am using the latest versions of bbPress and WordPress which are 2.7.1 (wp) and 0.9.0.5 (bbp)

    The instructions are rather inside in the installation of bbPress which you can make the integrating processes through the databases.

    #14890
    michael3185
    Member

    Now I’ve got a couple of forums working the way users need, I’m looking into getting them noticed on the web. I’ve read masses of information on this, including use of HTML page Meta tags and data, plus words in the Meta being in the pages, etc. I must say, I’m somewhat confused by it all.

    I don’t have the time to try and become a search engine submission expert, and my charity clients don’t have the money to pay for services like that either. I understand the basic concept of including some HTML Meta tags for search engines to process. Should I just add these manually to index.php, or does it get re-written on the fly by bbPress? (I haven’t tested that yet).

    How difficult would it be to create a plugin, say, that lets you enter HTML Meta tags and data in Admin, and then just inserts it into the forum pages so search engines find them? I guess that’s what some of the mentions about v1.0’s meta stuff are about? (I’m using 0.9.0.5) Any help much appreciated.

    [edit]

    Actually, I realise that a simpler way would be to just write a text file with the HTML Meta information in it, and somehow include it in the header section of various files (or is it only really required in index.php?) I’ve seen an ‘include once’ directive, but guess that just makes a file’s functions available rather than inserting it directly into another? Apologies if the answer is so basic I shouldn’t need to ask, but after six weeks of hard work my head’s fried.

    Tynan Beatty
    Member

    You should only need the define('WP_AUTH_COOKIE_VERSION', 1); part added to the bb-config.php, not the rest (if you upgrade to WP2.8, then you don’t need any of those additions to the bb-config.php file). The WP bbPress Integration plugin’s settings page lists some things you’ll need to add to your wp-config.php file though. Namely, you’ll need to add at least something like define('COOKIEPATH', '/');, depending on your wordpress’ installation path. Try just adding that part and see how things work. If they don’t work, try adding the other things the WP bbPress Integration Plugin settings page suggests (I added all of it’s suggestions using the latest WP2.8 and the latest bbPress 1.0-rc-1 and it broke my WP login; but with just the cookipath definition, most everything except logging in from bbP and then logging out from WP [somewhat trivial], integrates as expected).

    peace~

    #74040
    Sam Bauers
    Participant

    WordPress is planning on implementing a labeling system to identify “canonical” plugins. I believe the rating of these will be community driven. It’s early days on that one, but I think a user driven approach would be the only legitimate way to go.

    Thanks for the MySQL query testing above. I’ll look into what’s possible without bloating the cache objects.

    People might be interested to know that in Automattic’s mix of bbPress usage we use no external object cacheing (like memcached) or page caching. This is with both 0.9 and 1.0 versions.

    #73800

    In reply to: Alphabetize Forums

    Sam Bauers
    Participant

    See [2133]

    Running the latest trunk you need this to start your forum loops…

    <?php if ( bb_forums( array( 'order_by' => 'forum_name' ) ) ) : ?>
    ...
    <?php endif; ?>

    #74149

    In reply to: For hacky peeps

    johnhiler
    Member

    I think the latest .9 version is 0.9.0.4?

    https://trac.bbpress.org/report/2

    The only list of function names that I know of was pulled together by _ck_:

    http://bbshowcase.org/reference/

    #74036
    michael3185
    Member

    Yeah, I use NightGunner’s PM, and it’s a gem. As to the legal side, I know so-called civilisation has become litigation mad, but you just put it in a nutshell yourself; “bbPress Certified”. If it’s in quotes, it’s ‘a quote from someone’, and not legally binding as a testimonial (at least here in the UK, which is why all our adverts are wrapped in quotes). I’m sure with the millions of dollars Automatic were given recently, they could easily get advice on making it litigation safe too.

    You know, it doesn’t have to be much of a big thing from this end, but it’d inspire confidence in ‘the outside world’, by which I mean those who want Open Source software, but not problems, as they’re not coders or forum hounds. On the inside it could be very simple indeed, ie;

    1. Is the code neat and readable? 1 star.

    2. Uses the the proper hooks and function calls? +1 star.

    3. Works instantly with the current ‘safe’ release? + 1 star.

    4. Doesn’t affect, and isn’t affected by, other plugins? +1 star.

    etc.

    User ratings could go alongside it as an extra, and us forum hounds can carry on as usual. However – and it’s a big however in the eyes of the outside world – the creators of bbPress (and their other systems) gain massive kudos, and therefore, a larger user base. Imagine a press release;

    “Sammy Surfer, creator of burblePress said today; We’re into the next generation of forum software. What we’ve realised is that most folks want it to run straight out of the box. We have a compact and powerful core engine, and are announcing our new certification system for plugins. Plugins allow users to develop additional functionality, and while we can’t guarantee code others produce, we do look at and rate plugins. In fact, plugins are key to making burblePress do what you want it to do, so get involved!”

    Etc., etc., ad nauseam.

    Funny, don’t you think, that no Open Source forum producers have had the balls to do this yet..? But I’ll tell you this: the first one who does will have their name in lights. Do M$ produce amazing, unbeatable code which rules the world? Do they hell. Have they grabbed the world’s attentions and millions of users simply because they set their own standards? You bet your damned underpants. I hope Sam reads this, and throws his own undies to the wind.

    Arturo
    Participant

    hi, i’ve a deep-integration, wpmu 2.7.1 + bp 1.0 +bbpress latest trunk i’ve created a theme and integrated it in bbpress, i’ve added wp_head() and wp_footer() to show the buddybar (buddypress admin bar) but the buddybar doesn’t show… i’ve tested the same theme with bbpress 0.9.0.4 and the buddybar is shown without problem.

    any idea to fix this problem? thanks for the reply

    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?

    #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?

    #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~

    #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.

Viewing 25 results - 9,201 through 9,225 (of 11,581 total)
Skip to toolbar