DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: Extend extension "comments" with FE user¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed by: | Sven Burkert |
Changed: | 2009-10-21T01:07:41.620000000 |
Classification: | feuser4comments |
Description: | The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ---- |
Keywords: | forAdmins, forBeginners |
Author: | Sven Burkert |
Email: | sventb@googlemail.com |
Info 4: | |
Language: | en |
EXT: Extend extension "comments" with FE user - feuser4comments
EXT: Extend extension "comments" with FE user¶
Extension Key: feuser4comments
Language: en
Keywords: forAdmins, forBeginners
Copyright 2000-2009, Sven Burkert, <sventb@googlemail.com>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
EXT: Extend extension "comments" with FE user 1
`Introduction 3 <#1.1.Introduction|outline>`_
`Administration 4 <#1.2.Administration|outline>`_
`Configuration 5 <#1.3.Configuration|outline>`_
`To-Do list 6 <#1.4.To-Do%20list|outline>`_
`ChangeLog 7 <#1.5.ChangeLog|outline>`_
Introduction¶
What does it do?¶
This extension enhances the extension “comments” with saving the ID of the (registered and logged-in) user which is writing a comment. It also provides new template markers with data from the table “fe_users”.
Screenshots¶
A demo is available here: http://www.sbtheke.de/demo/feuser4comments/
In the screenshot you can see the two comments, the first is from a registered user (therefore there are more informations available about him) and the second is from an anonymous user (he isn't logged in).
Administration¶
- Install the extension via the extension manager.
- Optional: configure the extension in a template (see chapter “Configuration” for possible options).
- Extend the template for “comments” (located in typo3confextcommentsrespi1_template.html) with the additional markers.
Configuration¶
TS constants reference¶
These properties are for TypoScript Constants field.
fe_users.fields¶
Property
fe_users.fields
Data type
string
Description
Comma separated list of fields from table “fe_users”. You can use these fields as markers in the “comments” template.
Example:
With the default setting, you can use ###USERNAME### and ###FIRST_NAME### as markers.
Default
username,name,email,address,zip,city,country,www,lastlogin,usergroup
dontShowUsergroups¶
Property
dontShowUsergroups
Data type
string
Description
Comma separated list of usergroup IDs which should not be shown in a comment.
Default
((Unknown Property))¶
Property
Data type
Description
Default
((Unknown Property))¶
Property
Data type
Description
Default
Example:
plugin.feuser4comments{
fe_users.fields =username,name,usergroup
dontShowUsergroups = 1,2,5
}
TS setup reference¶
These properties are for TypoScript Setup field.
fieldconf¶
Property
fieldconf
Data type
Description
For each field from fe_users.fields you can define some stdWrap commands here
Default
((Unknown Property))¶
Property
Data type
Description
Default
((Unknown Property))¶
Property
Data type
Description
Default
To-Do list¶
Write me if you miss something.
ChangeLog¶
- 1.0.1: Update of manual
- 1.0.0: Bugfixing and more configuration possibilities
- 0.0.1: Initial upload
7