[TYPO3-english] Re: Run PHP code

Mike Kane sara_bets at hotmail.com
Wed Nov 20 12:21:16 CET 2013

Hi Xavier, thank you for your time.

=> Create a simple extension (e.g., using EXT:kickstarter to help you).

I'm not yet that "familiar" with Typoscript, so writing an extension certainly would be a huge mountain to climb for me.

> Please ALWAYS use the TYPO3 database API

Ok i will follow your advice, and i already found the API guide...But where do i put the code that you are kindly giving me?

Hi Bernd, once again thank you for your time.

>substring(...,15,10) ???
>do you really know that your usergroup is identified with only one char?
>substring is no good solution! you can't avoid a split at the splitchars

I only use SUBSTRING to find the last part of "tx_itypoexpiringfegroups_groups" without the asterisk, where the expiration date is stored...

>there is another one which works in another way: timed_ugs

The problem with timed_ugs is the same with itypoexpiringfegroups, after the expiration date the user returns to the previous usergroup, which in this case is "Inactive", and i need to put them in another usergroup after the expiration date, which is "Expired". 

This is the main objecive of this script, after the expiration date i need users to be putten in another usergroup (non-timed), and what this extensions do is to put the users in same usergroup that they were before the timed usergroup

More information about the TYPO3-english mailing list