Search Results for 'bbpress'
-
AuthorSearch Results
-
November 21, 2012 at 8:25 pm #120483
In reply to: Fix for users of s2member and bbPress 2.2
htz77
ParticipantWow! Bingo! THANK YOU JJJ. Super simple fix too. Here’s what I did, if this helps anyone else:
add_filter('bbp_get_user_role_map','my_bbPress_role_map');
function my_bbPress_role_map($role_map){
$role_map['student'] = bbp_get_participant_role();
return $role_map;
}This is added to my functions.php.
November 21, 2012 at 8:07 pm #120482In reply to: bbPress 2.2.1
rossagrant
ParticipantCheers JJ!
yeah right now my site is heavily BuddyPress focused on a single site install and will more than likely never use multisite so I think the dynamic user role of ‘Member’ assigned to EVERYONE except admins will work just fine.
It’s nice to be able to control the forum privileges separately, I’d be wondering for a while how we could do that.
This way I can use all of my s2 member roles and then upgrade certain members to forum mods without affecting any of their paid for privileges.
Should help give my forums a boost too!
Thanks for your patience with all of my questions, it’s much appreciated! :O
November 21, 2012 at 8:01 pm #120481Pippin Williamson
ParticipantI don’t believe that is a language file included with bbPress, so, no, you will have to update it each time. Though it would be best if you submitted it to http://trac.bbpress.org so that it can get added to the core plugin.
November 21, 2012 at 7:55 pm #120479In reply to: Fix for users of s2member and bbPress 2.2
John James Jacoby
Keymaster@tzeldin88 – Again, difficult to be confident, but you could filter bbPress’s role mapping, to add custom comparisons for your newly created roles. Then bbPress will just naturally make:
X site role = Y forum role
with each new user that visits the site.
The filter you’d want to use, is
bbp_get_user_role_map. It looks like this:/** * Return a map of WordPress roles to bbPress roles. Used to automatically grant * appropriate bbPress roles to WordPress users that wouldn't already have a * role in the forums. Also guarantees WordPress admins get the Keymaster role. * * @since bbPress (r4334) * * @return array Filtered array of WordPress roles to bbPress roles */ function bbp_get_user_role_map() { // Get the default role once here $default_role = bbp_get_default_role(); // Return filtered results, forcing admins to keymasters. return (array) apply_filters( 'bbp_get_user_role_map', array ( 'administrator' => bbp_get_keymaster_role(), 'editor' => $default_role, 'author' => $default_role, 'contributor' => $default_role, 'subscriber' => $default_role ) ); }November 21, 2012 at 7:52 pm #120478In reply to: bbPress 2.2.1
John James Jacoby
Keymaster@greenmeanie – Shouting at volunteers isn’t a great way to get a positive response. Also, this is the incorrect topic to post personal support requests in. You’ll have better luck, and be able to subscribe to responses, if you create your own topic with details about your issue.
November 21, 2012 at 7:50 pm #120477In reply to: bbPress 2.2.1
John James Jacoby
Keymaster@rossagrant – BuddyPress is a whole different animal. It assumes every user on your site always has a link to their root profile. If you have BuddyPress bolted on top, you’re probably okay.
What BuddyPress does *not* do yet, and likely won’t for some time, is separate multiple bbPress forums across multiple sites on a multisite network, and give them their own spot in a user profile.
I’ll end up building something similar to this for WordPress.org/BuddyPress.org/bbPress.org eventually, but until then, it’s only pseudo-code in my imagination.
November 21, 2012 at 7:48 pm #120476In reply to: bbPress 2.2.1
greenmeanie
BlockedThe upgrade took out my thumbnails ON BLOGS,my Forums, and my TOP MENU?
ALSO MY POSTVIEW COUNT WTH.
November 21, 2012 at 7:47 pm #120475In reply to: Fix for users of s2member and bbPress 2.2
htz77
ParticipantHi JJJ, thanks for the rapid reply! Just to clarify:
I’m already using this custom role (Student) in other ways throughout the site, so I can’t scrap it. Participating in the Forum was one of the things a Student could do, and participation in the Forum was restricted to ONLY Students.
I don’t actually have many Students yet, so I can actually just delete and re-add them, to fix any wrong/old capabilities, and avoid any “resetting”.
The issue is really more about simplifying the process for my client (the site admin) — so he doesn’t need to set a Student’s role in two different fields, in the admin: the normal wp Role field, and now this new Forum Role drop-down (which is at the bottom of the profile screen).
So I think I need the DEFAULT bbPress Role to be Spectator (for public / non-logged-in users, and another custom role, called Schools), so they can’t participate.
And I’d like my Student role to have the same (EFFECTIVE) Capabilities as a Participant, so the site-admin doesn’t need to set that separately. But it sounds like you’re saying that’s just not really possible, even though the Members plugin SEEMS able to assign the capabilities correctly.
Thanks again for your time and attention.
-ToddNovember 21, 2012 at 7:45 pm #120474In reply to: I give up. Will pay for BBpress migration help.
John James Jacoby
KeymasterA survey done earlier this year came up with $55 as the average hourly rate for WordPress consultants, worldwide. Considering that’s the median, and the time it will take to start, monitor, and audit a data migration, my guess as to why you’re not having much luck is because $20 is too low of a bid for taking on the responsibility.
bbPress does make this process pretty simple, considering the labor it does under the hood. If you’re already experiencing issues, it’s likely going to take more than .5 hours to complete. Anything beyond 30 minutes, and it’s time better spent on a different job.
I say all of this, only to be helpful and informative, to help y’all make better educated bids if you’re wanting to pay someone for their time. If you want to keep trying this yourself, become familiar with how to backup and restore your data. Once you have the right tools and become relatively proficient, it’s actually pretty easy.
Good luck getting everything moved over. Let us know if you have questions, should you dive in again.
November 21, 2012 at 7:39 pm #120473In reply to: bbPress 2.2.1
rossagrant
ParticipantWould that only really affect sites that were running BBPress standalone with WP?
It wouldn’t affect Buddypress profiles would it?
I’ve checked on my staging site, and the forums tabs with ‘created topics’ ‘replies’ etc still work great for users just assigned a ‘Member’ role with no specific BBPress role.
November 21, 2012 at 7:32 pm #120472In reply to: bbPress 2.2.1
John James Jacoby
Keymaster@rossagrant – You are correct. The downside to only being a “Member” and not having a role on the site, is bbPress suppresses profile pages for those users. This is mostly because of WordPress Multisite, to prevent guessing user profile slugs and pulling up profiles of users that don’t actually exist on the site, and also to not link off to spam/deleted user accounts.
Lots of moving parts.
Naturally, if you *need* to override any of these weird nuances, there are filters everywhere for developers to make modifications to these behaviors. Ideally, bbPress comes with the solutions that are best for everyone, and the other answers come when specific questions like this are asked.
If this turns out to not be the best configuration, we can always change it, but I suspect it’s the best compromise that’s currently possible.
November 21, 2012 at 7:26 pm #120471In reply to: Fix for users of s2member and bbPress 2.2
John James Jacoby
Keymaster@tzeldin88 – There’s a tool to batch the user forum role process, in Tools > Forums
It’s likely the custom roles you’re making won’t work, at least I haven’t tried it yet myself. While it’s not impossible to make work, I don’t think it’s a great setup for the future of your site.
WordPress purposely excludes a UI for roles and capabilities because they’re easy to muck up, and difficult to reset back to stock.
November 21, 2012 at 7:20 pm #120470In reply to: forums disappeared after installation of v2.2
John James Jacoby
KeymasterIn Tools > Forums are some uninstall tools, but if you don’t have forum content, there’s nothing to uninstall. Reinstalling bbPress is just uploading the files and activating the plugin.
Unclear how bbPress works with WPML, haven’t tried the two together.
November 21, 2012 at 7:17 pm #120469In reply to: Fix for users of s2member and bbPress 2.2
htz77
ParticipantTo clarify my question above — According to this (https://bbpress.org/forums/topic/spectator-and-visitor-someone-can-explain-this-roles/) the Capabilities of a Participant are:
– assign_topic_tags
– edit_replies
– edit_topics
– participate
– publish_replies
– publish_topics
– read_private_forums
– spectateSo I assigned those same Capabilities to a different role — a custom role called Student — but the Student still can’t actually participate in the forum.
(I used Justin Tadlock’s Members plugin to create the custom role, and assign the capabilities.)
Thanks! -Todd
November 21, 2012 at 7:14 pm #120468In reply to: forums disappeared after installation of v2.2
jakewho
ParticipantI will try and find out from my web host, but in the mean time is there a way to completely uninstall bbPress and then reinstall it. I don’t currently have have any discussion forum content, so there is nothing for me to lose.
One other potential symptom…I have WPML installed and all of my user facing content is set to be displayed in Portuguese. When I have created new forums, they don’t show up in the dashboard as being associated with either English or Portuguese. They should show up as being associated with Portuguese, since that is the language I had set when I created the forum.
…I do have lots of pages and posts, so I wouldn’t want to lose any of this content.
Thanks much
November 21, 2012 at 7:01 pm #120467In reply to: bbPress 2.2.1
rossagrant
ParticipantNice explanation JJ, I now get it mate! 🙂
So all NEW signups that register will be assigned the ‘Member’ label dynamically if I don’t tick the box in the backend to make all new sign-ups a participant for example.
I’m cool with that if it’s the case.
I don’t anyone to have a specific role other than ‘Member’ unless I upgrade someone to a mod for example.
Leaving the box unchecked would thus stop any members thinking “why am I just a member when that guy is a participant’.
As long as all future members who end up with a S2 Member role will still be able to post as a ‘Member’, that works just great for me.
Is that right?
November 21, 2012 at 6:53 pm #120466In reply to: Fix for users of s2member and bbPress 2.2
htz77
ParticipantI have a similar problem (though not related to s2member). I have a custom Site Role (called “Student”), which I had enabled to participate in the Forums, by assigning the necessary Capabilities (using the Members plugin from Justin Tadlock). This worked fine in bbPress v2.1.2.
But I just updated to bbPress v2.2.1, and now bbPress has a new concept of Forum Roles, separate from (but somehow related to) Site Roles. So now all my Student users are unable to participate anymore!
I do NOT want to have to manually set the new Forum Role for each Student. Instead, I tried using the Members plugin to (again) add the necessary Capabilities to my Student role, to match those of bbPress’s new Participant role. I did this by matching the checkboxes displayed by the Members plugin. But this did not work. In fact the Members plugin shows that a Participant has 28 Capabilities, though only 8 are actually “checked”. So are some of a Participant’s capabilities somehow HIDDEN? Can I somehow tell bbPress to use my Student role?
Hoping for help on this.
November 21, 2012 at 6:00 pm #120463In reply to: Online Playing Cards game built around bbPress
John James Jacoby
KeymasterThis.
This is dope. Thanks for sharing!
November 21, 2012 at 5:12 pm #120461In reply to: bbPress 2.2.1
brspart
Participant“Hello.
I need some help.
when I upgraded to version 2.2.1 my forum was link this http://db.tt/WO0W0n3q
how do I solve this problem?Thanks
Bruno”Please help me
thanks
BrunoNovember 21, 2012 at 4:51 pm #120460Topic: Breadcrumbs keep switching to topics
in forum Troubleshootingthesnowjunkies
ParticipantCurrently, I am using Yoast breadcrumbs with my setup (bbPress 2.2 with WP 3.4). Everything is super sweet except when I go to a topic, the “forums” link disappears and replaces it with a “topics” link.
Here’s what I want:
Home>>Forums>>Example Forum>>Example TopicHere’s what I get:
Home>>Topics>>Example Forum>>Example TopicMy current workaround has been to make a custom topics page and then have it redirect to “Forums” — but of course it still says “Topics” in the breadcrumb.
I do understand this may just be a plugin issue and not for this board, but if anyone has any ideas…
November 21, 2012 at 4:16 pm #120459Topic: forums disappeared after installation of v2.2
in forum Troubleshootingjakewho
ParticipantI successfully upgraded to bbPress v2.2 (and then 2.2.1), but for some reason I can no longer see my forums. Since I am still in the process of setting up my site, I have tried everything I could think of, including deleting all forums and topics…then I deleted the BuddyPress and bbPress plugins and reinstalled and reactivated them. When I create a new forum, I still can’t see the forum layout for my forum page(s). What I see instead is a blank page (plus the description text for the forum), but none of the blank fields for creating a topic associated with the forum or for entering content into the topic/forum. When I create create a topic and associate it with the forum, it still does the same thing.
A URL where this can be seen is: http://www.cbblogers.com/forums/comunidade/sorteio/
Thanks
November 21, 2012 at 3:42 pm #120458In reply to: Why is integration so troublesome?
kannued
ParticipantAnother note: In integration, the IP addresses in the topics matches the IP addresses of the topics in bbpress 1.1. It is just the author’s name that is wrong in the integration.
November 21, 2012 at 3:02 pm #120457In reply to: bbPress latest topics by activity
Pippin Williamson
ParticipantThere’s a trac ticket on the topic somewhere.
November 21, 2012 at 2:47 pm #120456In reply to: JS Error: suggest
Scott Kingsley Clark
ParticipantOops, sorry, saw the Trac URL just as I was posting! I put it into there, linking for reference:
November 21, 2012 at 2:32 pm #120454In reply to: bbPress latest topics by activity
Sami Keijonen
ParticipantHmmm and now I’m thinking why there is no sticky post support for custom post types in WP.
-
AuthorSearch Results