.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ============================================= 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 |img-1| |img-2| EXT: Extend extension "comments" with FE user - feuser4comments .. _EXT-Extend-extension-comments-with-FE-user: EXT: Extend extension "comments" with FE user ============================================= Extension Key: feuser4comments Language: en Keywords: forAdmins, forBeginners Copyright 2000-2009, Sven Burkert, 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: Table of Contents ----------------- `EXT: Extend extension "comments" with FE user 1 <#1.EXT:%20Extend%20e xtension%20"comments"%20with%20FE%20user|outline>`_ **`Introduction 3 <#1.1.Introduction|outline>`_** `What does it do? 3 <#1.1.1.What%20does%20it%20do_|outline>`_ `Screenshots 3 <#1.1.2.Screenshots|outline>`_ **`Administration 4 <#1.2.Administration|outline>`_** **`Configuration 5 <#1.3.Configuration|outline>`_** `TS constants reference 5 <#1.3.1.TS%20constants%20reference|outline>`_ `TS setup reference 5 <#1.3.2.TS%20setup%20reference|outline>`_ **`To-Do list 6 <#1.4.To-Do%20list|outline>`_** **`ChangeLog 7 <#1.5.ChangeLog|outline>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: 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: Screenshots ^^^^^^^^^^^ A demo is available here: http://www.sbtheke.de/demo/feuser4comments/ |img-3| 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: 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 typo3conf\ext\comments\res\pi1\_template.html) with the additional markers. .. _Configuration: Configuration ------------- .. _TS-constants-reference: TS constants reference ^^^^^^^^^^^^^^^^^^^^^^ These properties are for TypoScript Constants field. .. ### BEGIN~OF~TABLE ### .. _fe-users-fields: fe\_users.fields """""""""""""""" .. container:: table-row 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: dontShowUsergroups """""""""""""""""" .. container:: table-row Property dontShowUsergroups Data type string Description Comma separated list of usergroup IDs which should not be shown in a comment. Default .. _Unknown-Property: ((Unknown Property)) """""""""""""""""""" .. container:: table-row Property Data type Description Default .. _Unknown-Property: ((Unknown Property)) """""""""""""""""""" .. container:: table-row Property Data type Description Default .. ###### END~OF~TABLE ###### Example: plugin.feuser4comments{ fe\_users.fields =username,name,usergroup dontShowUsergroups = 1,2,5 } .. _TS-setup-reference: TS setup reference ^^^^^^^^^^^^^^^^^^ These properties are for TypoScript Setup field. .. ### BEGIN~OF~TABLE ### .. _fieldconf: fieldconf """"""""" .. container:: table-row Property fieldconf Data type Description For each field from fe\_users.fields you can define some stdWrap commands here Default .. _Unknown-Property: ((Unknown Property)) """""""""""""""""""" .. container:: table-row Property Data type Description Default .. _Unknown-Property: ((Unknown Property)) """""""""""""""""""" .. container:: table-row Property Data type Description Default .. ###### END~OF~TABLE ###### .. _To-Do-list: To-Do list ---------- Write me if you miss something. .. _ChangeLog: ChangeLog --------- - 1.0.1: Update of manual - 1.0.0: Bugfixing and more configuration possibilities - 0.0.1: Initial upload 7 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 238 .. :id: Grafik1 .. :name: Grafik1 .. :width: 621