How do I make adding a profile photo be required

Hi Guys!

There are many members joining my site but some of them don't have profile photos. How do I edit the join page that will "force" them to add a profile photo?

Thanks,
Sam 

Quote · 4 Jul 2013

Not sure to help, but the mod by Zarcon worked for .9 < sites. I had done the mod and upgraded the site to 7.1.3 and that carried over.

Now a new site (7.1.x) will not accept this unless I did something wrong.

http://www.boonex.com/forums/topic/Mandatory-photo-on-join.htm

Not sure again for 7.1.x,

To make sure that photo is mandatory field:

1) check if 'Mandatory' field for 'ProfilePhoto' row in 'sys_profile_fields' table is set to 1

2) make sure that user is a redirect to the avatar cropping page, so he/she can crop uploaded image right away after join.

But there are still situation when profile can be without avatar

- when user is joined via Facebook login (or some other 3rd-party integration) without avatar 

- when user did'n press 'Set Avatar' button on avatar cropping page

- user manually deleted all their avatars from avatar cropping page

Attached is the old module by Zarcon, so like I said, this may not work on 7.1 sites but if you have a .9 site and are about to upgrade, do this mod first. It is working for me...

MandatoryPhoto.zip · 580B · 377 downloads
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 4 Jul 2013

You have profile photos and the avatar.  If you don't install the avatar module, then the small thumbnail for users will be their profile photo.  Some confusion exists; by default, there is a checkbox set that copies the avatar over to the profile photos, resulting in an enlarged avatar set in profile photos; I disabled that.

Geeks, making the world a better place
Quote · 4 Jul 2013

Has anyone figured this out for 7.1.3?

Bill and Deb
Quote · 5 Jul 2013

 

Has anyone figured this out for 7.1.3?

 Yes, I just did. Putting the photos and how to together now...

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 5 Jul 2013

Awesome work Newton!

I will be watching, this should be interesting.

Bill and Deb
Quote · 5 Jul 2013

To make the adjustments, you will have to open your database, navigate to;

From here you will look at the picture to see what changes to make.

 

And the results on join form,

See this mod in action at http://webcamyourface.com/join.php

After these changes are made. Clear your cache files.

I'm sure running a SQL query would work but I have no clue how to write that... lol

change-database.jpg · 365.4K · 1157 views
join-form-photo.jpg · 97.9K · 1264 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 5 Jul 2013

I will definitely try this in a little while, Good Work!

Bill and Deb
Quote · 5 Jul 2013

Worked perfectly. You should have stressed how simple this was to do once you figured it out.
Seriously... change 2 entries once you select insert and it's done. That has to be the easiest thing I have ever done with Dolphin.

Bill and Deb
Quote · 5 Jul 2013

 

You should have stressed how simple this was to do once you figured it out.

 True, and why can't this be a simple webmaster option?

Not all Dolphins can edit databases..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 5 Jul 2013

Here is the query you can run in phpmyadmin to make profile photo mandatory on join form.

EDITED: As newton said.

UPDATE `sys_profile_fields` SET `Mandatory` = '1' AND `JoinBlock` = '17' WHERE `Name` = 'ProfilePhoto';

and clear db cache.

so much to do....
Quote · 6 Jul 2013

 

Here is the query you can run in phpmyadmin to make profile photo mandatory on join form.

 As always you come to the rescue!

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 6 Jul 2013

Now this will make the photo upload and put into the album, but, as Zarcon has pointed out, the members can still skip the "Add" button.

What I did was to "flip" my avatar page, reason, many members uploads were large in pixel size moving the button out of site.

So doing this mod, http://www.boonex.com/forums/?action=goto&my_flags=1#topic/Re-Arrange-Avatar-Page-.htm

this has improved avatar follow through up to 98%.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 6 Jul 2013

 

To make the adjustments, you will have to open your database, navigate to;

From here you will look at the picture to see what changes to make.

 

And the results on join form,

See this mod in action at http://webcamyourface.com/join.php

After these changes are made. Clear your cache files.

I'm sure running a SQL query would work but I have no clue how to write that... lol

 Thanks Newton!
This is a big help.

I noticed something though, when a non-member visits the site, some members with a profile photo are invincible. Is this a feature? As soon as a member logs in, he/she can show all members profile photo in the Members page.

Regards,

Sam 

Quote · 7 Jul 2013

 

Here is the query you can run in phpmyadmin to make profile photo mandatory on join form.

EDITED: As newton said.

UPDATE `sys_profile_fields` SET `Mandatory` = '1' AND `JoinBlock` = '17' WHERE `Name` = 'ProfilePhoto';

and clear db cache.

 thanks sir! you made it a lot easier

Quote · 7 Jul 2013

 

 

Here is the query you can run in phpmyadmin to make profile photo mandatory on join form.

EDITED: As newton said.

UPDATE `sys_profile_fields` SET `Mandatory` = '1' AND `JoinBlock` = '17' WHERE `Name` = 'ProfilePhoto';

and clear db cache.

 thanks sir! you made it a lot easier

 Prashank always does.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 Jul 2013

Is it possible to make this photo visible to members (forced) and not let the member to be able to make it private or friends...only have the members option available !!!

Mike
Quote · 18 Sep 2014

I was searching the old forums and found this thread. I would like to make Photos mandatory on join. Is this still possible with 7.2? If it does where would I put this in myphpadmin? I am not as familiar with PHP as I would like.  Is it possible to get a how to step by step if possible so that I can learn as well.

 

Chris Reidenbach

Meet Singles Now

Christopher Reidenbach
Quote · 5 Oct 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.