Making Avatar a required field

  • Omotayo Hamzat
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #110702 by Omotayo Hamzat
Making Avatar a required field was created by Omotayo Hamzat
I am working on a site that has a free membership but requires the following:

1. That the avatar is a required field
2. That the account only become created after confirmation/activation by the admin

Is there a way to do this both

I tried to access the documentation server but did not get to the answer.

Thanks.

Please Log in or Create an account to join the conversation.

  • Omotayo Hamzat
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #110715 by Omotayo Hamzat
Replied by Omotayo Hamzat on topic Making Avatar a required field

Omotayo Hamzat wrote: I am working on a site that has a free membership but requires the following:

1. That the avatar is a required field
2. That the account only become created after confirmation/activation by the admin

Is there a way to do this both

I tried to access the documentation server but did not get to the answer.

Thanks.


Kindly reply to this quote above It is delaying my work. Much appreciated

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #110716 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Avatar a required field
Hi

I am sorry, I missed your post. Below are my answer to your questions:

1. Right now, the avatar is only an optional field, it is not required

2. If you want the user account only created after subscription become active, go to Membership Pro -> Configuration, set Only create user account when membership active/approved config option to Yes

By doing that, user account won't be created when user enters data on subscription form, only after subscription is active (users make payment or admin approve the subscription manually)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Omotayo Hamzat
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #110721 by Omotayo Hamzat
Replied by Omotayo Hamzat on topic Making Avatar a required field
Thank you Tuan for the response.

Can I create a field to take JPEG and make it re required to take a passport photograph. is this posible, will it display the photograph

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #110722 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Avatar a required field
Hi Omotayo

That won't work, unfortunately. So I guess you will have to customize code to make the avatar become required field

Try to look at the file components/com_osmembership/model/register.php, method validate , add some code to make sure the avatar is uploaded and it should solve your issue

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Omotayo Hamzat
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #110724 by Omotayo Hamzat
Replied by Omotayo Hamzat on topic Making Avatar a required field
Hi Tuan,
For sake of meeting timeline would you be able to help do the following even for a fee:
1. Make the avatar a required field
2. Design the invoice to be in the attached format

Thank you this is urgent please
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #110725 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Avatar a required field
For making avatar a required field, it will only cost you 20$. For making that invoice, to be honest, I am unsure. I will have to have my developer to look at it. We will give you quotation for that on tomorrow morning (it is 9;40pm here now)

However, I could say that it is a strange invoice layout. Why it doesn't contain any payment information at all?

Tuan

Please Log in or Create an account to join the conversation.

  • Omotayo Hamzat
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #110726 by Omotayo Hamzat
Replied by Omotayo Hamzat on topic Making Avatar a required field
Can I pay the 20$ right away.

For the invoice it is a actually something like an ID Card for the event. If you have other alternative to achieve it I will be happy.

Kindly advice on how to move this forward starting with the Avatar

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #110730 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Making Avatar a required field
Hi

Please submit a support ticket and I will guide you how to move forward with making avatar a required field

Regards,

Tuan

Please Log in or Create an account to join the conversation.