Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 12,876 through 12,900 (of 26,846 total)
  • Author
    Search Results
  • You’ll have better luck looking into the existing templates, and copying existing functionality. Check in: templates/default/bbpress/content-archive-forum.php

    https://bbpress.trac.wordpress.org/browser/trunk/templates/default/bbpress/content-archive-forum.php

    #120488
    Michael
    Participant

    Gotta agree with John James Jacoby, you’ve gotta expect to spend a decent amount of money to hire a contractor to do this kind of work. It’s not trivial, and was never meant to be (my opinion).  My guess is you’re looking at a decent project size of 20-40 hours minimum, unless the task is very basic.

    To put it in perspective, I’ve put in about 20+ hours to customize my bbPress installation so that it matches my Wootheme. bbPress documentation could be better, but it’s not too difficult if you can do rudimentary CSS3 coding (or pick it up on the fly, as I have).  Now, getting Buddypress to integrate and play nice with my theme and Woocommerce site, on the other hand, has consumed a lot more time than bbPress integration has.

    Best of luck, and don’t skimp on a good WordPress consultant.

    Michael

    #120479

    @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
    	) );
    }
    #120477

    In reply to: bbPress 2.2.1

    @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.

    #120474

    A 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.

    #120472

    In reply to: bbPress 2.2.1

    @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.

    #120471

    @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.

    #120456

    In reply to: JS Error: suggest

    Oops, sorry, saw the Trac URL just as I was posting! I put it into there, linking for reference:

    https://bbpress.trac.wordpress.org/ticket/2046

    #120450
    sambedingfield
    Participant

    As a YouTube partner I started to look for a fresh approach to involving my subscribers. I’ve been both an illustrator and web developer in the past, so it made sense to play to my strengths and use these as key factors. 8 months later of working solo on this project and RatsClan.com is now a fully featured community site with a built in unique Playing Card system. Members can unlock achievements, go up ranks, grow their card collection, battle against one another, earn medals and much more.

    The site is built upon the latest WordPress, with the bbPress forum plugin installed. The simple and tactile user interface is consistent throughout each aspect, with large (seasonal changing) illustrations when playing cards. This is all brought to life with animated elements and sound effects.

    Games are created as custom posts, and become published when another user has accepting to challenge them. This allows users to share their experiences or look for opponents through social networks. Experience points and currency is also stored as custom meta, which is all cached to help load time.

    The feedback from our members has been phenomenal, and I’m excited to see how far I can push the boundaries of browser based gaming.

    Please feel free to browse the site: http://www.ratsclan.com/

    Also, here’s a replay of one of my recent games: http://www.ratsclan.com/game/ba6b6a4e/

    This is also my first ever work on a WordPress or bbPress site, so any feedback is much appreciated!

    #120444
    baydream
    Participant

    Hi All
    After installing and activating the plugin I have the following message, any ideas on how to get rid of this?

    Fatal error: Call to undefined function user_can() in /homepages/**/*****/htdocs/**/wp-content/plugins/bbpress/includes/topics/capabilities.php on line 226

    I do not know the wordpress version as I cannot access the information, the bb plugin was downloaded today. I believe the theme installed was Atahulpa

    #120435
    Pippin Williamson
    Participant

    Stickies are pretty difficult to include with custom post types as WordPress doesn’t have native support for them. I’d suggest you look at how the bbp_has_topics() function works: https://bbpress.svn.wordpress.org/trunk/includes/topics/template-tags.php

    If you look through that function you’ll see that bbPress manually pulls in all of the sticky posts and then passes the array of IDs to the “include” parameter in a second query.

    #120430
    Pippin Williamson
    Participant

    All user data is stored in the WordPress users and usermeta table in the core database. It is secure and will remain even if you deactivate bbPress.

    fuzzybee
    Participant

    I’m trying to create a custom forum index page which should look exactly like the default forum index page with forum names, number of topics, number of posts, last active topic etc. but sorted alphabetically based on forum names.

    I’m looking at at bbp_has_forums, bbp_forums and bbp_list_forums inside /wp-content/plugins/bbpress/bbp-includes/bbp-forum-template.php.

    However, I’m puzzled which function to use and
    What arguments/ parameters I should pass?
    the comments in bbp-forum-template.php itself says the same parameters as WP_Query() but would it make sense at all to have something like “post_type” => “forum”
    I’m sure one can be clearer/ more explicit about the parameters here in some form of documentation

    I gave it wild tries as follows
    1) The following gives me fatal error:

    $args = array(

    'orderby' => 'title',
    'order' => 'ASC',

    );

    while (bbp_forums($args)){
    bbp_the_forum();

    echo bbp_get_template_part( 'content', 'archive-forum' );

    }

    The error:
    Fatal error: Call to undefined method stdClass::have_posts() in C:\www\forums.local\wp-content\plugins\bbpress\bbp-includes\bbp-forum-template.php on line 109 Call Stack: 0.0004 333592 1. {main}() C:\www\forums.local\index.php:0 0.0006 337280 2. require(‘C:\www\forums.local\wp-blog-header.php’) C:\www\forums.local\index.php:17 0.3864 38499368 3. require_once(‘C:\www\forums.local\wp-includes\template-loader.php’) C:\www\forums.local\wp-blog-header.php:16 0.3920 38515824 4. include(‘C:\www\forums.local\wp-content\themes\bp-tap\custom-index.php’) C:\www\forums.local\wp-includes\template-loader.php:43 0.4732 38674368 5. bbp_forums() C:\www\forums.local\wp-content\themes\bp-tap\custom-index.php:42

    2) While the following just takes forever to load:

    $args = array(

    'orderby' => 'title',
    'order' => 'ASC',

    );

    while (bbp_has_forums($args)){
    bbp_the_forum();

    echo bbp_get_template_part( 'content', 'archive-forum' );

    }

    I’m using WordPress 3.4.2 and bbPress 2.1.2.
    I’ve copied all files and directories from /wp-content/plugins/bbPress/bbp-themes/bbp-twentyten/ to my theme directory.

    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    • This topic was modified 13 years ago by fuzzybee.
    #120424

    In reply to: bbPress 2.2.1

    Up to you and your needs. Personally, I’d tick the box, and I suspect you’ll want to too. The reason it’s there is more for installations like WordPress.com, where the process of adding a user to a blog actually means something completely different than it does under normal circumstances.

    Also, if the box isn’t ticket, bbPress doesn’t create a profile for that user, because they won’t have a *real* role on the site. They’ll be registered, but have to assigned role; bbPress will just dynamically assign the default to them on the fly when they’re using the site.

    #120394
    c3eu5012
    Participant

    Hello,

    I am a first time WordPress user and have been designing my site for a recreational group and have stumbled upon a problem.

    My bbPress is displaying all Categories and most forums, but for some reason after I created a topic in one of the forums under a category all the forums under that category dissapeared. Now the topic I posted is displaying to the right of the category as the most recent topic, but yet there is no forums showing under the category.

    WordPress version: 3.4.2
    bbPress version: 2.1.3
    My site: http://www.c3eu.com

    #120391
    fuzzybee
    Participant

    Hi John,

    Thanks for your advices, really appreciate them.

    I’m trying to use bbPress core functions.
    Hope the documentation can be updated and improved soon.

    I was not moving between installation here.
    The old forums that our company had was based on P2 (or some kind of P2 based) WordPress theme and it’s kinda different from.
    Therefore, using WordPress export, import function is not sufficient here.
    For example, in the past, there is a topic under “Relationship” forum.
    It’s actually a pure post in WordPress term and “Relationship” is a category of posts here.

    Again, where is a good place for me to look at the bbPress’ insert functions?

    Best regards,

    #120381

    ticket created -> https://bbpress.trac.wordpress.org/ticket/2042 – I’ll do some more investigation and will post comments/suggestions in the ticket.

    #120380
    Stephen Edgar
    Keymaster

    Create a new WordPress page and pick and choose some shortcodes from the following URL and add them to that page… https://codex.bbpress.org/shortcodes/

    #120376

    My first guess is s2member hooks in too late, or some other plugin is loading the current user way too early in the stack. bbPress doesn’t perform any of those actions until it expects WordPress to make them happen naturally.

    If the current_user is loaded before the ‘after_setup_theme’ action is called (because of an is_super_admin() check, a call to current_user_can(), etc…) bbPress fails gracefully, and waits until it’s time. If S2member waits until init to add its roles, or if the WP_Roles array doesn’t include the s2Member roles by the time ‘after_setup_theme’ has fired, $wp->init(); will get called, loading the current user, and bbPress will map the roles accordingly.

    Another possible problem is bbp_get_user_role_map() not mapping custom roles; it only maps to WordPress core roles. A possible fix to bbp_set_current_user_default_role() would be to array_diff() editable_roles() vs bbp_get_dynamic_roles(), loop through them, use the map where it matters, and use the default role otherwise.

    #120373

    @nerrad – yes please, a trac ticket would be great.

    To clarify, you’re saying that s2member does not add itself to WordPress’s editable roles array, using WP_Roles->add_role() ?

    #120371

    bbPress 2.2 implements a new way to think about user roles in both WordPress and bbPress. A few users have posted up having issues after upgrading, so I’m going to take some time to explain what changed and why.

    The problem bbPress 2.2 addresses, is the situation where a users ability to take certain actions in the forums was dictated by their role on the entire site, or their “blog role” as I’ll refer to it in some places going forward.

    This means that in the past, a user could not be both a blog Editor and a forum Moderator at the same time; you’d need to be one or the other, and it was clear this wasn’t what anybody wanted.

    In bbPress 2.0 and 2.1, every time you activated bbPress on a site, it went in and added a bunch of capabilities to the database. You never knew this, but it needed these roles so that users could perform certain tasks. bbPress would go in and modify the core WordPress roles, to add these capabilities to them. This made multisite installations a challenge, and network activation was very difficult too, because these roles needed to be added to every single site.

    For existing users of sites, bbPress performed a bunch of calculations and educated guesses to automatically grant users with certain roles and capabilities. To do this, it would eventually need to add capabilities to the user, or switch them to a role that had those capabilities already; Forum Participant.

    Subsequent updates to bbPress required database migration scripts for every change to user roles and capabilities. This is a lot of work for very little gain, since we’re not solving any problems with users needing multiple roles, and at the same time we’re polluting the database with a bunch of data that doesn’t change 99% of the time.

    Under the hood, WordPress comes with support for users having multiple roles, and this is a perfect use-case for needing that functionality. Roles are just groups of capabilities. If a user has a role, it’s safe to assume they also have certain capabilities, right?

    Wrong. Kind of. Sometimes.

    Capabilities are saved in the database, per user, per site, and they bubble based on the role they are granted. If you use any plugin that modifies editable roles or capabilities in the database, what you’re doing is changing the individual capabilities for every user that gets that role going forward, but not necessarily every user that had that role in the past.

    Remember, individual users have individual capabilities. When a user gets a new role that is modified in some way, they also get assigned the changed capabilities, either positive or negative. Negative capabilities are explicitly negative, and neither WordPress nor bbPress use these in core. They’re tricky, and make it easy to break things.

    Once you’ve gone this far in, you’re playing with fire and will likely get burned. You now have altered core user roles, extra forum user roles, and a mish-mash of registered users with a random assortment of capabilities, based on when they signed up, what role they were granted, and what you happened to have changed that blog role’s capabilities to be at that moment.

    To top this all off, there is no “repair” for your users, they’re basically stuck.

    For bbPress users that never modified user roles or capabilities, their update process would be smooth sailing. It’s the modifications to database permissions that cause issues with bbPress 2.2. Why?

    bbPress 2.2 introduces the concept of “dynamic roles” VS WordPress’s “editable roles.” What’s the difference? Editable roles are saved in the database, and allow you to completely shoot yourself in the foot (as above) once you start changing them around. Dynamic roles do not touch the database in any way, other than to assign the 1 role to the user, side-by-side with any other role they might have on your site.

    bbPress comes with filters to allow you to modify the roles, and it’s still possible to add or subtract specific forum capabilities to a user if you needed to, and without all the fuss and danger of bbPress interfering with existing user roles and capabilities.

    For users that are stuck with users that can’t access the forums, try using the forums role repair tool, located in: Admin > Tools > Forums

    That tool loops through your users, and grants them a forum role based on their blog role based on the following map:

    Admin = Keymaster
    Editor = Participant
    Author = Participant
    Contributor = Participant
    Subscriber = Participant

    The map can be filtered, as can the default role of Participant. The problem will come in with existing users that have modified Participant roles that you may have tinkered with. They’ll end up with capabilities that are totally out of whack, no matter what you do. You’ll need to use an additional tool on top of this, if you want to clean up those old roles introduced by plugins like S2member.

    Going forward, I’d like to get a better idea on what these plugins are doing, and make sure that bbPress plays as nicely as it can with them. Dynamic roles in WordPress core are probably a few releases away, but it’s important to bbPress’s future to have them in and working as soon as possible, to get everything dialed in for everyone.

    #120341

    In reply to: bbPress 2.2.1

    @rossagrant – it already tries to do that, via: Settings > Forums — Auto role —

    “Automatically assign default role to new, registered users upon visiting the site.”

    Basically, that bit looks for users with no bbPress role, and automatically gives it to them (without interfering with existing WordPress roles.)

    I think the problem comes from having modified the bbp_participant role previously in the database, and bbPress not using those modified caps any longer. (Just a guess.)

    bbPress moved away from “editable roles” in 2.2, since plugins like s2member and Members allow for manipulating bbPress’s roles in such a way that safe updates to bbPress are pretty much impossible; the moment we change our capability mapping, this all blows up.

    Going forward, bbPress uses dynamic, secondary roles, that won’t interfere with any other capability or role on the site. I.E. a user can be a forum moderator and a blog editor, or a blog admin and and a forum participant, or no role on the blog, and a key master in the forums.

    This type of setup is best for 95% of installations, but anyone that’s relying on roles in the DB are currently stuck (like we see here.)

    One possible solution is to just let your database roles override bbPress’s dynamic roles. You can unhook most of those functions, but I don’t think that’s advisable for the long term, because you’ll lose any capability updates going forward, leaving some users in limbo when new features are introduced.

    Anonymous User 7670885
    Inactive

    But i’ve Ultimate TinyMCE… Present in wordpress editot… But i don’t see in bbpress :/

    #120334

    In reply to: Author MCE broken

    Maybe related to Jetpack 2.0. I’m not able to duplicate this issue with just WordPress and bbPress installed.

    #120306

    In reply to: New Topic button?

    1. Make a new WordPress page.
    2. Use the bbp-topic-form shortcode.
    3. Done.
Viewing 25 results - 12,876 through 12,900 (of 26,846 total)
Skip to toolbar