Forum Replies Created
-
In reply to: Is possible hide some tabs in profiles??
Activity is the default tab when you are on a profile. If you want to remove it, you must first define a new default landing tab.
Details in this topic.
Just in case of, bp-custom.php file doesn’t need a CLOSING php tag.
In reply to: Hide the list of subscribers in a groupYou can use the same technique as the one given on your other topic.
Search the forum for examples or read on codex how to conditionally display a template.In reply to: Broken after installofficial requirements for WP (hosters) are given here. Minimum php version for WP is 5.2.4, while most used php version is 5.6
More WP stats here.BuddyPress users use all 5.3 and above (as of preliminary 2016 survey results).
This means that if you use 5.6, you’re anyway fine.
And about WP and BP compatibility, you can read here.In reply to: Delete the “Publish a note in the group” function.Hi @pimous,
if you mean the Update form (wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypres/activity/post-form.php), you just have to add a conditionnal into the template file, from within your child-theme.
Something likeif ( is_super_admin ) { // if user is admin, show him the form, otherwide, do nothing bp_get_template_part( 'activity/post-form' ); }For a general idea and more details, read here:
In reply to: Is possible hide some tabs in profiles??Sorry buddy, but “nothing work” is not an answer and doesn’t help to go further! What have you tried and where ? Give details please!
In reply to: delete notificationsthank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.
This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
This aspect is one of the main reason to provide usefull and safe code.
IT IS NOT THE CASE HERE – and i wouldn’t recommand it.Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.
@sbrajesh ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.
If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.
By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.
FYI about what you did wrong or not properly:
– hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
– comments should be in english (some in your example are in french)
– your recommendation is against all WP usage:copy this script into ur document root where u have installed ur wordpress
– you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
– why do you recall jquery ? It is already loaded when you run BP…
– i’m not a developer, but i’m pretty sure there are other things to mention about coding.In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
You’re also using french in that script.Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.
Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.
[modlook] @jjj, @DJPaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright
In reply to: Is possible hide some tabs in profiles??hi @tallerwp,
this is documented in Codex. Read here:
You can aso find other examples by searching the forum.
In reply to: Broken after install@djpaul, sorry for the second ticket, i created it because i was unsure about the main cause. Thanks for this clarification.
In reply to: [Resolved] How to stop auto update of buddypress?Hi,
that’s a general wordpress knowledge question. Read here how to proceed:
https://codex.wordpress.org/Configuring_Automatic_Background_UpdatesIn reply to: Toolbar disappears after Woocommerce installSorry, but we can’t assist you for premium theme or third party plugin issues. The toolbar is part of WordPress and BuddyPress only allows you to show/hide it for logged out users. See checkbox in BP’s main settings: Show the Toolbar for logged out users.
Control if you have a specific function runing in your theme functions.php file. If you don’t know how to proceed, ask for help on your theme support. If you find nothing in the theme, ask on woocommerce support.
Group Forum use bbpress which has his own support. Ask there please.
BuddyPress doesn’t use roles outside what you setup in your WordPress settings.You’re welcome ! 😉
In reply to: Broken after installHi guys,
which theme do you use ? Try with Twenty Sixteen or fifteen, and if you deactivated the toolbar in your settings, try to activate it, then activate BP again.
Another thing to try is to not use the theme customizer. Setup WP, then BP and use a twenty theme, without customizer actions. This basic trio should work.
If your site use php 7+, try to use only php 7.0 (not 7.0.x) as BP is not ready for the very latest php version at this time… You could also try to use only php 5.6 instead of 7.0…
Just in case of, as this was already mentionned on Trac, you can follow about that issue on #7406
Hi @venutius
The explanation of this error message and how to solve it can be found here:
https://codex.wordpress.org/Option_Reference
You just have to adjust the comment max links in WP settings > General > DiscussionThe message is coded in bp-core/bp-core-moderation.php:135 and is applied to
$max_linksvariable.Also…
When you get such myterious message, the first place to check for is the pot file! All words used by BuddyPress are listed there, including file names and line numbers. That way, it is easy to get the origin, the function name or some dev’s comment for what is going on.
This trick applies also for theme and other plugins.please, never publish username and password or any ftp crendetials when you’re not asked for.
(i removed them)
Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.Did you allowed search engines (wp settings) ?
Are users allowed to comment (wp settings) ?
Is activity component enabled (bp settings) ?
Do you have an “activity” page ?
Are pretty permalinks enabled ?More infos ? Read here:
In reply to: oEmbed video in site-wide activity@petervandoorn @henrywright @r-a-y,
Great job guys!
I updated the oembed Codex page accordingly .In reply to: Custom Messages PanelHi,
BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.In reply to: Problem with thumbnailsChange your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.
In reply to: Problem form – post updateWhen you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme
When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).
If you have plugins, you test’em the same way.
For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.
The Update form used for Site, Members and Group activities is in
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.phpIn this file you can see the div’s name, class, ID. Search for them in your theme style.css.
DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.
Hi,
So is the only way to do it is to get my developer to write code and update the plugin
Afaik, yes! It is the case for any open source software as soon as it is no more maintained.
If not already done, read here
https://wordpress.org/support/topic/fails-with-bp-2-7/An alternative would be https://github.com/dcavins/hierarchical-groups-for-bp
Hi,
deactivate FB plugin (and all others too) and try only with BP.
Test also WP/BP only with Twenty Sixteen theme.In reply to: How to remove orders tab in profile?Hi,
please read the woocommerce documentation. BuddyPress doesn’t use an “order” tab.
Read here BP’s navigation documentation:In reply to: How can I put a message for global advice’s widgetThe easiest way would be to use your own widget instead of the default one. The file containing that widget is here:
bp-messages/classes/class-bp-messages-sitewide-notices-widget.phpMake a copy of the code and add your custom message inside the widget. Add the whole into bp-custom.php or your child-theme functions.php
In reply to: Filter activitiesHi,
BuddyPress is a swissknife, when used out of the box, does a lot of things. But like a swissknife, you have to choose the knife or the tool you need precisely at the moment M. And like with the famous knife, you have to do this manually.
Filtering the general activity.
There is a default filter with several options,
You can modify the activity loop display via the template,
You can write some functions for more customization.This is pretty much for a component, and almost available for all BP components. Not exactly what you could qualify as “not built-in”… But you’re right, it is not “ready to use” via a “clickodrome” or a press’n’play customizer (not yet).
If you search the forum, yo’ll find a lot of related topics, and some with working snippets.
On the codex, you have also many information. Ie. :In reply to: WordPress + BuddyPress = users limitedHi,
It would be interesting to know why [your] developer told [you] that [your] site will not be able to manage more than 70,000 users.
Why precisely 70,000 ?
As @venutius already told you, there is no physical limit. And if you have the necessary cash to buy storage and bandwith, go ahead!
A common example for a large site running BuddyPress, is profiles.wordpress.org mentioned by lead dev John James Jacoby (in 2012). It is still the case in 2016.
Related articles:
https://codex.wordpress.org/High_Traffic_Tips_For_WordPress
https://wordpress.org/showcase/?s=buddypress