By usamam on Thursday, 19 April 2018
Posted in General
Replies 3
Likes 0
Views 422
Votes 0
Hi,
1. can we change the username construction format from "Full Name" or "email" to "fullname" , we can add our filter, if you could tell us which file to override, so that we remove the spaces and change case via php.

2. Can we autoset permalink same as username when client sets his username (or is auto suggested in case of oauth)?
Hi Usamam,

Kindly find my response for your inquiries below:
1. can we change the username construction format from "Full Name" or "email" to "fullname" , we can add our filter, if you could tell us which file to override, so that we remove the spaces and change case via php.

You mean the Facebook oauth login yes? and may I know what you mean by construction format? where currently you can choose the username to use as shown: http://take.ms/nfT6E

2. Can we autoset permalink same as username when client sets his username (or is auto suggested in case of oauth)?

If the permalink is do not set, it will use username as your default permalink
·
Friday, 20 April 2018 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
We want to know which file is responsible to generate the username format, we want to cut all spaces and change to lowercase
·
Monday, 23 April 2018 13:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Usamam,

The function to get name for each user is actually from the file:
.../administrator/components/com_easysocial/includes/user/user.php
under function getName

You're suggested to backup the file that you want to customize beforehand for precaution
·
Monday, 23 April 2018 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post