• Resolved Carsten Lund

    (@carsten-lund)


    Hi there, I want to add a link to the /post-image/ page in a hook element in BuddyPress.

    Apparently there is no short code to create a upload link, so I added this code to the hook element. I get the upload button all right, but on all profiles.

    I only want it displayed on logged in users own profile only.

    <a class="button" href="https://domain/post-image">Upload</a>

    could the upload link be added to this gallery code?

    <?php
     $user_info = bp_get_displayed_user_username();
    echo do_shortcode('[flexi-gallery clear="true" user="' . $user_info . '" column="3"]');
    ?>

    or is there a better way to achieve this?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author odude

    (@odude)

    There is no option yet in settings or any shortcode to build a submission button.

Viewing 1 replies (of 1 total)
  • The topic ‘How to create a upload button on BP profile’ is closed to new replies.