Skip to:
Content
Pages
Categories
Search
Top
Bottom

Making group avatar uploading mandatory


  • pratibhasvaksha
    Participant

    @pratibhasvaksha

    My client wants to make group avatar uploading mandatory. Right now we can skip the step. I’ll be grateful if someone can guide me.

Viewing 3 replies - 1 through 3 (of 3 total)

  • shanebp
    Moderator

    @shanebp

    Have you tried using the hook provided in the group > create template?

    For example, in this file: buddypress\bp-templates\bp-legacy\buddypress\groups\create.php
    Look for the group avatar section and use this hook:
    do_action( 'bp_after_group_avatar_creation_step' );


    pratibhasvaksha
    Participant

    @pratibhasvaksha

    No, I haven’t used the hook. I explored the templates and found out that it’s using another plugin for file handling. The js file are as follows:
    1. plupload.min.js
    2. moxie.min.js

    I even tried making the input field required using jquery but the id in the input field is coming dynamically. I cannot target the input field directly.


    pratibhasvaksha
    Participant

    @pratibhasvaksha

    Hello,
    can anyone help to make group avatar uploading mandatory?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar