Greetings Pro's,
It was brought to me attention today that members are having trouble uploading an image for there avatars during the registration process. I was told that I can disable the profile avatar request during the registration process and then force them to do it after they come back the next time. Can you take a look at this and either tell me why they cannot upload an avatar when registering or tell me how to disable this registration request during the initial registration process and then how to force the loading of it on the next visit?
Thanks,
David
Hi David,
This issue can be caused by menu configuration, the fastest way is skip it..
To skip avatar you can follow this
www.jomsocial.com/forum/profile-universa...-registration#135480
thank you!
Dimas,
Thank you for finding this fix for me, but I have a couple of concerns. One, the fix you sent me, below, is not found in my components/com_community/controllers/register.php
Below is from the thread you shared with me.........
change
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=register&task=registerAvatar', false));
to
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=register&task=registerSucess', false));
.....................................................
The closest line of code in my components/com_community/controllers/register.php directory is this,
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=profile'
There are several lines of code in this directory file, but none go beyond matching this,
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=
The several lines of code that match exactly to what is right above, are longer of course but none match the code that this fix indicates.
Because of this, I have not changed a thing. In your reply, you mention that this may be caused by "Menu Configuration". If that is the case, is there anything I can do to the menus to fix this? If not, what am I do to about this as problem as I am sure it is costing me members who are getting frustrated because MADD Talent is not working and just leave rather than finish registering. If possible, can you go in and fix this issue? If not, please let me know what I can do to resolve this.
Thanks,
David
Hi,
Please find this code :
index.php?option=com_community&view=register&task=registerAvatar
index.php?option=com_community&view=register&task= registerSucess
Dimas,
Thank you again. I found this one perfectly. I am sorry, but I have one small question and it may be stupid, but its code and I know it must be perfect. If you look at the lines of code, one that already exist and the one you asked me to replace it with, there is a space after the = in the replacement code. Just in case this might cause a problem, did you want that space?
Old Code: index.php?option=com_community&view=register&ask=registerAvatar
New Code: index.php?option=com_community&view=register&task= registerSucess
Thanks,
David
Dimas,
I appreciate you looking into this. I changed that one line of code, but it's still not working the way it should. I need to again ask you to look into this as its critically important that MADD Talents registration process is working correctly with no bugs at all.
We are about to release MADD Talents GameTime social application that we are developing for professional sports in the US and need this to work. The NFL 2016 season is about to begin and we are hopeful that this app of ours will go viral. Please look into this issue and either fix it or tell me what is causing this and what I need to do to fix it.
You mentioned that this might be caused by my complex menu configuration and if this is the case, it makes no sense. The menus are JomSocial menus and I am using them exactly as you programmed them to work. I have not modified them in any way. This was not a problem until just recently and I just need to know what will make it work flawlessly. If possible, please go in and do what you need to just turn off the Avatar upload part of the registration process. I don't think that's a perfect fix, but it will ensure that the registration process is working and I am not losing members because it currently is not.
Thanks,
David
Hi David,
Please remove the space..
Well, your photos menu on Jomsocial Toolbar is set to registered, if you wanna the avatar works on registration you need set that menu to public.
thank you!
Dimas,
That was it and thank you. I set the register.php code back to its original configuration and then set the "Photo's" menu to public. It worked better than perfect. Now my members have the option to skip that when they register or they can upload an avatar and it works perfectly.
Thanks,
David