BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: Rename BuddyPress Profile Menu items #4759

    Hello @sbrajesh

    Is there a way to change the sub slugs too? What I mean is, for example club settings (manage >> settings) has a URL –

    mysite-com/clubs/club-name/admin/group-settings/

    I expect this to become

    mysite-com/clubs/club-name/admin/club-settings/

    Thank you

    • This reply was modified 6 years ago by lavish.
  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: Rename BuddyPress Profile Menu items #4744

    Following code worked for me

    ‘function bpcodex_rename_profile_tabs() {

    buddypress()->members->nav->edit_nav( array( ‘name’ => __( ‘Connections’, ‘textdomain’ ) ), ‘connections’ );
    buddypress()->members->nav->edit_nav( array( ‘name’ => __( ‘Clubs’, ‘textdomain’ ) ), ‘clubs’ );

    }
    add_action( ‘bp_actions’, ‘bpcodex_rename_profile_tabs’ );’

    reference – https://codex.buddypress.org/developer/navigation-api/ & https://buddypress.org/support/topic/rename-buddypress-profile-nav-items/

    Thank you!

  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: [Resolved] BuddyPress Activity Spam #4742

    Thank you for the code @ravisharma I tried this code and it did not disable mention function for users.

    I was looking for a way to disable mention functionality for users other than admins. OR may be other than friends if friends component is enabled.

    So for example if I type @ravisharma it should not create a link and notification to you because I am not an admin here or friend with you (friends, if the component is active).

    FYI, I tried the code in functions.php, do you think I should try in bp-custom.php instated?

    Thank you for the help

  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: Rename BuddyPress Profile Menu items #4709

    I tried with the latest pot file from BP 2.6 (latest) and translated all occurrences of ‘Friends’ and ‘Groups’ but it is still not working. My buddypress-en_US.mo had been saved in wp-content/languages/ and had always worked.

    In fact all other translations other than profile nav items are still working with my old mo file (from BP 2.1).

    I also tried changing the language in WordPress settings, still no avail.

  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: Rename BuddyPress Profile Menu items #4707

    Hello Brajesh,

    Thank you for the quick reply. I have always used translations files. unfortunately it’s just now that it is not working.

    May be because I have po / mo files from BP 2.1 and it is now BP 2.6. So may be I need to use new po file and do that long hectic work all over again (I have too many translations). Isn’t there a way to copy my existing translations from old to new file?

    Thank you again

  • Participant
    Level: Enlightened
    Posts: 60

    No problem. Thank you 🙂

  • Participant
    Level: Enlightened
    Posts: 60
  • Participant
    Level: Enlightened
    Posts: 60

    @sbrajesh did you get sometime to check and fix the plugin? I seek the fix to the following problem.

    ‘Conditional Profile Fields for BuddyPress’ is not working for ‘Multi Select Box’. There might be other type of fields too that may not be working with the plugin.

    Thank you for the help 🙂

    • This reply was modified 6 years, 1 month ago by lavish.
  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: [Resolved] BuddyPress Activity Spam #4647

    Hello @sbrajesh

    Can you kindly help me with that code?

    Thank you very much 🙂

  • Participant
    Level: Enlightened
    Posts: 60
    lavish on in reply to: [Resolved] BuddyPress Activity Spam #4587

    Hi Brajesh,

    Yes Akismet is enabled. Can you please help me with disabling mention for non friends(I must tell you that we do not have friends component active). So may be disabling mentions for all users other than admin would work for me.

    So, only admins can mention users and no other users can use mention functionality. I think this fix can greatly help me.

    Thank you