Page 2 of 3

Re: Questions about Registration / Login

Posted: Tue Apr 04, 2017 7:40 am
by antoinegdln4
Okey Thanks,

But it was just to change : username ---> name
But i don't know if Author_Name = Username ?

Re: Questions about Registration / Login

Posted: Tue Apr 04, 2017 8:27 am
by axew3
antoinegdln4 wrote: Tue Apr 04, 2017 7:40 am Okey Thanks,

But it was just to change : username ---> name
But i don't know if Author_Name = Username ?
The above code change the author username into what choose by user as display name. Real username will be used instead, if no custom display name has been choose on profile by the user. I assume this will be the default behavior.
But i don't know if Author_Name = Username ?
I do not well understand what you mean maybe with the above.
You would like that if no custom display name has been choose by user, than the author name should display something else custom?

Re: Questions about Registration / Login

Posted: Wed Apr 05, 2017 2:18 pm
by antoinegdln4
Okey for the username :)

I just wanted that he can change on the memberlist (name instead of username)

I hope that we will have it too fro phpBB instead of the username displayed :)

Re: Questions about Registration / Login

Posted: Wed Apr 05, 2017 11:46 pm
by axew3
so resuming (as you'll have understand i can't focus well the thing):
The Main Username doesn't allow Underscore like "antoine_4"
where? seem in wp you can use it. So i assume In buddypress maybe no?
Because of the previous problem, the rightfull username is on the "name" section and not the "username" section in the registration.
But in WP, in phpBB, only the main username is displayed !
Only the main username, because phpBB not provide a custom name to use in place of username (or i'm wrong?) . So to get this result...
You want WP custom name, display for users in members list of phpBB or as username in phpBB on any phpBB contest?

Thinking better on it and how should done, included into this plugin maybe.
Add a custom phpBB profile field for user (can be created also via phpBB ACP admin): this field on db, will be filled by the plugin code with WP display name, and also maybe something custom until user not choose to setup the custom display_name on wp or phpBB profile.

So in phpBB, as above mentioned, it is needed just a function that switch to display the custom display_name in place of username, because due to the above at this point this data is available value to display into phpBB.

This should be the complete, correct easy joke.

p.s ways to achieve the result are several, it depend by the needed result to choose the best route.

I will follow with this about custom profile fields, and buddypress ...

Re: Questions about Registration / Login

Posted: Thu Apr 06, 2017 12:49 pm
by antoinegdln4
axew3 wrote: Wed Apr 05, 2017 11:46 pm
The Main Username doesn't allow Underscore like "antoine_4"
where? seem in wp you can use it. So i assume In buddypress maybe no?
I think it's on Buddypress maybe ? But you can not register (new users) with underscore, and that's bad for users who wants underscore in their username.

-- Yeah, i want exactly this : the buddypress name as the default username in WP and Phpbb, not only on the memberlist, bu on all the forum. So maybe a custom field should be the right idea.

Re: Questions about Registration / Login

Posted: Thu Apr 06, 2017 1:19 pm
by antoinegdln4
(And, what about members who visits WP-side, but are not mentionned in the phpBB memberlist ? (it was a request of an other topic , and you said it should be a feature for 1.6.8)