Search Results for 'bbpress'
-
AuthorSearch Results
-
May 2, 2010 at 8:24 pm #87630
logart
MemberHmm, ok. So far I am still unable to get WP or bbP logins to affect each other. In fact, adding define( ‘COOKIEPATH’, ‘/’ ); to wp-config.php prevents me from logging into my WP admin panel. So here is the current status:
1) Have the WP plugin installed and configured
2) Have bbPress configured
3) I can login to both separately
4) If I log out of WP, I cannot log back in to WP
5) As soon as I log out of bbP, I can then login to WP again.
6) If I removed the COOKIEPATH from the config, then I can login, and out of WP and bbP separately with no issues, but they do not share a common login.
So I think the main problem is that my cookie sharing is not working, as I thought that logging into one would make the other logged in to as well.
May 2, 2010 at 7:56 pm #87624In reply to: bbpress login & registration in wp
kikko088
Memberok but I want that the user put also other information…
I don’t like the wordpress profile manager, i prefer the profile manger of bbpress than i want that all user access only to bbpress profile manager.
May 2, 2010 at 7:42 pm #87623In reply to: bbpress login & registration in wp
zaerl
Participantbut while the registration with bbpress the user must insert name, email, site
Only username and email are required.
May 2, 2010 at 7:04 pm #87629logart
MemberGood or Bad, firefox crashed on me, and when I re-opened it, auth on both WP and bbPress are working now.
May 2, 2010 at 6:56 pm #87628logart
MemberJust a side-note: My WP auth is successful, because I do not get a password error, but it just re-directs me right back to the WP login page again. I have a feeling it is something to do with my WP integration settings.
May 2, 2010 at 6:50 pm #87622In reply to: bbpress login & registration in wp
kikko088
Membermy bbpress and wordpress ara just integrating, if i’m login with wp i’m login also with bbpress, but while the registration with bbpress the user must insert name, email, site with wordpress the user must insert only a nickname and email…I want to menage the registration only with bbpress….I try to put the html code for login but there is a little problem, until the user isn’t logged in the sidebar there is the login form, but when the user login in the sidebar remains the login form instead “Welcome, user, ecc…..”
There is another way for put login form in the sidebar?
thank you
May 2, 2010 at 6:44 pm #34171logart
MemberHello,
I just installed bbPress, and now when I logout of WP, I am unable to log back in. I can login to bbPress fine as admin user. Any suggestions?
May 2, 2010 at 6:35 pm #87580In 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.)
-
AuthorSearch Results