[TYPO3] sr_feuser setting start & stop automatically to d & d+365

Christopher Torgalson bedlamhotel at gmail.com
Fri Dec 22 01:56:25 CET 2006


Hi,

On 12/21/06, Kristian Sogaard <krs at k67.dk> wrote:
> I would like to have it so that when a user registers with sr_feuser the
> account is set to start=today and stop i set 1 year ahead.
>
> How would i do that ?


Well, I don't know of an existing extension that does this, but if you
look at a FE User record, you'll see that there are start and stop
fields as with regular content elements.

In addition, the sr_feuser_register extension can access several hooks
[1] that can be used to run code when the user is created...seems to
me that you could simply update the value of the 'stop' field for the
user in question when they register...


-- 
Christopher Torgalson


[1] http://typo3.org/documentation/document-library/extension-manuals/sr_feuser_register/2.5.2/view/1/5/#id2916744


More information about the TYPO3-english mailing list