BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: [Resolved] Need to delete a textline in BuddyBlog plugin #20402

    Hi Brajesh,

    I am using the newest version 1.3.4.

    Thank you for your time.

    Regards,
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: [Resolved] Need to delete a textline in BuddyBlog plugin #20397

    Hi Brajesh,

    Yes I did, I have put the proper link into the code from Ravi.

    This is the whole code I have put in. But it has no effect in front end.

    /**
     * Modify New Post tab link
     *
     * @param array $subnav Subnav item array.
     *
     * @return mixed
     */
    function buddydev_modify_new_post_tab_link( $subnav ) {
    	$subnav['new-post']['link'] = 'https://properlinktocreatenewpost'; // Replace URL with yours
    	return $subnav;
    }
    add_filter( 'buddyblog_setup_sub_nav', 'buddydev_modify_new_post_tab_link' );

    Thank you for your help.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: [Resolved] Need to delete a textline in BuddyBlog plugin #20394

    Hi Brajesh,

    Thank you for your help on this issue.

    I have pasted exactly the whole code Ravi has provided into bp-custom.php but when I click on “Create New Post” then it says, Error 404 page not found.

    What I try to do is that the user will be redirected to a specific page in order that he can create a new post, but he doesn’t get redirected with this provided code from Ravi.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504

    Hi Brajesh,

    Thank you for your reply.

    I have no clue which plugin could cause the issue. 🙁

    Do you think you could help me in finding out why the plugin does only show the personal activity?

    When I click @Mention for instance, it shows all the activity of the communit, why then it shouldn’t work with the BP-community-activity plugin?

    Thank you for your help and your assistance.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: [Resolved] Need to delete a textline in BuddyBlog plugin #20383

    Hi Ravi,

    I have tried to put the code into bp-custom.php but when clicking on the “New Post” Tab, then it still does not redirect but I receive a 404Error saying page not found.

    /**
     * Modify New Post tab link
     *
     * @param array $subnav Subnav item array.
     *
     * @return mixed
     */
    function buddydev_modify_new_post_tab_link( $subnav ) {
    	$subnav['new-post']['link'] = 'https://mywebsitelink.com'; // Replace URL with yours
    	return $subnav;
    }
    add_filter( 'buddyblog_setup_sub_nav', 'buddydev_modify_new_post_tab_link' );

    And yes, I have used the link inside the ” string but it’s not working when applying the code.

    Thank you for your time.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: Change Text for activity post #20382

    Hi Brajesh,

    That’s a very cool feature. But when I tried it out and uploaded a pic on activity, then I could not comment the pic, and when I pasted a link into the link field, it said I cannot paste the link.

    I think the user would need to be able to comment as well on his pic when he uploads, right? But I couldn’t find the feature inside MPP Upload widget for activity upload.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: Change Text for activity post #20356

    Hi Brajesh,

    The Theme uses BuddyKit as default for uploading media in activity stream and I might should use that one in order to make running the webpage smoothly.

    The only thing what could be cool with MediaPress Activity uploads would be that when the user uploads media on activity, that the media will be automatically saved to his Gallery.

    I was able to deactivate MPP upload icons for activity as per your instructions in order to use only BuddyKit for activity uploads for the moment.

    Thank you.

    Regards,
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: Change Text for activity post #20346

    Hi Brajesh,

    Thanks for your input. I will try to translate the text.

    for 2. You mean to untick the uploads in MediaPress Settings? When I untick Photo Audio Video, then the user cannot anymore upload media in Galleries as well. That’s why I need to hide the icons with CSS in Activity field.

    Thanks & Regards,
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: Change Text for activity post #20337

    Hi

    Also when pasting a link into the link field when clicking on one of the icons and then clicking +add, then it says “sorry I am unable to post the link”.

    Is it possible to hide this field?

    Thank you.

    Regads
    Daniel

    • This reply was modified 6 years, 4 months ago by Daniel.
  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: Change Text for activity post #20336

    Hi again,

    I also would like to change the size and the color of the 3 big grey media press upload buttons which appear under the activity post form field.

    I have tried with these codes but it is not working 🙁

    .mpp-upload-buttons {
       max-width: 20px;
       color: blue;
    }
    
    /*or*/
    
    #mpp-activity-upload-buttons a img {
      max-widht: 20px
      color: blue;
    }

    Thanks for your help.

    Regards
    Daniel