Can any help me to make mandatory photo on join?
Is important for my site. Thank you very much!
Can any help me to make mandatory photo on join?
Is important for my site. Thank you very much! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Access your database via MyPhpAdmin (example) and browse the sys_profile_fields table. Edit the ProfilePhoto entry (pencil icon) and put a 1 in the mandatory field. That should make it mandatory. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thank you very much Zarcon, I´m goin to try it right now! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
oops. This field is not here. here are: ID, sex, ... all except photojoin. I don´t know which one are those: Featured and aff_num
But photo join is not here. Thanks any way | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Are you looking in the database itself or in the Admin Panel? You should be in the database, looking in the sys_profile_fields table. If you have cPanel, log into it. Click MyPhpAdmin, click your D7 database. Click the sys_profile_fields table on the left. Click the Browse button (at the top ) and find the entry called ProfilePhoto (mine was on the second page). Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zarcon I understand you, all fields in join are here, but in mi DB not here is what I got: this is a copy/paste:
And sure I got this field in my web. Thank you very much | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What you pasted are the fields in the Admin Panel>Builders>Profile Fields and NOT the database. Do you have cPanel access to your web host? You need to access your database NOT your Admin Panel. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sure Zarcon, this is from phpMyadmin
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LOL, that looks like it is from your Profiles table (sorry). Look in the sys_profiles_fields table instead. Might be on page 2 of this table. BTW, you are using Dolphin 7 correct? Just curious cause my profiles table is different. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ohh I did not see the next page botton, so sorry!
Now I write a 1 in mandatory field but not show * thanks a lot Zarcon! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You need to clear your /cache folder except for the .htaccess file. You can then refresh the Join page and see that the * is now there for Profile Photo. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Access your database via MyPhpAdmin (example) and browse the sys_profile_fields table. Edit the ProfilePhoto entry (pencil icon) and put a 1 in the mandatory field. That should make it mandatory.
Chris
How can one access MyPhpAdmin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Access your database via MyPhpAdmin (example) and browse the sys_profile_fields table. Edit the ProfilePhoto entry (pencil icon) and put a 1 in the mandatory field. That should make it mandatory.
Chris
How can one access MyPhpAdmin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wemegah, if you have access to cPanel for your web hosting, there is an MyPhpAdmin icon in there. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wemegah, if you have access to cPanel for your web hosting, there is an MyPhpAdmin icon in there.
Chris
I have been having a problem with Profile Fields under Builder in the admin login. The profile field will not load. It says Loading and just sits ther forever
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zarcon, WOW you are right, now my web got photo on join mandatory. Thank you very very much!! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wemegah, if you have access to cPanel for your web hosting, there is an MyPhpAdmin icon in there.
Chris
I have been having a problem with Profile Fields under Builder in the admin login. The profile field will not load. It says Loading and just sits ther forever
Please start a different thread for this issue. Discussing to completely different issues will just confuse people. We'll be happy to help you in your own thread. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
i try this but is nat working for me when i click Join Now they can join on the site with out photo i want to make this work i'm getting many memeber and they dont upload the profile photo and the site look bad many members with no photo Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, how to add the profile photo for the second person in the join form when is select a couple ? ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
excellent...Thanks Zarcon! Ooops...spoke too early without testing. I was able to see * appear but was able to join without uploading. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes, certain. Is possible to register with out photo, but the most of the people as they see red* don´t know this so they upload photo, if not, the next page is avatar, so... at the end the most of them upload photos. Very good work Zarcon, thank you very much. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
That's true tho. Thx mdroca. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes, certain. Is possible to register with out photo, but the most of the people as they see red* don´t know this so they upload photo, if not, the next page is avatar, so... at the end the most of them upload photos. Very good work Zarcon, thank you very much. That's not a valid solution! If it's mandatory, IT SHOULD work! A lot of my members, disregard the red * and still continue, by passing the avatar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, i made mandatory the upload of photo profile at the join in form, but some users, after joining delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar) the user can not delete it Thank you... ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, i made mandatory the upload of photo profile at the join in form, but some users, after joining delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar) the user can not delete it
Thank you...
That is a good question! I would like to know too | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, i made mandatory the upload of photo profile at the join in form, but some users, after joining delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar) the user can not delete it Thank you... No one know how? ... Thank... ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Is there a special way to clear cache through Dolphin admin or myphp admin? I clear cache through Firefox tools but I still don't see the * after setting mandatory to 1. Any suggestions? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Is there a special way to clear cache through Dolphin admin or myphp admin? I clear cache through Firefox tools but I still don't see the * after setting mandatory to 1. Any suggestions? In the Dolphin administration panel's dashboard, there will be an area to clear the cache for certain, or all parts of the web site (such as templates and database). The other way is to delete the contents of the ./cache directory (except for the .htaccess file) and the ./cache_public directory. A note: clearing your web browser cache does little to nothing, since Dolphin's cache system saves the data to the server. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I looked but I'm not finding that area in Dolphin admin. Do you know what section that is in? I would rather not do the other way of clearing cache in fear of messing something else up on my website. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Is there a special way to clear cache through Dolphin admin or myphp admin? I clear cache through Firefox tools but I still don't see the * after setting mandatory to 1. Any suggestions? You need to clear all the files,execpt the .htaccess, inside the folder " Cache" , after that refresh the page on the browser... ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Magnus said there is a way to clear cache in the Dolphin administration panel's dashboard. I can't seem to find it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Magnus said there is a way to clear cache in the Dolphin administration panel's dashboard. I can't seem to find it. It's on the dashboard page where you are presented with information on your web site. I'll provide a visual in a moment. Edit: here you go: BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wow...how obvious was that one. I overlooked it. Thanks Magnus. One last question. Zarcon said to clear /cache folder except for the .htaccess file. How do I just clear that? The only options I see are: clean all, clean templates, clean db, and clean js/c | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wow...how obvious was that one. I overlooked it. Thanks Magnus. One last question. Zarcon said to clear /cache folder except for the .htaccess file. How do I just clear that? The only options I see are: clean all, clean templates, clean db, and clean js/c To do this, you must use either a file manager on the web server, or a FTP client. Using either, you would then need to navigate to your directory where you installed Dolphin, and then to the /cache directory. You can select all the files (except for the .htaccess file) and delete them. This is perhaps the best way to empty the cache. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
after setting it to mandatory in the db you still can signup without photo you just skip the little * so it's not a solution | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yea u right prolaznik it's not a solution the memebers can still signup without photo after setting it to mandatory in the db you still can signup without photo you just skip the little * so it's not a solution Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, i made mandatory the upload of photo profile at the join in form, but some users, after joining delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar) the user can not delete it Thank you... Nobody know how to do? ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thats correct, this is not a complete solution. It will "mark" it as mandatory but users can still join without it, This is about the only clue I have regarding a complete solution but I cannot get it to work properly. So if someone wants to take a stab at it: Take a look at checkPostValueForSystem function in BxDolProfileFields.php file. Its going to be somewhere in here.. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I check and wat i do now lol ________________________________________________________________________________ function checkPostValueForSystem( $aItem, $mValue ) { Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I check and wat i do now lol ________________________________________________________________________________ function checkPostValueForSystem( $aItem, $mValue ) { Shouldn't you return the broken key with your true? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I bring this post back to life because I think alot of us would like to have this. So in the BxDolProfileFields.php file, does someone know how to code the profile photo to be mandatory? Currently under checkPostValueForSystem function it looks like this: case 'ProfilePhoto': Other mandatory fields look like this (Terms Of Use) case 'TermsOfUse': I attempted to do something like: case 'ProfilePhoto': Which WILL stop the joining process and display that message, however when you browse to a photo location and choose one, it still displays an error as if you didnt choose anything. Any help form more experienced PHP programmers? Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I played a bit in that file but was not able to do it either....aint a programmer tho. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can we incorporate the same pedit.js check to the join page as the pedit page? When editing the profile page after it is created, the pedit.js will check for mandatory fields marking and display an error if they are not filled in, even if no minimal value is set. Does anyone know who to incorporate that to work with the join for error checking which should then throw an error if the photo is not set, I believe. Nevermind, it is something else that is not checking the value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
According to AntonLV, the function is checking in the checkPostValueForSystem function located in the BxDolProfileFields.php file. The only problem is he would not tell me "what" to change the code below to: case 'ProfilePhoto': Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The code is working when they click the submit with out photo they get the warning : You must upload a profile photo but if u upload the profile photo they get the warning twoo " You must upload a profile photo
According to AntonLV, the function is checking in the checkPostValueForSystem function located in the BxDolProfileFields.php file. The only problem is he would not tell me "what" to change the code below to: case 'ProfilePhoto': Chris Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We've racked over this for a while today and haven't come up with a solution. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
True, seems like nothing we have tried has worked yet. But I have faith in our Boonexers (cough cough) and someone is going to post the solution.. yep... any minute now... Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I bring this post back to life because I think alot of us would like to have this. So in the BxDolProfileFields.php file, does someone know how to code the profile photo to be mandatory?
Currently under checkPostValueForSystem function it looks like this: case 'ProfilePhoto':
Other mandatory fields look like this (Terms Of Use) case 'TermsOfUse':
I attempted to do something like: case 'ProfilePhoto':
Which WILL stop the joining process and display that message, however when you browse to a photo location and choose one, it still displays an error as if you didnt choose anything. Any help form more experienced PHP programmers?
Chris
I didn't try or test anything until now, just reading your post. In: case 'ProfilePhoto': try to delete your last line - return true; - as you just tested the line above if true or false.
case 'ProfilePhoto':
could maybe work ?
Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have been watching this thread in anticipation. Pls be our saviour MS. I bring this post back to life because I think alot of us would like to have this. So in the BxDolProfileFields.php file, does someone know how to code the profile photo to be mandatory? Currently under checkPostValueForSystem function it looks like this: case 'ProfilePhoto': Other mandatory fields look like this (Terms Of Use) case 'TermsOfUse': I attempted to do something like: case 'ProfilePhoto': Which WILL stop the joining process and display that message, however when you browse to a photo location and choose one, it still displays an error as if you didnt choose anything. Any help form more experienced PHP programmers? Chris I didn't try or test anything until now, just reading your post. In: case 'ProfilePhoto': try to delete your last line - return true; - as you just tested the line above if true or false. case 'ProfilePhoto': could maybe work ? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ok, during my tests, the variable $mValue in the ProfilePhoto case is always null regardless, so the test will allways pass and return true. So there is a bug in dolphins code elsewhere before this check. Change This.
https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In any case. I believe we have bug to put into trac. How to explain it to them though. Zarcon and I came to the same conclusion that the variable is always returning null no matter what type of check we used (and we tested a bunch of different ones). Are you going to put something in trac, I can try to explain it up but I'm not quite sure how to describe the issue. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In any case. I believe we have bug to put into trac. How to explain it to them though. Zarcon and I came to the same conclusion that the variable is always returning null no matter what type of check we used (and we tested a bunch of different ones). Are you going to put something in trac, I can try to explain it up but I'm not quite sure how to describe the issue. @deano92964 thx guys :) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I can't get the workaround to work on a 2 page join form, it just resets the page and clears the uploaded picture. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Interesting. Well, when i have time i will setup a 2 page form and do some more tests. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I can't get the workaround to work on a 2 page join form, it just resets the page and clears the uploaded picture. weird i did try it and it worked i also have a 2page join form but i do have the upload photo box on the first join page | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
photo upload is on the first page. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
photo upload is on the first page. in the sys_profile_fields table photo mandatory field did you set it back to 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Have you done anything else to try and make in mandatory? Besides this code change? https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I set it back to 0 in the table, but still a no-go. Guess I have to wait till boonex fixes it which I'm sure will be soon lol. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
my results are the same as maurice too. Page resets upon submission and upload warning reappears. (Also changed the mandatory to 0 within DB.) Deano, is that the only code you've changed and it worked for you? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes. I did nothing else. But i also have a single join page. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes. I did nothing else. But i also have a single join page. I did comment out the entire code and added your line. If you don't comment out the bottom part and try to add a photo it will return a hack error. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yes. I did nothing else. But i also have a single join page. I did comment out the entire code and added your line. If you don't comment out the bottom part and try to add a photo it will return a hack error. You commented out all of it? Including the bottom return true? Because that has to remain there. I edited my code to make it a bit more clear. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
made it exactly the same and still same issue. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I'll do some further tests later to see if i can find another solution. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One last question. Does you site have caching enabled or disabled in admin? https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enabled | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
After that fix is in place, did you try to empty the cache. I don't think the join form is cached in any way, but i am grasping at straws at the moment. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
After that fix is in place, did you try to empty the cache. I don't think the join form is cached in any way, but i am grasping at straws at the moment. Another no-go, I turned off all caching and cleared everything out but the same issue. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ahhh fiddle sticks. https://www.deanbassett.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deano, It seems you are on the right track though. You could make a lot of friends here if you post everything that needs to be changed in one post. :) <Chanting.. deano.. deano..deano..You can dew it) Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thanks! I will be waching this topic lol Ahhh fiddle sticks. Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deano, I get the same results too, and now my eyes are tired :) Anxiously waiting.... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Try to change this code: if (!isset($mValue)) to this:
The problem is that join form try ajax check at first ! but during ajax check file is not uploaded at all ! .. so the solution of the problem is to check if it is ajax request, and do not do any checking, after ajax request is done, the from is tried to be submitted without ajax - at this stage file is uploaded and checking can be performed ! Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Try to change this code: if (!isset($mValue)) to this:
The problem is that join form try ajax check at first ! but during ajax check file is not uploaded at all ! .. so the solution of the problem is to check if it is ajax request, and do not do any checking, after ajax request is done, the from is tried to be submitted without ajax - at this stage file is uploaded and checking can be performed ! This does work in forcing the photo upload. However if the check fails (i.e. they did not upload a photo) then this error is thrown from the system: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://www.boonex.com/trac/dolphin/ticket/1856 - here is more complicated fix here - also it takes into account 'mandatory' profile fields value. Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://www.boonex.com/trac/dolphin/ticket/1856 - here is more complicated fix here - also it takes into account 'mandatory' profile fields value. Thanks for the work Alex. This new change fixes it perfectly and doesn't throw the error about unhooking. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Could some one post the fix here? Alex has closed the ticket... http://www.boonex.com/trac/dolphin/ticket/1856 - here is more complicated fix here - also it takes into account 'mandatory' profile fields value. Thanks for the work Alex. This new change fixes it perfectly and doesn't throw the error about unhooking. There are none so blind as those that will not see. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here is the link to the changes. I would download the file and replace your existing one vs. trying to put them in by hand. REMEMBER: You must set the field to mandatory and the only way to do that is to edit it in the database. Changeset here: http://www.boonex.com/trac/dolphin/changeset?old_path=%2F&old=13693&new_path=%2F&new=13693 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Many thanks for that! Stuart There are none so blind as those that will not see. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There is another bug with this fix. If you use the fix but have a 2 page join form, users cannot complete the join form. Upon submit of the second page of the join form, an error is returned saying that the user failed to fill in some required information. However there is nothing that the user forgot to fill in on the second page. I currently have the photo upload on the first page of the join process, I have not tried what happens if you put the photo upload on the second page and try to submit from there. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thanks a lot AlexT and all guys that spended his time with this. Now it works perfect, tested with IE, Chrome, firefox. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Thank you Alex :-) Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AlexT... I think I love you.. dah dun da dun... But I wanna know fa shore.. dah dun da dun.. Thank you for assisting us in a resolution. Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can someone post the modified BxDolProfileFields.php file somewhere? its a pain going line by line | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can someone post the modified BxDolProfileFields.php file somewhere? its a pain going line by line If you scroll to the bottom of that link you provided in your post, you will see the the option to: Download in other formats:Choose: Original Format Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Are you sure you are here: http://www.boonex.com/trac/dolphin/browser/trunk/inc/classes/BxDolProfileFields.php?rev=13693 I can Original Format just fine.. in IE and FF (just to make sure) Chris Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Works perfectly! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A big hand for Alex but I like to thank everyone who worked so hard persistantly to get noticed by Alex and get this resolved....thank you! I guess if we team up again on another big issue, we can get things done like this :) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Greate Job Thanks! Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UFO360, I just wanna know "who" that is in the picture.. haha.. just messin. Nothing to see here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lol : a Beatiful Girl from my friend site Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I'd llike to update on the continuing issue. To make a forced picture on upload, you MUST place the upload box on the final join page, meaning if you have 2 page join form, the upload box must be on page 2. Otherwise your users will never be able to join because the still looks for an uploaded picture on the 2nd join page. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ok is working fine but on the second page the new member can remove the photo or avatar how can this be automatic add with out going to thet second page Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi, great job for the mandatory photos, THANK !! I ask few time and i try to ask again help for one issue : some users, after joining, delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar)on the profiles, the user can not delete it, otherwise don't make sens to have mandatory photos at the login !! Thank ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
agree this is the second problem now they upload the photo and than on the second page they can't delete it
Hi, great job for the mandatory photos, THANK !! I ask few time and i try to ask again help for one issue : some users, after joining, delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar)on the profiles, the user can not delete it, otherwise don't make sens to have mandatory photos at the login !! Thank Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
agree this is the second problem now they upload the photo and than on the second page they can't delete it
Hi, great job for the mandatory photos, THANK !! I ask few time and i try to ask again help for one issue : some users, after joining, delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar)on the profiles, the user can not delete it, otherwise don't make sens to have mandatory photos at the login !! Thank Just now i remeber (and found), that i ask the some also for D6.1.6 and myDatery give me this suggestion : http://www.boonex.com/unity/forums/topic/About-the-delete-picture-.htm But i never figur out (i'm not a programmer)... I hope can help you guys... ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I don't think this with help people he say : Don't have time right now to do the full tweak so is no reason to make a crap topic like that i don't call that support agree this is the second problem now they upload the photo and than on the second page they can't delete it
Hi, great job for the mandatory photos, THANK !! I ask few time and i try to ask again help for one issue : some users, after joining, delete the photo. So i have some profiles without photos... How i can block this? I means if is only 1 photo (or avatar)on the profiles, the user can not delete it, otherwise don't make sens to have mandatory photos at the login !! Thank Just now i remeber (and found), that i ask the some also for D6.1.6 and myDatery give me this suggestion : http://www.boonex.com/unity/forums/topic/About-the-delete-picture-.htm But i never figur out (i'm not a programmer)... I hope can help you guys... Post Reply - if you going to help - No for - bla bla bla bla | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Quote • Feb 12, 2010 00:56 • 0 likes •
Here is the link to the changes. I would download the file and replace your existing one vs. trying to put them in by hand. REMEMBER: You must set the field to mandatory and the only way to do that is to edit it in the database. Changeset here: http://www.boonex.com/trac/dolphin/changeset?old_path=%2F&old=13693&new_path=%2F&new=13693 can anyone tell me if this has been intergrated into dolphin 7.0.8 i have downloaded the changeset file but im not sure if i need to replace the exsisting file. or just set photo upload to mandator in my database. And if it is nesicery to replace should i upload file .diff or the zip file, If i understand corectly the file is php, so when i see the extenstion .diff i get lost because i am expecting a file .php Is .diff the languege of dolphin? thankyou very much for clarifing this issue | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hey guys I'm having slight trouble getting the mandatory photo on join working. I'm using D7.0.9 which may be the reason why I can't get it to work. Anyhow, after I merge the BxDolProfileFields.php file via FTP , clear out all the cache, and the refresh my browser, I go to join and I'm confronted with this message in the "Join Now" block... Profile Fields cache not loaded. Cannot continue. I have set the profile photo as mandatory in PHPAdmin but I can't understand why the profile fields cache will not load. I poured over this topic several times and I must have somehow overlooked a crucial step. Can anyone point me in the right direction please? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You don't need to apply any fixes, fixes are included in default version and definitely available in 7.0.9. The only restriction to "upload photo" field on join is that it need to be placed on the last step, in the case of multiple pages join form. Hey guys I'm having slight trouble getting the mandatory photo on join working. I'm using D7.0.9 which may be the reason why I can't get it to work. Anyhow, after I merge the BxDolProfileFields.php file via FTP , clear out all the cache, and the refresh my browser, I go to join and I'm confronted with this message in the "Join Now" block... Profile Fields cache not loaded. Cannot continue. I have set the profile photo as mandatory in PHPAdmin but I can't understand why the profile fields cache will not load. I poured over this topic several times and I must have somehow overlooked a crucial step. Can anyone point me in the right direction please?
Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Oh, now I understand. Thanks Alex so much for the clarification. Now I can move forward with what I need to do. You rock! You don't need to apply any fixes, fixes are included in default version and definitely available in 7.0.9. The only restriction to "upload photo" field on join is that it need to be placed on the last step, in the case of multiple pages join form. Hey guys I'm having slight trouble getting the mandatory photo on join working. I'm using D7.0.9 which may be the reason why I can't get it to work. Anyhow, after I merge the BxDolProfileFields.php file via FTP , clear out all the cache, and the refresh my browser, I go to join and I'm confronted with this message in the "Join Now" block... Profile Fields cache not loaded. Cannot continue. I have set the profile photo as mandatory in PHPAdmin but I can't understand why the profile fields cache will not load. I poured over this topic several times and I must have somehow overlooked a crucial step. Can anyone point me in the right direction please?
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What do I delete in this fix? Do I delete the full line or only the _temp and then add whats in dark green. Right? http://www.boonex.com/trac/dolphin/changeset?old_path=%2F&old=13693&new_path=%2F&new=13693 Sometimes communicating your problem and putting it out there is enough to solve it | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You don't need to apply any fixes, fixes are included in default version and definitely available in 7.0.9. What do I delete in this fix? Do I delete the full line or only the _temp and then add whats in dark green. Right? http://www.boonex.com/trac/dolphin/changeset?old_path=%2F&old=13693&new_path=%2F&new=13693
Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You don't need to apply any fixes, fixes are included in default version and definitely available in 7.0.9. What do I delete in this fix? Do I delete the full line or only the _temp and then add whats in dark green. Right? http://www.boonex.com/trac/dolphin/changeset?old_path=%2F&old=13693&new_path=%2F&new=13693
Alex, so why do I still get new members signing in with no photos? Sometimes communicating your problem and putting it out there is enough to solve it | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 redirected to 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 Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Alex you were right about "when user did'n press 'Set Avatar' button on avatar cropping page". Any ideas how to fix this? Maybe we can set it up so that if they don't click "set avatar" then whatever image they uploaded will be valid and will be presented. There must be some simple solution to this, right? Sometimes communicating your problem and putting it out there is enough to solve it | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I suggest to change text on avatar page to make it more clear for users that they need to press "set avatar button" Alex you were right about "when user did'n press 'Set Avatar' button on avatar cropping page". Any ideas how to fix this? Maybe we can set it up so that if they don't click "set avatar" then whatever image they uploaded will be valid and will be presented. There must be some simple solution to this, right?
Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
That is a very good idea man. I should be able to find this text with Language Settings I guess. Thanks Alex!!
I suggest to change text on avatar page to make it more clear for users that they need to press "set avatar button" Alex you were right about "when user did'n press 'Set Avatar' button on avatar cropping page". Any ideas how to fix this? Maybe we can set it up so that if they don't click "set avatar" then whatever image they uploaded will be valid and will be presented. There must be some simple solution to this, right?
Sometimes communicating your problem and putting it out there is enough to solve it | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I just applied the mandatory setting to the photo field on the join page, and it worked perfectly... it allows the user to crop their avatar, and when I copy/paste a user's profile link in a Facebook update on Facebook itself, it shows their profile pic as the thumbnail for the post. Here's what's strange though... their photo still is not showing up in the Megaprofile block of their profile page. Any idea why that would occur? Here's my site's url: http://tinyurl.com/6vcdbra Thanks! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If your site use pre-moderation (admin approves each profile manually) then photo can't be copied from avatar to profile photos due to restriction in photos module - which don't allow not-active members to upload photos. I just applied the mandatory setting to the photo field on the join page, and it worked perfectly... it allows the user to crop their avatar, and when I copy/paste a user's profile link in a Facebook update on Facebook itself, it shows their profile pic as the thumbnail for the post. Here's what's strange though... their photo still is not showing up in the Megaprofile block of their profile page. Any idea why that would occur? Here's my site's url: http://tinyurl.com/6vcdbra Thanks!
Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
So how can we fix this Alex? every problem has a solution, right? Can we set it up so that it will happen automatically that the first photo the person uploads will be the profile image.
If your site use pre-moderation (admin approves each profile manually) then photo can't be copied from avatar to profile photos due to restriction in photos module - which don't allow not-active members to upload photos. I just applied the mandatory setting to the photo field on the join page, and it worked perfectly... it allows the user to crop their avatar, and when I copy/paste a user's profile link in a Facebook update on Facebook itself, it shows their profile pic as the thumbnail for the post. Here's what's strange though... their photo still is not showing up in the Megaprofile block of their profile page. Any idea why that would occur? Here's my site's url: http://tinyurl.com/6vcdbra Thanks!
Sometimes communicating your problem and putting it out there is enough to solve it | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AlexT: thanks! Very good information. yuval: I'm with you... would be nice if there was a fix for that. Hopefully one can be discovered. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The only way for now is to turn off pre moderation, so users becomes active after join. If you need to control what they can do - then you can achieve this using membership levels. So "Standard" membership level will have limited actions, and some other membership (for example "Validated") will have all necessary actions activated. During checking admin need to change "Standard" membership to "Validated" membership manually if user passed the checking. So how can we fix this Alex? every problem has a solution, right? Can we set it up so that it will happen automatically that the first photo the person uploads will be the profile image.
If your site use pre-moderation (admin approves each profile manually) then photo can't be copied from avatar to profile photos due to restriction in photos module - which don't allow not-active members to upload photos. I just applied the mandatory setting to the photo field on the join page, and it worked perfectly... it allows the user to crop their avatar, and when I copy/paste a user's profile link in a Facebook update on Facebook itself, it shows their profile pic as the thumbnail for the post. Here's what's strange though... their photo still is not showing up in the Megaprofile block of their profile page. Any idea why that would occur? Here's my site's url: http://tinyurl.com/6vcdbra Thanks!
Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The only way for now is to turn off pre moderation, so users becomes active after join. If you need to control what they can do - then you can achieve this using membership levels. So "Standard" membership level will have limited actions, and some other membership (for example "Validated") will have all necessary actions activated. During checking admin need to change "Standard" membership to "Validated" membership manually if user passed the checking. So how can we fix this Alex? every problem has a solution, right? Can we set it up so that it will happen automatically that the first photo the person uploads will be the profile image.
If your site use pre-moderation (admin approves each profile manually) then photo can't be copied from avatar to profile photos due to restriction in photos module - which don't allow not-active members to upload photos. I just applied the mandatory setting to the photo field on the join page, and it worked perfectly... it allows the user to crop their avatar, and when I copy/paste a user's profile link in a Facebook update on Facebook itself, it shows their profile pic as the thumbnail for the post. Here's what's strange though... their photo still is not showing up in the Megaprofile block of their profile page. Any idea why that would occur? Here's my site's url: http://tinyurl.com/6vcdbra Thanks!
Thanks, Alex. This looks like a good workaround. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Unfortunately, this is not working as expected... My settings are as follows: Automatic profile activation after joining (checked) Do not change profile status after editing profile information (checked) Automatic profile confirmation without Confirmation Email (checked)
After proceeding past the join page, I am presented with the Avatar creation page. Here, I can crop the Profile Pic I just uploaded. In the box above the crop area, it shows a checked check box that states "Copy to profile photos album". However, once I proceed past that page, no images are saved in my Profile Photos album and the profile image is the same old standard silhouette image I was seeing before. As you will see below, it does show the silhouette image in the "current avatar" area. However, if I "Choose File" and upload a new avatar image there, it shows the new avatar photo but still does not make it my profile image. FYI, I am using Megaprofile, 1Col, 3Col, PhotoDeluxe, and SpyWall from IBDW. Could that have anything to do with this issue? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FYI, I am using Megaprofile, 1Col, 3Col, PhotoDeluxe, and SpyWall from IBDW. Could that have anything to do with this issue? Please try to reproduce this problem on http://demo.boonex.com to see if 3rd-party modules affects this. Also this is another problem and it is better to start a new thread. Rules → http://www.boonex.com/terms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FYI, I am using Megaprofile, 1Col, 3Col, PhotoDeluxe, and SpyWall from IBDW. Could that have anything to do with this issue? Please try to reproduce this problem on http://demo.boonex.com to see if 3rd-party modules affects this. Also this is another problem and it is better to start a new thread. The problem did not reproduce on the boonex demo site, but then again that site does not have Megaprofile, etc installed. I will begin a new thread about my specific issue. Thanks! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||