David Ansermot Web Developer / TYPO3 Integrator

16nov/110

TYPO3 – Auto assign not-logged feuser to a fegroup

In today’s short snippet, I’ll give you the easiest way I now to to assign a fegroup to your visitors, without login.

1- Begin by creating your FEgroup if not done yet.
2- In your localconf.php, for exemple, add those lines :

  1. $ip = $_SERVER[‘REMOTE_ADDR’];
  2. $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘IPmaskMountGroups’][] = array($ip, GROUPID);

3- Replace “GROUPID” by the id of the FEgroup.

Now all your visitors are members of this FEgroup.

Enjoy !

qrCode

Posts that maybe you want to read ::

Commentaires (0) Trackbacks (0)

Aucun commentaire pour l'instant


Leave a comment

(required)

Aucun trackbacks pour l'instant