CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #11342

Limit fe_users by usergroup +++ Workaround

Added by Dirk Wildt over 2 years ago. Updated over 2 years ago.

Status:Accepted Start date:2010-12-08
Priority:Should have Due date:
Assignee:Martin Helmich % Done:

80%

Category:-
Target version:1.10.0 Estimated time:4.00 hours
Votes: 0

Description

Hy guys,
it would be wonderful to enable mm_forum, to limit fe_users by usergroups.

Two plugins are concerned:
  1. the forum plugin (the user list)
  2. the private message plugin (the user list you will receive by a search)

Workflow

You have to configure a new TypoScript property.
  1. plugin.tx_mmforum_pi1.userlist_limitToGroups = 1,19
  2. plugin.tx_mmforum_pi3.userlist_limitToGroups = 1,19
Comment
  1. TS property for mm_forum. Leave it empty, you won't have any effect.
  2. TS property for private messaging. Leave it empty, you won't have any effect.

Effect of the example above (1,19): Only users will displayed, which are a member of the group 1 or a member of the group 19

Workaround

See next issue in this thread.

Kind regards
Dirk Wildt http://wildt.at.die-netzmacher.de

class.tx_mmforum_pi1.php - class.tx_mmforum_pi1.php (258.4 kB) Dirk Wildt, 2010-12-08 20:17

class.tx_mmforum_pi3.php - class.tx_mmforum_pi3.php (36.9 kB) Dirk Wildt, 2010-12-08 20:17

History

Updated by Dirk Wildt over 2 years ago

Please download both files and search for the number of this issue: #11342

Example:
find . -print | xargs grep 11342
./pi1/class.tx_mmforum_pi1.php:# dwildt, 101207, #11342
./pi1/class.tx_mmforum_pi1.php:# dwildt, 101207, #11342
./pi1/class.tx_mmforum_pi1.php:# dwildt, 101207, #11342
./pi1/class.tx_mmforum_pi1.php:# dwildt, 101207, #11342
./pi3/class.tx_mmforum_pi3.php:# dwildt, 101207, #11342
./pi3/class.tx_mmforum_pi3.php:# dwildt, 101207, #11342

There are six times an adding and editing of the code.

Kind regards
Dirk

Updated by Dirk Wildt over 2 years ago

Background

We have a customer with the mm_forum, who has around 45.000 user accounts and around 100 usergroups.
The customer uses the mm_forum for two special groups with only 30 accounts.

Kind regards
Dirk

Updated by Martin Helmich over 2 years ago

  • Status changed from New to Accepted
  • Target version changed from 1.9.2 to 1.10.0

Also available in: Atom PDF