Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 44,351 through 44,375 (of 64,487 total)
  • Author
    Search Results
  • #87580

    Exactly!

    #87621

    You should consider integrating both WordPress and bbPress to have login synchronization (loggin into one will make you login for the other too and the same goes with logout)

    #87579
    chrishajer
    Participant

    I still don’t believe there is any truth to the existence of a cache. Does anyone have proof of this?

    I believe deleting either users or posts or topics, by whatever process, does not properly reset the last poster, number of voices, number of posts, number of replies, etc. Which is why I think this is related to either bugs or not fully developed or poorly performing plugins.

    The functions exist, as ashfame explained, to fix problems. It should not happen on a regular basis.

    From the “recount” page of the 1.1-alpha admin:

    To minimize database queries, bbPress keeps it’s own count of various items like posts in each topic and topics in each forum.

    If the plugin or even built-in functionality does not accurately update the count, then you need these recount functions. If the code were perfect (core and plugins) then these functions would need never be used.

    #87620
    kikko088
    Member

    thank you :)

    #87578
    zaerl
    Participant

    Nah. I’m lazy. Ok I’m joking. It’s an hard to reproduce error cause I use ~15 plugins and 8 are written by me and (urgh) 4 are not released to public.

    Maybe I am the source of my “problems.” Eh eh eh.

    #87619

    Yes! Copy the code for bbPress login (html) and paste it into a widget, it should work.

    #87577

    I totally agree with Chris on this.

    Thanks Chris for explaining!

    @zaerl

    Did you file a bug on Trac? Recounting functions are there for use in case counts go out of sync and not to be used regularly because bbPress shouldn’t mess up with counts by its own functions.

    #87615

    In reply to: languages

    zaerl
    Participant

    Please notice that if you specify: define( 'BB_LANG', 'it_IT' ); then the mo/po must be called it_IT.mo/po. Take my italian translation. It is guaranteed.

    #87576
    zaerl
    Participant

    Really?

    Yes. Really.

    Where do you see evidence of this in action?

    In one in one of my forums. Wrong number of posts associated with a wrong number of discussions per user. It seems that it happens in a regular basis after a deletion of a long list of users. But I use a cron job each week so not a big deal. I have not investigated about the plugin that cause this mess.

    #87575
    chrishajer
    Participant

    As a moderator here, I don’t have access to the recount functions to reset things, and don’t have access to MySQL to see the data that’s being stored for counts, last poster, etc.

    #87574
    chrishajer
    Participant

    @zaerl: “Cause bbPress uses a cache system in order to minimize database queries and sometimes it goes out of synch.”

    Really? Where do you see evidence of this in action?

    I think the problem with the negative counts here is a bug.

    I think the problem with the incorrect voices/posts is probably a bug.

    I think the need for recounting is because sometimes plugins don’t work cleanly when moving or deleting posts or topics or users. Maybe when you delete a topic that has posts the counts are not recounted or recounted properly. I think bozo and Akismet probably figure into it.

    I think the need for recounting is almost always because some code did not account for changing the count somewhere.

    In a perfect world, there would be no need for recounting functions. But as we all know, software is not a perfect world, so recounting helps clean things up. But I don’t think it has anything at all to do with caching. I’d love to see that I am wrong about this.

    AFAIK, there is no bb-cron equivalent of wp-cron, which seems like it would be a perfect place for cleaning up cached information, if it existed. Where is this cache of information? I thought the topic count, post count, voices, post count, etc, we all stored in the database. No caching involved (other that whatever is built in to MySQL.)

    Anyone know any different?

    #34170
    #34169

    Topic: languages

    in forum Troubleshooting
    kikko088
    Member

    I create the folder my-languages, i put the po and mo file inside the folder but bbpress remains in english…where is the problem for you?

    kikko088

    Milan Dinić
    Participant

    I have found solution for problem. Since I based form on Subscribe to Topics, I mistakenly used it’s arguments. So working function should be:

    function bb_checkbox_subscription_update($post_id) {

    global $bbdb, $bb_current_user, $bb_post, $topic, $wp_taxonomy_object;

    $bb_post=bb_get_post($post_id);

    if (!empty($_REQUEST)) {

    $checkbox_status = $_REQUEST;

    if ( ‘add’ == $checkbox_status ) {

    $tt_ids = $wp_taxonomy_object->set_object_terms( $bb_current_user->ID, ‘topic-‘ . $bb_post->topic_id, ‘bb_subscribe’, array( ‘append’ => true, ‘user_id’ => $bb_current_user->ID ) );

    } elseif ( ‘remove’ == $checkbox_status ) {

    // I hate this with the passion of a thousand suns

    $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$bb_post->topic_id'” );

    $term_taxonomy_id = $bbdb->get_var( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $bbdb->query( “DELETE FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id = $term_taxonomy_id” );

    $bbdb->query( “DELETE FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    }

    }

    }

    Also, I made a code for improvements I suggested in first post. You can see it here. Also check this ticket.

    Gautam Gupta
    Participant

    That is because of the throttle permission, and it has no name. Check – https://trac.bbpress.org/ticket/1202#comment:3

    follow this tutorial – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/

    just use a:1:{s:6:"member";b:1;} instead of a:1:{s:9:"keymaster";b:1;}

    #87608

    are you ready for some experimentation?

    i think just moving all the files to the sub folder and then updating bbpress url (Settings > General) and all other links via SQL query should do

    #87573
    zaerl
    Participant

    Just recount when you delete a lot of topics. Not a big deal. I do this every week (just in case.)

    #87604
    gerikg
    Member
    #87595
    leofaoro
    Member

    Thank you. I really like bbpress, it is very lean. I wish I knew how to code so I could also contribute.

    Leo

    #87542
    rich777
    Member

    Hey!

    What version of WordPress are you using?

    Version 2.9.2

    What version of bbPress are you using?

    1.0.2

    Did you upgrade from an older version of WP?

    Fresh WordPress install.

    Did you upgrade from an older version of BBP?

    Fresh BBPress install.

    Which steps or tutorial did you take?

    All of them it seems.

    Do you use shared hosting service?

    Yup.

    Does your server use php5 and is it active?

    I think so ( http://img218.imageshack.us/img218/231/cpanelx1272729322319.png )

    Are you using BuddyPress?

    Nope.

    I’ve tried twice now – I really like the look of bbpress as well. Would anyone be willing to install it if I throw five quid someones way?

    #87305

    In reply to: wordpress integration

    Terranb
    Member

    I’m kind of embarrassed so I would be inclined to delete the above post, but in the interest of informing the community I’ll leave it intact.

    After updating my wordpress install it’s now working. So it would seem that bbpress plays nicely with the most current WP 3 iteration

    #87304

    In reply to: wordpress integration

    #87303

    In reply to: wordpress integration

    Terranb
    Member

    I’m having a similar problem when I try calling require_once(dirname(__FILE__) . '/../wp-load.php'); so I can bring my theme into bbpress.

    This is a WP 3.0 multiuser site on subdomains. The funny thing is I’ve had this working on test sites using WP 3 single user and WP 3 multiuser on subdirectories.

    Is there something about it being on subdomains that might cause this? Might differences in the WP .htaccess file cause it?

    #87598
Viewing 25 results - 44,351 through 44,375 (of 64,487 total)
Skip to toolbar