Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 55,676 through 55,700 (of 64,431 total)
  • Author
    Search Results
  • #67673

    In reply to: bbPress 1.0 Stable

    _ck_
    Participant

    That roadmap is wildly inaccurate and just guesses.

    Not only does 1.0 gut huge sections of code that were perfectly working under 0.9 and need to be replaced but it also replaces entire concepts (like the new object cache). There is a huge amount of work to do and I don’t envy Sam and Michael’s jobs right now. Then it will need lots of testing and debugging.

    Then there is plugin stability since everything is in a state of flux. I can’t even keep up with the changes anymore, I’ve stopped updating my plugins until things settle down a bit.

    Sam is currently working on trackbacks (pingbacks) now which was suppose to be the big new “feature” for 1.0 IMHO it’s a huge waste of time that could be spent elsewhere in the code but pingbacks on forums was something Matt wanted, so he gets what he wants obviously. However it will be the first feature I delete (not just disable, but delete) since XML-RPC was the #1 security problem with WordPress over the years. It’s also going to be a spammer’s delight.

    #67635
    _ck_
    Participant

    Actually, the best thing to do is completely replace the search facility. That’s what I do in Super Search. bbPress’s search is very weak, so weak that there wasn’t even a link to it on any page in 0.9 (it’s similar to WordPress’s search, which also sucks, it’s the ugly truth no one seems to talk about).

    I assume you are using the bb-benchmark plugin to watch those queries happen (if not, you should be).

    Stupid question but you DO have the mysql cache turned on? I only ask because on many server configs (like CPANEL) it’s turned off by default. What does your my.cnf look like? (do a cat /etc/my.cnf in your shell)

    Try going into phpmyadmin (or command line) and test that first test query against adding AND post_text REGEXP ':<:%test%:>:' to the query like so:

    SELECT p.*, 0 AS search_score, MAX(post_time) AS post_time FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%test%' AND p.post_text REGEXP ':<:%test%:>:' AND p.post_status = '0' AND t.topic_status = '0' GROUP BY t.topic_id ORDER BY p.post_time DESC LIMIT 5;

    I suspect in the end due to your huge db size you are going to need to completely replace the search functions with something like this http://sphinxsearch.com which has a PHP api. Fortunately in bbPress it’s very simple to hook the internal search and bypass it entirely without even template hacks. A quick google shows that a few WordPress plugins have sphinxsearch support so that would be easy to copy over to bbPress. If you find the keyword “sphinxsearch” on this source for example, you can see how it’s done: http://svn.scriblio.net/plugin/trunk/scriblio.php

    #67634
    Mark Barnes
    Member

    In other words, bbpress is not using MATCH … AGAINST at all, it’s using the horribly slow LIKE %…%

    You couldn’t tell me the hook for manipulating the search facility, could you?

    #66720

    In reply to: bbPress 1.0 alpha

    elorgwhee
    Member

    The only problems that I ran into were:

    1. The setup script didn’t properly enter the secret keys in the config file so the forum didn’t function until I manually entered this info in the file (I ran setup twice clean just to be sure).

    2. Not sure if it’s related or not, but at one point my admin account’s password stopped functioning after updating my display name…? Strange.

    #67672

    In reply to: bbPress 1.0 Stable

    cartmanffc
    Member

    I hope we’ll get the stable version from Santa ;)

    #67591
    chrishajer
    Participant

    azsportshub: what version bbPress and WordPress did you install?

    #66090
    chrishajer
    Participant

    Hmm – that makes no sense to me. What is the exact error you get if you do not include the if (file_exists statement?

    #67633
    Mark Barnes
    Member

    I tested this on a very large database under very low load. The standard bbpress search creates two queries, namely:

    SELECT p.*, 0 AS search_score, MAX(post_time) AS post_time FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%test%' AND p.post_status = '0' AND t.topic_status = '0' GROUP BY t.topic_id ORDER BY p.post_time DESC LIMIT 5;

    and

    SELECT t.*, MIN(p.post_id) as post_id, GROUP_CONCAT(p.post_text SEPARATOR ' ') AS post_text, 0 AS search_score FROM bb_topics AS t JOIN bb_posts as p ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = '0' AND p.post_status = '0' AND ( (t.topic_title LIKE '%test%') OR p.post_text LIKE '%test%' ) GROUP BY t.topic_id ORDER BY t.topic_time DESC LIMIT 30

    I ran both queries five times with different search terms. On my very large database, with no optimisation, the first query took (167s, 104s, 36s, 29.7s, 24s), the second (33s, 21s, 22s, 20s, 21s).

    #67671

    In reply to: bbPress 1.0 Stable

    meitershaker
    Member
    #4003

    Topic: bbPress 1.0 Stable

    in forum Showcase
    cartmanffc
    Member

    so, when (approx.) can we expect the stable version of bbPress 1.0?

    #66089
    nekita
    Member

    I’m using the functions get_header and get_footer in my front-page.php etc. and it’s working just fine as you can see on my site.

    #67669
    chrishajer
    Participant

    What did you do to convert the XDForum plugin to bbPress? Did you import content, or export content from XDForum?

    #66088
    chrishajer
    Participant

    Nekita – the reason that works is because it’s not including the wp-blog-header.php (can’t find it), but it doesn’t error out because you’re saying “if it’s there, then include it”: otherwise, just continue on, but it’s not included.

    So, it errors out when you don’t have the conditional, but with the conditional there, do you have access to WordPress functions, or you can just access specific theme files? Accessing the theme files would not require integration. But using the functions like get_header, get_sidebar, get_footer would all rely on integration being correct.

    This assumes that the errors are the same as doyle640:

    PHP Fatal error: require_once() [function.require]:

    Failed opening required '../wp-config.php'

    #67615
    nekita
    Member
    #66087
    nekita
    Member

    To give you an idea of what I’m talking about:

    http://chocolatebydeath.com/forum/

    User: Rauko

    PW: IIlCuxOmYRpn

    This is a test user I just registered. Once you log in with this data, you’ll see that this account is extremely restricted for whatever reason. It’s the same with my own admin account and other user accounts.

    #67667
    Clicknathan
    Participant

    The error was from a Private Messaging plugin (note: not a private forums plugin).

    I have the default Akismet & Bozo plugins installed, and also the “Use Display Name” (which just changes your username to your nicename) and BBPrivate Messaging Plugin (as mentioned above) plugins installed. Removing them does not allow me to see the forums content either.

    I just noticed that actually only admins can see the forum content.

    You asked:

    You didn’t make all your forums categories in the admin, did you?

    I’m not sure what you mean, I’m new to BBPress. I converted an old WordPress XDForum plugin to BBPress, so perhaps something happened with permissions there, but even so, any direction as to how to open these up to everyone would be great!

    #66086
    nekita
    Member

    In my case, yes, the relative path works just fine, given that I have access to my WP scheme files after I utilize it.

    However, I just found out that adding:

    if (file_exists(‘../wp-blog-header.php’))

    require_once(‘../wp-blog-header.php’);

    instead of just

    require_once(‘../wp-blog-header.php’);

    does the trick, at least to get access to the admin area.

    I’m still stuck with the limitation of my admin account though. Once it’s integrated and I log on the bbP, I can’t write a post nor reply or edit my own profile because the admin user receives the status “Inactive”.

    #67662
    chrishajer
    Participant
    #66085
    chrishajer
    Participant

    Is the wp-config.php actually located at ../ ?

    Also, you could try the absolute path rather than a relative one. I have heard before that that might be a problem (although I’ve never seen that. I don’t use MAMP though.)

    First verify if the wp-config.php is located ../ from bb-config.php. If it is, try the full absolute path rather than a relative one. Something like /Applications/MAMP/htdocs/wp-config.php.

    #4002
    #66084
    doyle640
    Member

    here is my errors when I try to access the bbpress admin section:

    [15-Sep-2008 12:10:48] PHP Warning: require_once(../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/forum/bb-config.php on line 34

    [15-Sep-2008 12:10:48] PHP Fatal error: require_once() [function.require]: Failed opening required ‘../wp-config.php’ (include_path=’.:/Applications/MAMP/bin/php5/lib/php’) in /Applications/MAMP/htdocs/forum/bb-config.php on line 34

    On the regular part of the forum, I do not get these errors.

    #67654

    In reply to: Permalinks Not working

    chrishajer
    Participant

    Why did you put bbPress into the wp-plugins folder? It’s not a WordPress plugin.

    #67653

    In reply to: Permalinks Not working

    benzilla069
    Member
    #66083
    nekita
    Member

    Seems as if I have the same problem as doyle640. Integrated the Alpha with WP 2.6.2 and after adding “require_once(‘../wp-blog-header.php’);” to bb-config.php I can’t access the bbP Admin section anymore. the “Reply” and “New Topic” area is gone as well, Profile can’t be edited etc. The title under my Admin name (“Key Master” by default) will also change to Invalid.

    The loading error for the admin section is indeed a 500 error. At first I figured it might be related to some class conflicts within the WP and bbP CSS structure but fiddling with that didn’t help either.

    Now it seems more likely that the User Account looses all of it’s user privileges in bbP once it’s integrated with WP for some reason.

    #62616

    In reply to: TalkPress

    @geld_lenen

    Could you explain what you were using? My personal experience with bbPress is really great and hackers tried to hack some websites i have, but dont manage to get in to it. So i really wonder.

    Regards, Bob

Viewing 25 results - 55,676 through 55,700 (of 64,431 total)
Skip to toolbar