femanager icon indicating copy to clipboard operation
femanager copied to clipboard

add fields starttime and endtime to user model class (v.5.5.2)

Open format-gmbh opened this issue 3 years ago • 4 comments

format-gmbh avatar Feb 22 '22 14:02 format-gmbh

@format-gmbh can you explain, why we need these fields? I do not see a usecase.

sbusemann avatar Apr 01 '22 12:04 sbusemann

In my project the accounts are time limited. Start and end of the duration should be displayed to the user in his profile in the frontend.

format-gmbh avatar Apr 01 '22 13:04 format-gmbh

Then I'd recommend to extend the user in a separate extension with these fields. In femanager it would be mostly unused code for most users.

spoonerWeb avatar Apr 01 '22 13:04 spoonerWeb

If you look e.g. at GitHub or Twitter profiles. A "member since" functionality makes sense :smiley:

Patta avatar Apr 03 '22 10:04 Patta

@Patta But that data is neither in starttime nor in endtime. 😉

spoonerWeb avatar Jan 11 '23 09:01 spoonerWeb

Considering this already was some time ago, I assume you already were able to extend femanager fields in the project itself.

There is no use case of providing start/end date of users in femanager directly, as to why we recommend extending femanager yourself to get the provided functionality. An example extension on how femanager can be extended can be found at https://github.com/in2code-de/femanagerextended.

pixeldesu avatar Feb 19 '24 11:02 pixeldesu