Search Results for 'bbpress'
-
AuthorSearch Results
-
May 2, 2010 at 6:35 pm #87580
In reply to: Errors in bbPress – seen on the Official forums
Ashish Kumar (Ashfame)
ParticipantExactly!
May 2, 2010 at 6:24 pm #87621In reply to: bbpress login & registration in wp
Ashish Kumar (Ashfame)
ParticipantYou 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)
May 2, 2010 at 5:46 pm #87579In reply to: Errors in bbPress – seen on the Official forums
chrishajer
ParticipantI 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.
May 2, 2010 at 5:39 pm #87620In reply to: bbpress login & registration in wp
kikko088
Memberthank you
May 2, 2010 at 5:26 pm #87578In reply to: Errors in bbPress – seen on the Official forums
zaerl
ParticipantNah. 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.
May 2, 2010 at 5:14 pm #87619In reply to: bbpress login & registration in wp
Ashish Kumar (Ashfame)
ParticipantYes! Copy the code for bbPress login (html) and paste it into a widget, it should work.
May 2, 2010 at 5:11 pm #87577In reply to: Errors in bbPress – seen on the Official forums
Ashish Kumar (Ashfame)
ParticipantI totally agree with Chris on this.
Thanks Chris for explaining!
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.
zaerl
ParticipantPlease 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.May 2, 2010 at 4:54 pm #87576In reply to: Errors in bbPress – seen on the Official forums
zaerl
ParticipantReally?
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.
May 2, 2010 at 4:00 pm #87575In reply to: Errors in bbPress – seen on the Official forums
chrishajer
ParticipantAs 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.
May 2, 2010 at 3:59 pm #87574In reply to: Errors in bbPress – seen on the Official forums
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?
May 2, 2010 at 1:56 pm #34170Topic: bbpress login & registration in wp
in forum Themeskikko088
Membercan I put bbpress login function on the sidebar of wp?so the user can be login on bbpress profile from a wordpress page…
kikko088?
May 2, 2010 at 12:34 pm #34169Topic: languages
in forum Troubleshootingkikko088
MemberI 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
May 2, 2010 at 11:48 am #87195Milan Dinić
ParticipantI 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.
May 2, 2010 at 8:20 am #87588Gautam Gupta
ParticipantThat is because of the throttle permission, and it has no name. Check – https://trac.bbpress.org/ticket/1202#comment:3
May 2, 2010 at 3:16 am #87587Ashish Kumar (Ashfame)
Participantfollow this tutorial – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/
just use
a:1:{s:6:"member";b:1;}instead ofa:1:{s:9:"keymaster";b:1;}May 2, 2010 at 3:14 am #87608In reply to: move forum to subdomain
Ashish Kumar (Ashfame)
Participantare 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
May 1, 2010 at 7:10 pm #87573In reply to: Errors in bbPress – seen on the Official forums
zaerl
ParticipantJust recount when you delete a lot of topics. Not a big deal. I do this every week (just in case.)
May 1, 2010 at 6:30 pm #87604In reply to: bb_list_tags() to show like bb_tag_heat_map()
May 1, 2010 at 4:25 pm #87595In reply to: Is bbPress moving forward ?
leofaoro
MemberThank you. I really like bbpress, it is very lean. I wish I knew how to code so I could also contribute.
Leo
May 1, 2010 at 3:57 pm #87542In reply to: WordPress integration.. again
rich777
MemberHey!
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?
May 1, 2010 at 2:30 pm #87305In reply to: wordpress integration
Terranb
MemberI’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
May 1, 2010 at 1:53 pm #87304In reply to: wordpress integration
Ashish Kumar (Ashfame)
ParticipantTry this tutorial of mine – http://wpwebhost.com/make-bbpress-theme-match-with-wordpress-by-deep-integration/
May 1, 2010 at 1:30 pm #87303In reply to: wordpress integration
Terranb
MemberI’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?
May 1, 2010 at 6:16 am #87598In reply to: Problem with WordPress User Role Map
Ashish Kumar (Ashfame)
ParticipantThis will fix your issue – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/
-
AuthorSearch Results