Search Results for 'buddypress'
-
AuthorSearch Results
-
August 15, 2016 at 11:56 am #257624
densyo
ParticipantHi @danbp,
Thanks for your reply, really appreciate it! Sorry, but I am not a developer, on what file do I add the code snippet from the example? Is it one of the files in the buddypress/bp-xprofile folder?
Thanks!
DennisAugust 15, 2016 at 9:03 am #257621In reply to: Update custom table field when posting activity
danbp
ParticipantAugust 15, 2016 at 8:56 am #257620In reply to: Redirect does not work
danbp
ParticipantHi,
BuddyPress doesn’t handle registration. That’s WordPress territory.
You may read about WP two step authentication:
https://codex.wordpress.org/Two_Step_AuthenticationAnd here’s a tutorial from which you can built a multi step authentication:
Good luck !
August 14, 2016 at 1:48 pm #257607In reply to: Problem with change password and s2member
danbp
ParticipantDeactivate all plugins and the theme and test registering from WP using a Twenty theme as first.
Then activate BP and re-test.
Then activate S2 or whatever you use for paid membership and again, test.
And finally, you have to test your theme (if not a Twenty one).FYI, BuddyPress doesn’t handle the password field, but WordPress.
You’ll probably get better answers on WP or S2 support forum.August 14, 2016 at 11:46 am #257602In reply to: Get the user nav in a separate page
danbp
ParticipantI’m wondering why you don’t use WP Menu to do that !
Dashboard > Apparance > Menu > add new menu and select from BP options.
If not visible, activate BuddyPress in screen options (top right corner).
Within the appearing BP options (left column) select the items you need for the new menu. Then activate that menu on your custom page.This menu is always contextual and is showed to everyone, whatever his status.
August 14, 2016 at 8:31 am #257597In reply to: Broken translation in some tabs
danbp
ParticipantDon’t hack core files. (never !) Which language do you use ?
Where have you done this ?
I’ve took a look at the files and found out that the working ones are using__( "Foo %s", "buddypress" )and the wrong ones are using_x( "Foo %s", "Blah blah blah", "buddypress" ).Actually all BP strings are working. If you need custom translation, you have to do that in po/mo and to use preferably the original strings. For example, if you build a template and want to use the notification count on it, you copy the original string to your work. If you don’t do that, you nedd 2 po/mo ! One for BP and one for your custom work. Which is certainly not the best and easiest solution.
The notification count is defined in wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notification-component.php
The counter itself is inside a span and is defined separately.
/* translators: %s: Unread notification count for the current user */ _x( 'Notifications %s', 'Profile screen nav', 'buddypress' ), sprintf( '<span class="%s">%s</span>',The bla bla bla part you mention is a comment for translators who indicates him the context. This comment appears in the pot file like: Notification %s [Profile screen nav]
That’s BP’s default coding. You haven’t to modify this. Use it as is.
If you have difficulty to translate such a string, you have to check your theme or any custom function you added (by hand or another plugin).
The corresponding custom string should reflect the original one as gettext function wouldn’t translate a string which is not identic.
__( "Foo %s", "buddypress" )and_x( "Foo %s", "Blah blah blah", "buddypress" )are both working, and do technicaly the same thing (foo = something) which let you modify “foo” in both case, but as the original string is_x( "Foo %s", "Blah blah blah", "buddypress" ),you couldn’t replace it with__( "Foo %s", "buddypress" ). It is the translation prefix (_x or __) which is the important thing here.Hope to be clear. And you’re right, unfortunately your changes will be overwriten at next BP update as you hacked core files.
August 14, 2016 at 7:56 am #257595danbp
ParticipantHi,
you can change any field title only if you’re the site admin.See here: https://codex.buddypress.org/administrator-guide/extended-profiles/
August 13, 2016 at 1:17 pm #257588In reply to: disable group avatar
mmw562
Participantfound the solution as a part of the admin settings
Settings->buddypress->Allow customizable avatars for groups
August 13, 2016 at 8:21 am #257584In reply to: Get the user nav in a separate page
danbp
ParticipantHi @nabilyazghi,
You could perhaps use something like this:
function blabla() { if ( ! bp_is_my_profile() ) $nav_array = 'what_you_need'; return $nav_array; } add_filter('bp_get_displayed_user_nav', 'blabla', 10, 1 );Function ref: http://hookr.io/plugins/buddypress/2.4.3/functions/bp_get_displayed_user_nav/
August 13, 2016 at 8:09 am #257582danbp
ParticipantHi @densyo,
– first, you check that xprofile component is active:
if( bp_is_active( 'xprofile' ) )
– then check you’re on a user page:bp_is_user()
– allow site admin:is_super_admin()
– check if the current page part of the profile belongs to logged-in user:bp_is_my_profile()Example here:
https://buddypress.org/support/topic/the-right-way-to-remove-nav-items/August 13, 2016 at 6:42 am #257581In reply to: Xprofile custom fields – image
danbp
Participant@earl_d, this “issue” is mentionned in plugin’s FAQ. Have you done the recommended changes ?
August 12, 2016 at 11:31 pm #257576In reply to: BuddyPress 2.6.2 is now available
David Cavins
KeymasterHi Kineta-
Your best bet is to start a new topic for support with your issue. In that topic, it would be helpful to know which version of bbPress you’re using, what version of BuddyPress you upgraded from (to 2.6.2) as well as the usual stuff.
Thanks!
-David
August 12, 2016 at 3:12 pm #257562In reply to: activation email not sending after update to 2.6.2
Paul Wong-Gibbs
KeymasterYou did not say what version you update from, but when the emails were improved in v2.5, there was a bug with exactly this that hit some people – but not everyone – which we fixed in a minor release.
First, go to wp-admin Tools > BuddyPress, and run the re-install email tool. This will delete the terms and the posts, and recreate them.
August 11, 2016 at 10:14 am #257524In reply to: Add custom email notification settings
Paul Wong-Gibbs
KeymasterThere’s no need to ask your question twice: https://buddypress.org/support/topic/adding-custom-emails/
August 11, 2016 at 5:00 am #257515In reply to: Adding Multiple Custom Activity Feeds to the Stream
knownocode
ParticipantThanks again for the link and info, I have got it working but now I have run into two problems. I want the image to show and the 2 problems are the 2 feeds, as 1 is custom work, and the other I have no idea where it is.
I simply want to show a small image of the post to show under the text in the BP activity feed, this for the one I edited the file for, can I just place this somewhere in the code shown in the link you gave??
[ get_the_post_thumbnail( get_the_ID(), ‘image-class’ ); ]
And for the one I am not sure about the file, I believe buddypress may be doing it on its own (am not sure) but it posts like “User-Name posted a listing, Listing-Name, on the Sub-Site-Link”. However if I do not auto-publish these feeds and have to manually approve from the backend using “quick-edit”, it works to feed the image through? Is there maybe a file location in buddypress that might do this?
August 11, 2016 at 1:22 am #257511In reply to: Does BuddyPress comply with disability W3C standards
@mercime
Participant@maryt66 You’re welcome. You can subscribe to the latest BP development news at https://bpdevel.wordpress.com/ or check out https://buddypress.org/blog/
Cheers.
MercimeAugust 10, 2016 at 9:21 am #257490In reply to: Some translated texts aren’t shown
Paul Wong-Gibbs
KeymasterHi @marco129
BuddyPress emails are stored as custom post types. In wp-admin, Tools > BuddyPress, there is a tool that reinstalls BuddyPress emails. You normally want to do this if you’ve translated the email text *after* BuddyPress has been installed (it adds the text in as English).
If you’ve translated the BuddyPress email text, and assuming Loco Translate works properly (I don’t know anything about it), then a re-install of the emails should fix it.
August 10, 2016 at 8:33 am #257484In reply to: Some translated texts aren’t shown
marco129
ParticipantHello,
I have the same problem here. I use WP 4.5.3 and the Theme Woffice from ThemeForest and BuddyPress 2.6.2. I translate all with the plugin Loco Translate but some translations are not working. There ist nothing to repair. What can I do? Any idea?
Best regards
Marco
August 10, 2016 at 3:24 am #257474In reply to: Remove friendship-buttons title-tooltip
@mercime
ParticipantJust to note that the “add friend and cancel friendship” tooltips, among other tooltips have been removed in BP 2.7 trunk (see #7090).
August 9, 2016 at 9:04 pm #257464In reply to: Bug list member
fusion85
ParticipantI now have control css file, that the file to edit is a BuddyPress CSS, is called “mentions.min” , it’s possible? :((
August 9, 2016 at 7:13 pm #257461In reply to: Bug list member
mrjarbenne
ParticipantThe BuddyPress Plugin doesn’t apply any style when you hover over a suggested @mention. When using a default WP theme (which is what the BP developers base their testing on) there is no hover effect on the suggested username. Which indicates that it is probably something in the style of the theme you are using that is applying this additional effect.
The quickest way to see if it’s the theme or not, is to quickly change themes to one of the Twenty-xx themes that are packaged with WordPress, and if the hover effect disappears, you know where the problem is.
That’s only part one. The next part is to figure out where in the theme the issue is and patch it.
This might be helpful: https://www.studiopress.com/using-firebug/
August 9, 2016 at 7:02 pm #257459In reply to: Bug list member
fusion85
ParticipantHi friend 🙂
In fact, I never thought to check the css, but I understand it depends on the issue (Sweetdate) or depends on BuddyPress plugin css?
August 9, 2016 at 6:07 pm #257456In reply to: Sorting Activity Stream by recent comments
mrjarbenne
ParticipantI haven’t tried this plugin in a few years, and it hasn’t been updated for a while, but it once did exactly what you are talking about.
https://wordpress.org/plugins/buddypress-activity-stream-bump-to-top/
August 9, 2016 at 1:38 pm #257451In reply to: Lost password link and wrong password
mrjarbenne
ParticipantThe BuddyPress login widget is just a styled version of the WordPress login page. Hackers are still hitting the same database regardless of if they are finding your login widget — or more likely — blinding hitting your /wp-login.php page. wp-login isn’t being replaced here. If you are worried about brute force attacks, you should look into mechanisms created to protect WordPress (captchas, limit login attempts, etc.)
Replacing the WP login infrastructure with something else is a whole other matter, and something you would need to do on the WP side. As @djpaul mentioned, BP leaves that side of the site to the existing BP user management system.
August 9, 2016 at 12:47 pm #257450In reply to: Lost password link and wrong password
idichoo
ParticipantWell… I would prefer buddypress to inform user on wrong user id or password entered instead of redirect user to wordpress login. It will encourage for hacking. Do you have any ways to so that it doe not redirect to wordpress login but show wrong userid or password.
Thanks for your help. -
AuthorSearch Results