Forum Replies Created
-
In reply to: Group forum pagination issue with wishlist
I ignore if wishlist is BP compatible. And you describe an issue between bbPress and Wishlist, a premium plugin.
And nothing at this stage indicate that BuddyPress is implicated. Have you tested your membership plugin without bbPress active ? Do you still have trouble when on a group ?Outside the fact we can’t help you for such not open source product, have you contacted them and the bbPress support ?
In reply to: Update user Role?Hi,
guess you confuse member types and user roles. MT where introduced to allow site owners to “categorize” their users. WP user role is slightly different, as it defines what user can do on a site, a kind of access management. So in brief, roles are independent from BP member types.
MT and roles are also stored in different tables: MT in wp_terms and roles in wp_usermeta – with the denomination of wp_capabilities…
By default, roles are automatically attibuted at registration level or manually by a site admin. Member types follow the same logic, under condition the xprofile component is activate.
Now the question is: what do you want to do exactly after registration ? Change the role or change the type ?
Roles can be affected from the admin user list page. I would recommand to not modify this behave at registration level, to avoid abuse by promoting fake user for example.
MT can be changed from the xprofile admin interface. There is also this plugin for a more in depth management.
Using a custom function is of course possible. But just to clarify, the one you give as example let’s suppose you have a need for bulk action over user status. Automated task is well and good, but in this case, why not attribute a higher role or type to all by default ?
And if it is not intended for “all” (what i suppose is the case), do you have so many exception that you need such a function ? Can’t you do that manually ? Just my 2 cents. 😉In reply to: the number of members is wrongHi,
Why ? Don’t know!
Have you an unique page for “members” and “groups” ?
Have you permalinks activated (and not “default”) ?
Are you on a regular or multisite install ?
Have you searched the forum before asking ?https://buddypress.org/support/search/number+of+members+is+wrong/
For a possible solution, read for example:
I have looked everywhere and tried everything!
If so, what could we do more for you ? You’re asking for help for a page question. Pages are part of WordPress and fortunately, WordPress has a codex, where “page” is a well documented department.
https://codex.wordpress.org/Pages
Concerning BP pages, that documentation is much shorter, because BP doesn’t use page like WP and when it use a page it is internally only, and only for one of his component, not to allow users to write a page.
In reply to: Bug after installDeactivate all plugins before activating BP.
Activate a Twenty theme.
Then activate BP. If your admin remains blank again, remove BP from the server – there may be corrupted files – and upload a fresh copy by FTP.If still trouble, contact your host and see if you have minimum requirements to install BP (including enough php memory (at least 64 mo)
As apparently you never have to debug your install, read here for more recommendation (to follow if possible).
In reply to: Buddypress plugin issueHi,
To get a forum, you need BBPress, not BuddyPress. Each can work separately.For your issue, follow correctly all install steps, particulary for BP pages and permalinks:
In reply to: How to show media upload button[Topic moved and closed by MOD]
Please don’t jump into topics who aren’t related to your question and don’t double post.BuddyPress use WordPress tinymce editor. See WP codex:
https://codex.wordpress.org/Function_Reference/wp_editor
https://codex.wordpress.org/TinyMCEIn reply to: BuddyPress PHP7 CompatibleYou’re welcome.
In reply to: Remove meta/archives buddypress pagesWas explained somehow:
You can do that by CSS from within your child-theme style.css
As it is not only BuddyPress css, but also dependent of your theme, you have to check for the correct classes and id’s to use.completed by:
On each BP page is a page-id-{number}. You need it to define the style for this page only.Sorry, i can’t do more for you. It is to you to learn and understand what is explained. Or to hire a dev if it is too difficult.
In reply to: BuddyPress PHP7 Compatible7.0 yes – like WP
7.0.x maybe
7.x.x too early to know…Search !
https://buddypress.org/support/search/PHP7+Compatible/In reply to: [Resolved] Hide join button conditionallyYou don’t absolutely need an else statement.
In reply to: Remove meta/archives buddypress pagesRead here for a solution:
Note that it exist other solutions, perhaps more complex or difficult, in function of your experience with theming.
As you removed your site admin data, you don’t exist anymore for WP on front-end access.
Remove wp-config.php from your site root and restart WP install. By doing this, wp will create a new site admin.
In reply to: Remove meta/archives buddypress pagesWhere do you see archive or what do you call meta or archive on the screenshot ?
In reply to: [Resolved] Hide join button conditionallySee http://hookr.io/plugins/buddypress/#index=g&search=bp_get_member_types
1 – get the member types
2 – if $mt == the_allowed_type
3 – show the buttonIn reply to: Template hierarchy for edit.php page??Hi,
sidebar is part of your theme. The edit.php (members/single/profile/edit.php) template file doesn’t contain a sidebar, but a form. And this form goes into any theme who has a place for “content” (usually it is the main content).
If you don’t want a sidebar on the member page or on the profile, you can add a conditionnal on your (child)theme sidebar.php or around the call to sidebar you can find in almost all your theme files.
The thing to search is
get_sidebarwhich calls the sidebar template.Note that BP use mostly to “page.php”, so if your theme has such a file, it is where to start. You already know the way to BP’s template doc. More about this on WP codex:
https://codex.wordpress.org/Function_Reference/dynamic_sidebarHi,
seems you’re in wp-admin media library when you get that error. The message comes from WordPress. BuddyPress doesn’t use backend editing and doesn’t use edit tools on front-end like “mirror” or “rotate” when he handles pictures.
With BP, a user can handle his avatar picture and the cover header for profile and groups, and all that from front-end.
Where is the image in BuddyPress that you try to edit ?
Please give details, so your issue could evtl. be reproduced.In reply to: Profile settings dissappeared?Hi,
to get these settings, you need to activate the xprofile component. Go to Component tab and check the appropriate box.
In reply to: Favorite without loading pageIn reply to: xprofile fields on group members pagePlease, respect the site layout and use the code button to insert code into topics. Merci!
To add some additionnal information on the group members directory, you need to use an action hook in place of the filter.
Try to replace the last line by:
add_action( 'bp_group_members_list_item', 'my_directory' );In reply to: How to change/modify buddypress default playerHi,
BuddyPress hasn’t a video player. By default, BP use WordPress embeds. Read attentively this document, to understand how embeding videos is working and how READING videos is automatted.
If you want thumbnails in place of the default wrapper, you could use some plugin like this one (untested). And they’re many other on the plugin repo. Only thing you have to take attention with such a plugin, is his compatibility with BP. For ex. wall activities are not exactly blog posts.
If you’re comfortable with CSS, you can even try to modify the existing wrapper size.
Note also that all of these tips have not very much to do with BuddyPress, but with theming.
In reply to: BuddyPress not PHP 7.1 compatible – Broke my siteA brief check for wp-content/themes/rehub/buddypress/groups/single/index.php indicates that you use a wrong file.
There is no index.php file in the original template directory of /groups/single/…
So it may by interesting for you to review the group page install – evtl. register permalinks again and to check how you implemented “/buddypress” into your theme. About theme, do you use a child theme ?
Perhaps read the template doc if it is a bit unclear.
In reply to: How to remove columns from member directoryTable layout with staff directory is not part of BP. You have to search in your theme.
Yes you can use CSS, but to remove role and such, you have perhaps some custom function somewhere who add them to your directory…it would be better you remove theme or use the reverse solution instead of a CSS trick like display:none;
Yes you better have to use a child theme if you want to COMPLETELY modify a bp template. For example changing div into td… but it is not recommended, at least if you don’t exactly know what you do (and be able to adjust all the JS behind the bp scene).
In reply to: How to edit Profile menu?When you have such basic question, please search first the forum and read the documentation.
https://buddypress.org/support/search/bp_get_displayed_user_nav/
http://stackoverflow.com/questions/23041165/buddypress-custom-nav-and-page-templateIn reply to: BuddyPress not PHP 7.1 compatible – Broke my siteThank you for the report. Devs are aware of the problem. You can also participate or follow this on Trac.
Read from #7406