Forum Replies Created
-
Thanks but I actually get a messy url for the called image, which looks like : https://secure.gravatar.com/avatar/5f8db3e0ec852648d37cd8a3fd45c514?s=55&r=g&d=http%3A%2F%2Fmysite.com%2Fimage.jpg
gravatar.com is appended before the url even when I put an absolute url, in this example :
function myavatar_add_default_avatar( $url ) { return 'http://mysite.com/image.jpg'; }
Any idea why ?
ok thanks. FYI, I fixed this bug by using the plugin “User role Editor” 😉
Found the source of the issue. I had put the field (First name (Base)) in another group of fields, because it only makes the registration process longer and doesn’t bring anything valuable to the site. But when yo do so, it breaks the registration process for some reason. It no longers makes the required verifications.. I’m now implementing the solution of changing is_required described here by ModemLooper : https://buddypress.trac.wordpress.org/ticket/5373?cversion=0&cnum_hist=3
It seems to work, I only have a issue with the css (I put a big div with display none before xprofile fields and I’m closing it at the end, just before the submit button, but it puts the submit button on the right as if the xprofile field was there, weirdly/Buddypress should really have that in core as this required Xprofile field is really not user-friendly AT ALL. 😉
Thanks everyone ! 🙂
Yes, absolutely.
I found this : https://wordpress.org/support/topic/multisite-user-registration-access/
So I think the variable is_user_member_of_blog should return true only when used on the blog the user created his profile on, what do you think ? 😉
I went through the DB, turns out neither of these tables show anything related to the site which received the registration. Except if the ‘meta value’ show this info somewhere, but I must understand I can’t really understand how it’s formated :
examples :
a:2:{s:11:”add_to_blog”;s:1:”2″;s:8:”new_role”;s:12:”ap_moderator”;}
a:1:{s:11:”contributor”;b:1;}
a:3:{s:7:”field_1″;s:5:”roger”;s:17:”profile_field_ids”;s:1:”1″;s:8:”password”;s:34:”$P$BPW7grRY2kH62WleeehSB/Wd0AI2KnT.Cr/”;}Thanks for the answer. The user is redirected to the same site he registered in, which is nice. Yet new users are visible in the Network users listing, (wp-admin/network/users.php) but not in each site’s users listing (wp-admin/users.php), so I would assume there is no differenciation… Gonna look up in the database as you suggested
Hey Paul, thanks for your fast and precise answer 🙂
BP_ENABLE_MULTIBLOG seems to be exactly what I’d like to do !
Yet I understand it will create several pages in different languages for the same profile ; is there a way though for the site admin to know which language the profile was originally created in ? In other words, is there a way to segment the user database depending on which website created the user profile ?
Because if I want to communicate with my users and send emails to them I want to send the emails in the right language, in their language.Thanks again !