Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 12,926 through 12,950 (of 26,879 total)
  • Author
    Search Results
  • #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.
    #120289
    lucianoippolito
    Participant

    *** UPDATE ***

    I was able to fix it. My problem was I was pasting the URLs in visual mode and wordpress converted it in hyperlinks. Pasting the URL in HTML mode fixes the problem.

    Thank you for your help,
    Luciano

    #120288
    lucianoippolito
    Participant

    Thank you for your responses but I haven´t been able to fix the problem yet.

    Unfortunatelly the embeeding is not working even using just the image or video url. It is only showing hyperlinks to the URLs.

    As suggested by the codex embeds page I used the [embed]…[/embed] shortcodes with the same results.

    By the way, I have wordpress “Auto-embeds” and bbpress “Auto-embed Links” checked

    Any other idea on how to fix this problem?

    if necesary you can use this test user:Username: ricardo2012
    password: 123***

    Thank you again,Luciano

    #120285
    Jennifer M. Dodd
    Moderator

    For troubleshooting purposes when getting a “page not found” message:

    From WP Admin > Forums, choose a public forum and click on View. Does the forum display correctly when accessed via the URL from the WordPress admin area?

    From WP Admin > Topics, choose a public topic and click on View. Does the topic display correctly?

    Do the same for Private and Hidden.

    Are you running any plugins that change URL structures? Have you used any user/role management plugins, such as Members or s2Member?

    #120281
    Jennifer M. Dodd
    Moderator

    @kraigg: Check out the “View” link under one of your forums in WordPress Admin > Forums. Note that using the “View” link works; the difference between this URL and the one linked from /groups-shortcode/ is that the one that works ends in ‘forum’; the link from /groups-shortcode/ ends in ‘forums’.

    In short: forums are there, but not where /groups-shortcode/ expects to find them. It looks like you have some sort of URL forwarding turned on so that when visiting a group, the first tab opened is the forum tab. However, it is should point to /forum/, not /forums/.

     

    #120280
    psiggy
    Participant

    @ridecbrcom
    Your problem is quite old now and maybe you’ve already solved it. Anyway, I’ve just run into this problem, so I’ll describe it (for anyone who will experience it in the future).

    How it behaves for most of the users (when it’s working):
    1) Install WordPress (during installation, allow search engines to index your site).
    2) Install Buddypress.
    3) Intall Site Wide Forums (bbPress).
    4) Create 2 users and create new bbPress forum.
    5) Try the mention functionality on the forum -> the user will be correctly notified about being mentioned.

    I’m almost sure this is the problem you’re describing:
    1) Install WordPress (during installation, deny search engines to index your site).
    2) Install Buddypress.
    3) Intall Site Wide Forums (bbPress).
    4) Create 2 users and create new bbPress forum.
    5) Try the mention functionality on the forum -> the user will not be notified about being mentioned.

    Another connected problem:
    1) Install WordPress (during installation, allow search engines to index your site).
    2) Change “WordPress address” and “Site Address” (this is not that unusual – especially when you’re moving your site from localhost to some valid place).
    3) Install Buddypress.
    4) Intall Site Wide Forums (bbPress).
    5) Create 2 users and create new bbPress forum.
    6) Try no mention one of the users -> the user will see the notification, but when he/she clicks on it, no mention will be displayed in the activity part.

    To sum up:
    – denying search engines from indexing your site will disable mention notifications from bbPress forums
    – changing WordPress and site address after the installation leads to empty mention list in the activity part (however, the notification in the toolbar will be displayed).

    #120279
    ohara8
    Participant

    bbpress 2.2.
    twenty-eleven theme
    wp 3.4.2

    My forum used to be setup so unregistered users could post but then I got hit with tons of spam and changed it. I thought it would automatically provide me with a user registration/login option, but things cant be that easy, right?

    I need help with setting up the option for people to register before posting to my forum. I looked into buddypress, but didn’t think it was a good idea since I’m a newbie.

    Info—
    Under general settings, I have “anyone can register” checked, with new user role as “subscriber”.
    The only forum settings unchecked are: Allow topic and reply revision logging, Allow guest users without accounts to create topics and replies, and Use the fancy WordPress editor to create and edit topics and replies. The default forum user role is participant.

    No one is able to reply or post new topics and there is no option to login. It says, you must be logged in to reply or create new topics.

    I am very new to coding and had a web developer friend of mine put together my site for me and teach me the basics. I am now at a point of teaching myself anything new. I’ve read all the wp/bbpress documentation and searched Google for weeks with no luck.

    I would appreciate any help if anyone has time. Please be as specific as possible 🙂

    #120278
    Mark Maunder
    Participant

    I’ve also had to downgrade to 2.1.3 after getting reports from some users that they were seeing the page not found page on all pages under our /forums/

    I’ve filed a trac ticket here:

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

    Copy and pasting the text:

    After upgrading to 2.2 I got reports from certain users that they were seeing our page not found on all forum pages under the /forums/ URL including the base URL itself.

    I logged in and tested it with my admin account and did not see it.

    I created a normal user account and also could not repro.

    I then signed in as that specific user and got a repro.

    I then checked the network activity in Chrome and noticed that the site was sending a 200 HTTP code but serving up the standard 404 page. Which explains why I wasn’t seeing any 404’s in my web server error log.

    Note that our forums are accessed via HTTPS so this may help you repro.

    I downgraded to 2.1.3 and instantly the issue was fixed.

    I haven’t noticed any heuristic with the user account that I managed to repro on. I even checked the cookie string to see if there was something odd about that users cookies, but didn’t notice anything.

    #120270
    Alain RONK
    Participant

    Hello netweb

    I wrote my request on bbpress.track (see #2040)
    I saw your reply on my forum and I answered.

    Alain

    #120259
    Stephen Edgar
    Keymaster

    bbPress does not currently support subscribing by email for anonymous users and as you point out there are no plugins (as at the time this posted) to perform this task either.

    You have a couple of options: Write a plugin yourself, get someone else to write the plugin for you or submit a ‘feature request’ at https://bbpress.trac.wordpress.org/ explaining in detail the feature you want to see in future versions of bbPress.

    I tried installing bbPress 2.2 today because I’ve used it on another site and love it. But, the 3 custom post types didn’t show up in the navigation menu in the Admin panel at all (and entering the URL for them doesn’t work either). The bbPress “Forums” menu items do show up in Settings and Tools though. Strange.

    I activated and deactivated all of my plugins and traced it to a conflict between WPMU Appointments+ and bbPress. As soon as I activate Appointments, the bbPress post types vanish. Does anyone have experience with fixing this? I need the Appointments feature on my site and really wish that I could use bbPress instead of some other forum plugin.

    WordPress version 3.4.2
    bbPress version 2.2
    WPMU Appointments+ 1.1.5.1 plugin site

    #120216

    In reply to: bbPress 2.2.1

    Sam Rohn
    Participant

    wordpress & bbpress definitely need better role/capability/permissions management, some 3rd party plugins can fill the gap for now, and i imagine the new system will be a step in the right direction, but we need some details on the new system  🙂

    sam

    #120210

    In reply to: bbPress 2.2.1

    Sam Rohn
    Participant

    plugins like user role editor allow granular customization of user roles & capabilities, an important feature for cms/forum systems which wordpress/bbpress is otherwise lacking, google “granular permissions” for more info

    so you would use it to inspect the permissions for your s2 or other roles and it should be a matter of just checking the boxes of the capabilities you want your roles to have, unless something has changed in bbp 2.2 ?

    if you are careful it will not change (unless you tell it to) or break anything in my experience, but any changes made to role permissions are made to the db so proceed somewhat cautiously, and it is always possible to change things back if you kept screen shots of original role settings in plugin window –

    but i’m still not sure exactly what the new role system is about at all, are there any reference links on this ?

    sam

    #120201
    Stephen Edgar
    Keymaster

    You are using the ‘OneAll Social Login’ plugin to register users rather than the bbPress (WordPress) process and I would suspect that any errors related to incorrect username/password issues would be related to how this plugin is registering users with WordPress rather than this being a bbPress issue.

    Try asking your question in the plugin support at https://wordpress.org/support/plugin/oa-social-login and that may also sort out why users are not receiving the activation email also.

    #120195
    Jennifer M. Dodd
    Moderator

    Embed Media means you don’t have to copy all of that HTML to post an image. It should be enough to just paste the link the the relevant image or video. See https://codex.wordpress.org/Embeds.

    #120186
    Sir Tie
    Participant

    My original setup was based on WordPress 3.4.2 and BuddyPress 1.6.1
    I added a BP Group Forum which we realized will not be sufficient and if anything just confusing to members. So I completely deleted the Forums page and added a new page called Group Discussions. I then went to BP settings and pointed forums option to use this page. No problem there.

    Next, I installed bbPress 2.2 / activated / added couple of test forums / check the slug making sure that it worked by going to: http://ch.lifewithababy.com/forums and it did.
    Next step was to add a new Forums page which I did. Right after http://ch.lifewithababy.com/forums became blank??? Why???

    I then deleted the Forums page and http://ch.lifewithababy.com/forums worked again… hmmm…
    At this point I am confused…

    So I ended up adding the page and then adding a shortcode to show the forum and it works, kind of.
    It works for public but if I login as a member (one of my test buddypress members) the page no longer available??? As a logged in member I get “We’re sorry, but we can’t find the page that you’re looking for. Perhaps searching will help.” which makes no sense at all.

    Could someone please help? I have no idea what is causing this mysterious behaviour and how to resolve it.

    Thanks.

    #120165

    It’s not the permalink that’s broken, it’s the rewrite rule attached to it. If the rules were correct, WordPress would be serving the page correctly.

    #120164

    In reply to: bbPress 2.2.1

    @xurxog – To the best of my knowledge, neither of those plugins includes a cleaner script to revert user capabilities back to normal, so you’re going to need to dream up a solution.

    The reason this is a problem now, and not before, is bbPress has moved entirely to a dynamic roles system, even ahead of WordPress core (which in the future will move to something like what bbPress has now.)

Viewing 25 results - 12,926 through 12,950 (of 26,879 total)
Skip to toolbar