Assign automatic name to new group registration.
I am setting up a site where we want to give a standard name to each new group that they can change later in their settings.
That way each new group is say: “Team #1” Where each new team gets the next number.
I tried to put in by using something like:
value="Team #<?php echo bp_new_group_id(); ?>"
in the group registration form, but it only returned: Team #0. The group ID hasn’t been created by that step yet…
Any magic to make this possible?
- You must be logged in to reply to this topic.