Search Results for 'bbpress'
-
AuthorSearch Results
-
April 16, 2013 at 4:12 am #133307
Stephen Edgar
KeymasterCool… Fix is in 🙂 Also updated https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
April 16, 2013 at 3:58 am #133305In reply to: bbPress 2.3 now available!
premitheme
ParticipantOkay, not sure if this is the reason, but after your last reply a searched a little bit, found this ticket https://bbpress.trac.wordpress.org/ticket/2070 and started to think that it’s a problem in the URL.
The only difference between XAMPP and MAMP (free) is that XAMPP uses “localhost” host name, while MAMP (free) uses “localhost:8888” when using MAMP ports by default (MAMP pro uses “localhost” that tell why it works OK with you). So I went to MAMP preferences and changed the ports settings to use default Apache and MySQL ports to use “localhost” instead of “localhost:8888”, and finally posting topics and replies is available again 🙂
Even better I setup a virtual hostname manually in MAMP (free) and the everything works fine.
I hope this will help others with the same issue with MAMP (free). Thanks for your time @johnjamesjacoby and @netweb, great work and keep it up.
April 16, 2013 at 3:45 am #133303In reply to: Fix for users of s2member and bbPress 2.2
ovizii
Participant@kraigg:
same problem here, none of my users except key masters can post or reply. I have been using User Role Editor in the past, any advice on how you fixed your problem?
April 16, 2013 at 3:44 am #133302In reply to: bbPress 2.3 compat with bbPress Moderation Plugin
Stephen Edgar
KeymasterExcellent, glad we have some progress, now to hope that bbPress Moderation plugin will get an update soon.
p.s. I also changed this topic title to include bbPress Moderation Plugin.
April 16, 2013 at 3:40 am #133301In reply to: Vbulletin to bbPress usernames
Stephen Edgar
KeymasterAre you using the latest bbPress 2.3?
What version of vBulletin are you using? I have only tested vBulletin 4.x
Here is the list of known issues with vBulletin https://codex.bbpress.org/import-forums/vBulletin/
April 16, 2013 at 3:33 am #133298In reply to: Changing Forum in Front End Makes Topic Sticky
Stephen Edgar
KeymasterCan you update to the newly released bbPress 2.3 and let us know if the problem persists.
April 16, 2013 at 3:32 am #133297In reply to: Outputting BBpress topics & replies as table data
Stephen Edgar
KeymasterJump back in time to bbPress 2.1 Twenty Ten templates, they specifically used tables for forums, topics & replies. You want to have a close look at the loop-*.php templates.
https://bbpress.trac.wordpress.org/browser/tags/2.1/bbp-themes/bbp-twentyten/bbpressApril 16, 2013 at 3:26 am #133296In reply to: bbPress 2.3 compat with bbPress Moderation Plugin
Jkum
ParticipantYeah, deactivating bbPress Moderation plugin solved the entire problem – Thanks a lot!
April 16, 2013 at 3:24 am #133295In reply to: how to change appearance bbpress
Stephen Edgar
KeymasterStart here https://bbpress.org/themes/
April 16, 2013 at 3:23 am #133294In reply to: members activity
Stephen Edgar
KeymasterI don’t know of any bbPress specific plugin that can do this but there might be one that does something similar for standard WordPress Users/Subscribers/Authors etc.
I suggest having a search of WordPress Extend and if your in luck such a plugin may exist and may even work with bbPress.
April 16, 2013 at 3:20 am #133293In reply to: Importing bbpress forum
Stephen Edgar
KeymasterHow about I close this topic and we can keep it all in this single topic 😉
April 16, 2013 at 3:19 am #133292In reply to: Moving to a new WordPress site
Stephen Edgar
KeymasterI presume you are meaning the built in WordPress Export tool /wp-admin/export.php
I presume you are you exporting ‘All Content’ rather than forums, topics, replies individually?
After you have performed the import do you run the bbPress’ repair tools?
April 16, 2013 at 3:16 am #133291Stephen Edgar
KeymasterPresuming you are going to take ‘Approach 1’ then that links you to this doc:
https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/That looks good to me but I would not start that without both a site & SQL backup.
April 16, 2013 at 3:10 am #133290In reply to: Roles and Capabilities in bbPress 2.2
Earthman Media
ParticipantThanks, that worked! Given that my client is launching in the AM, he and I *both* appreciate your help.
In regards to debugging the reason why that hook is not being called – I think I will post this on to iMember360 and let them look at *that* one.
Again, thanks a bunch – I can finally go to bed now.
April 16, 2013 at 3:09 am #133289In reply to: bbPress 2.3 now available!
hlwinkler
Participant@hlwinkler Can you try your search ‘OpenEars’ using the Twenty Eleven or Twenty Twelve theme.
I tried it with Twenty Twelve and it worked fine.
April 16, 2013 at 2:59 am #133288In reply to: Roles and Capabilities in bbPress 2.2
John James Jacoby
KeymasterNot entirely sure how you arrived at that solution, but I can’t imagine any of it ever working correctly. 🙂
The
wpaction happens before WP_Roles is called, so it’s too soon in the stack. You’re also missing a bunch of sanity checks thatbbp_set_current_user_default_rolealready does for you; no sense in duplicating only some of that work.You could try hooking into
initbut, again, I suspect something in the iMember360 plugin is interfering and won’t allow that to work correctly either.You *should* actually be debugging the
setup_current_useraction, to see ifbbp_set_current_user_default_roleis even firing, and if it is, where it’s failing.If you’re looking for a brute-force kludge, something like this is probably closer to what you need:
function earthman_force_current_user_caps() { global $current_user; // Only for logged in users if ( ! is_user_logged_in() ) return; // Reload the current user with correct capabilities $current_user = bbpress()->current_user = get_user_by( 'id', bbp_get_current_user_id() ); // Try to give them a role on the site, if they need one bbp_set_current_user_default_role(); } add_action( 'bbp_template_redirect', 'earthman_force_current_user_caps', -99 );April 16, 2013 at 2:48 am #133287In reply to: Roles and Capabilities in bbPress 2.2
Earthman Media
ParticipantWell I got this far, but every time I try to call the function you suggested, or try to add the role manually, it breaks. Any ideas what I might be missing, please?
add_action( 'wp', 'bbp_check_user_role_on_load' ); function bbp_check_user_role_on_load() { global $user_ID; //do they have a role set already? $has_bbp_role = bbp_get_user_role( $user_ID ); if(!$has_bbp_role){ //nope, add default BBP role //tried this but it breaks it //bbp_set_current_user_default_role(); // Load up bbPress once $bbp = bbpress(); $new_role = 'participant'; //this breaks too - wtf? //$bbp->current_user->add_role( $new_role ); } }April 16, 2013 at 2:31 am #133285In reply to: Topic and Forum archive
Stephen Edgar
KeymasterI was playing about with this earlier related to a different issue ttrying to recreate another bug but could not recreate the issue and have no problems using a custom `archive-topic.php` file in eg. `/wp-content/themes/twentytwelve/bbpress/`.
April 16, 2013 at 2:26 am #133284In reply to: bbPress 2.3 now available!
ArcticFritid
ParticipantLooks better and better, BUT it crash my feeds:
Warning: Illegal offset type in /home/XXXXX/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1503April 16, 2013 at 2:24 am #133283In reply to: Roles and Capabilities in bbPress 2.2
Earthman Media
ParticipantThanks for that.
I’m guessing they are worried about ‘breaking’ millions of sites. While I am sure you are exceptionally diligent, even with the relatively small community BBpress has, you are already seeing edge cases here that you hadn’t imagined. With custom Roles and Caps and so many plugins to contend with, I’m sure there are a *few* more in the WP community.
April 16, 2013 at 2:20 am #133282In reply to: Roles and Capabilities in bbPress 2.2
John James Jacoby
Keymaster/wp-content/plugins/bbpress/includes/users/capabilities.phpThanks for the kind words. WordPress core doesn’t need a ton of work in this regard; a few small fixes would go a long way.
April 16, 2013 at 2:19 am #133281In reply to: Roles and Capabilities in bbPress 2.2
Earthman Media
ParticipantThanks for pointing me in the right direction John – what file do I find that in please?
To be honest, I haven’t dove right into the inner workings of iMember360 plugin yet, to understand fully what they are doing to create users/log people in, but I do know that it isn’t playing well with what you have done.
Thanks for finally getting the roles sorted, excellent work! Now when the WP core team gets Roles/Caps sorted we will be laughing!
April 16, 2013 at 2:14 am #133276In reply to: Roles and Capabilities in bbPress 2.2
John James Jacoby
Keymaster@earthman100 – Search for `bbp_set_current_user_default_role` – it’s hooked to `bbp_setup_current_user`, which is hooked to `setup_current_user`, which seems odd that any plugin would bypass completely, since pretty much everything a user does is linked to it.
Which is to say, I don’t think manually handling the login or user-creation process is the problem; I think this plugin is `_doing_it_wrong()` by invoking the current user far too early, before bbPress ever has a chance to hook in.
April 16, 2013 at 2:10 am #133275In reply to: Multisite Error
John James Jacoby
KeymasterTry updating to bbPress 2.3. I’m not able to duplicate this using the latest version, using either the wp-signup.php way, or via the Network admin area.
April 16, 2013 at 2:06 am #133273In reply to: Roles and Capabilities in bbPress 2.2
Earthman Media
Participant@Stephen – I don’t want to map them manually – Sorry, my wording was incorrect.
What I meant in my post is that I want to create an Automated Function to tie into a hook when they enter the site, because the Login Hook is not being fired.
I need to know what BBpress function to call to assign them a role in BBpress, please.
-
AuthorSearch Results