Hide Last Name

This component hides the last name field on the signup form, edit profile, and admin add/edit profile. On the form, the last name field is filled with a customized word in the ossn_com.php file, to avoid the need to change any validation rules. But the field is filled with blank spaces in the database to not change the structure or any other functions.

To existent OSSN instances, it's possible to execute an automatic or manual update routine (as you desire) to merge the first and last name fields in the first name. The procedure is in Hide Last Name menu, in admin panel. In any case, before any change and for safety, a backup of the database is highly recommended.

On Red Crested OSSN Sandbox its possible to see the component in action. Use demouser as login and 123456789 as password.

How to buy

I am selling this component for US$ 19.00 through the Buy me a coffee website. To purchase, click in the button

Limitations

The component was tested in free version of OSSN 6.4 and 6.6, in the GoBlue theme. Maybe some adjustments are required in older versions and/or other themes.

Version

  • 1.0

    • Initial version

Contributing

Send email to [email protected].

License

Go to Red Crested License to read the last version of our terms.

Comments
Breton Rafael [redcrested.net] Replied 1 year ago

The operating design of the OSSN components allows the overlapping of files. By definition, the default component index is 200. I used a value of 300 in this component to decrease the chance of conflict. Michael used a value of 1000 in the Anonymous Registration component. This means that his component overrides mine when the files have the same path and name.

I installed the component in my test environment and there was no conflict. I created a new account with "Anonymous SOME_NUMBERS" without any errors. But the logic of two name fields prevailed. As the user has a first and second name, I needed to unify these fields in the admin panel. To avoid this for each new user, it will be necessary to modify some lines of the actions/register.php file of the Anonymous Registration component.

If you buy the component, I'll support you to get it working properly.

German Georg yurij Replied 1 year ago

Thanks @rafaelAmorim

Does this component work well with the Anonymous Registration component?

https://www.opensource-socialnetwork.org/component/view/4029/anonymous-registration

Thanks alot

Dutch Anton Paradise Replied 1 year ago

I'm not sure why there would be a reason for this. It is a good idea.
Hiding information does not have a reason when people want a good Bio and Infomation about themselves so I don't see the point in this component, Just saying ;))

German Dominik L Replied 1 year ago

Tested, works fine in combination with Display Username

gb TalkToAi Online Replied 1 year ago

Thanks for releasing this :)

Component

Developer: Rafael
License select license
Type: User admin
Requires Ossn Version : 6.4
Latest Version:
Last Updated
Repository Url View Repository

Versions