Search Results for 'buddypress'
-
AuthorSearch Results
-
January 6, 2017 at 1:40 am #262561
In reply to: Installing on Subdomain
Henry Wright
ModeratorBuddyPress is a WordPress plugin so will need a copy of WordPress to run. Does that help?
January 5, 2017 at 3:21 pm #262555In reply to: Adding deadlines
danbp
ParticipantThis is custom work. Nothing like this by default or out of the box, in BuddyPress or bbPress.
January 5, 2017 at 3:14 pm #262551In reply to: Changing the groups slug
danbp
ParticipantThe BP_GROUPS_SLUG constant is deprecated, and only used here for backwards compatibility.
(see here, line 141). This is also mentionned on codex.What you can do is to simply modify the page slug. Go to dashboard, Page editor, and quick edit your default Group page, and change the permalink (ie. groups to test) and evtl. the title.
January 4, 2017 at 3:29 pm #262533In reply to: Hide Group Title and Description in Group Listing
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.phpIn your overload, remove whatever you like.
January 4, 2017 at 12:53 pm #262531In reply to: Editing or customizing the buddypress admin toolbar
sherissa_r
ParticipantThanks for this.
What is the easiest way to hide the Dashboard menu item from the Buddypress Toolbar? See sceenshot.
https://goo.gl/photos/rBL773gvzsKhTsiVAJanuary 4, 2017 at 5:18 am #262523In reply to: pass-strength-result
metalhead
ParticipantThanks very much!
Is there an easy way to dissuade WordPress functions from Buddypress functions?
Would we have not had this conversation if I had read up on the WordPress docs more?
January 3, 2017 at 8:11 pm #262518ldesherl
ParticipantI’m running Optimizer PRO. Is that theme compatible with Buddypress? The way I have my site built, it would not be easy to change my theme.
I would not know where to find the code in my theme to change it.
Thank you. I thought the odd URLS for Buddypress pages was by default.
Temporary log-in?
January 3, 2017 at 6:12 pm #262517In reply to: Editing or customizing the buddypress admin toolbar
shanebp
ModeratorIf you just want to change labels, you should use a language file.
Another approach, put in your bp-custom.php :
function sr_gettext_with_context( $translated, $text, $context, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $text ) { case 'Friends': return 'Network'; case 'Groups': return 'My Groups'; default: return $translated; } return $translated; } add_filter( 'gettext_with_context', 'sr_gettext_with_context', 51, 4 );January 3, 2017 at 3:14 pm #262510In reply to: Profile is not working
shanebp
ModeratorSo you enabled the Extended Profiles component in wp-admin > Settings > BuddyPress.
And now, on the front end, the Profile menu item does not work ?Have you checked your error logs?
Have you tried switching momentarily to a WP theme like 2015 to see if the issue is in your preferred theme?
January 3, 2017 at 8:36 am #262508donburikun
ParticipantThank you for your reply and solution. It would be great however if an option for this was officially implemented in Buddypress as it is an issue that allows malicious users to spam many users in one shot.
January 2, 2017 at 1:19 pm #262496In reply to: I want my users to be able to create posts and pages
danbp
ParticipantIf you consider all your users to have the same ability to publish, you can simply setup WP’s default role from subscriber to author. You don’t need a plugin to do that. To allow categories, search on WP codex, as this has nothing to do with the fact you use BuddyPress.
For customizing the Howdy menu item, use this custom snipet or take one of the existing plugin to do that.
January 2, 2017 at 1:09 pm #262495In reply to: Is possible hide some tabs in profiles??
danbp
ParticipantBuddyPress’s toolbar menu works like any other toolbar sub-menu item.
See WP codex for details
Read here for some usage examples explained in details:
December 30, 2016 at 7:41 pm #262474shanebp
ModeratorYou can create a job listing here.
If you do, you may want to include answers to the questions that danbp asked above.
December 30, 2016 at 7:32 pm #262473In reply to: Error Call to undefined function dbDelta ()
wspond
ParticipantOK, so fresh over-install (copying overtop of running site) of 4.7 and as soon as I turn on buddypress, I loose the admin completely. Take it out of the folder via ftp, then I get admin back. Thoughts.
New godaddy hosting account
Wordpress 4.7
current BuddyPress.December 30, 2016 at 7:27 pm #262472In reply to: Questions about BuddyPress
shanebp
Moderator1. Yes
2. You mean WP posts ? Yes, if you give them permissions.
3. They can ‘friend’ each other. There is a plugin re ‘Follow’.
4. Probably – but you’ll need to customize the Follow plugin.
You should install BP on a test site and start trying different settings and additional plugins.
After you have done that, you can ask more specific questions here.December 29, 2016 at 6:48 pm #262459In reply to: Need Advice for Stopping Spam at the Gate
modemlooper
ModeratorUse this fork, fixed it
December 29, 2016 at 6:21 pm #262457In reply to: Is possible hide some tabs in profiles??
Laura N
ParticipantO_o it is very difficult for me, but “activity” was just an example, If I want to remove a no default option? For example “docs”.
In my buddypress show “docs” because I installed BuddyPress Docs plugin.
function bpfr_remove_nav_tabs() { bp_core_remove_nav_item( 'docs' ); // and so on for each item you want to remove } add_action( 'bp_setup_nav', 'bpfr_remove_nav_tabs', 15 );December 29, 2016 at 6:00 pm #262455In reply to: Amazon AWS (Lambada, SNS, etc.)
danbp
ParticipantBuddyPress display members, but those members are referenced in WordPress. No idea to share about what you want to do, but have you searched on the plugin repo ?
https://wordpress.org/plugins/search.php?type=term&q=Amazon+Services
December 29, 2016 at 5:51 pm #262454In reply to: Is possible hide some tabs in profiles??
danbp
ParticipantActivity 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.
December 29, 2016 at 5:22 pm #262453In reply to: Hide the list of subscribers in a group
danbp
ParticipantYou 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.December 29, 2016 at 5:17 pm #262452In reply to: Broken after install
danbp
Participantofficial 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.December 29, 2016 at 4:43 pm #262451In reply to: Delete the “Publish a note in the group” function.
danbp
ParticipantHi @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:
December 29, 2016 at 2:31 pm #262441In reply to: delete notifications
danbp
Participantthank 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
December 29, 2016 at 12:50 pm #262437In reply to: Is possible hide some tabs in profiles??
danbp
Participanthi @tallerwp,
this is documented in Codex. Read here:
You can aso find other examples by searching the forum.
December 28, 2016 at 6:32 pm #262429In reply to: Activity Stream Ads
truelux
ParticipantHere’s my solution… Place this into your child-theme’s / BuddyPress activity-loop.php
<?php $number = 1; while ( bp_activities() ) : bp_the_activity(); if ($number == 10){ echo 'ADSENSE_CODE_HERE'; } $number++; ?>This makes the content appear after the first 10 activity streams but then it goes by every 20. Works for me though 🙂
-
AuthorSearch Results