Home
EXT: AJAX Social Network Components - SVN
Contents
1. So for example you can deactivate sharing in general TS configuration and activate it only in the first plugin on a page Use as TypoScript Object It s possible to use toctoc_comments as TypoScript Object Example TSObj toctoc comments gt TSObj toctoc comments COA tmptoctoc_ comments COA tmptoctoc_ comments 10 USER 10 lt plugin tx_toctoccomments pil 10 code FORM COMMENTS optionalRecordId tt_news 76 additionalClearCachePagesLocal 292 291 advanced reverseSorting 1 invertBrowser 0 TSObj toctoc comments lt tmptoctoc comments 30 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Plugin configuration The plugin in the backend consists from 5 tabs General tab Normal Mode In mode Normal the plugin can be used for commenting rating sharing with many options which are available on the other tabs Selected Plugin E AJAX Social Network Components 7 Plugin Options General Advanced Rating options Anti spam Attachments Mode Normal v Triggering prefix x O o amp Plugin to table map Trigger optional Record xX A All tables Store records at page KIC Page Triggering prefix defines what parameter in URL triggers displaying of comments The value depends on another plugin and its parameters It s used when you want to related the comments to News or Products shown on a page but not on the page itself Typically t
2. new vote or ilike has been made after install of version 4 0 Display of top ratings on votes or and iLikes You can select if you want to consider only Likes and Dislikes or only votes If you want to see the overall there is a mode for voting and Likes merged together where the sorting is by voting another where the sorting is by Likes Display of calculated top ratings with the same base of votes For the 2 mixed modes it is possible to calculate the ratings such if every item would have obtained the maximum votes found in the query Then the missing votes are added as average value of all votes made This levels out differences in numbers of votes assuming missing votes to be close to the average voting value already known see TypoScript option topRatings AlignResultsWithMaxVotesAndAvg Vote Top ratings on comments They are linked directly to the comment same way like from the recent comments list No image is provided Top ratings on content The links on these items target directly the toctoc_comments plugin on the page holding the content element The image display is on the content element itself also the texts displayed TO add an image for display change the view on the Content element to Pictures and add a picture The title and text are from the content element itself To add a text simply copy paste the content from the content element you target the rating on when the view on the content elemen
3. 1 boxmodel_ windows Recommended TS Options for box model boxmodel_windows txt UserImageSize 50 ratings ratingImageWidth 19 theme boxmodelTextareaLineHeight 22 boxmodelTextareaNbrLines 2 selectedTheme windows selectedBoxmodel boxmodel windows txt themeFontFamily Calibri sans serif boxmodelLineHeight 22 JavaScript There are 2 basic JavaScript files for all the comment and ratings specific tasks one is included in the header of the page automatically from the template the other is added to the footer of the webpage Header res js tx tc versionnumber js Footer res js tx tc ftr versionnumberjs When AJAX Login is active additionally file res js tx tc afl versionnumberjs is added in the lt head gt part of the webpage 74 TY P03 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin jQuery Extensions res js holds all the js files for the j Query Extensions plugins The jQuery version in this folder is used in the backend For the version to use in frontend please refer to the version in folder resources jQuery plugins used Inputfields with watermark use jQuery Watermark Textarea auto grow is implemented with jQuery Elastic Tooltips and Image presentation is made with jQuery Tools Sharing component sharrre is made implemented with jQuery sharrre Dialog popups use jQuery Simple modal Simpletxtcmoddlg Javascript library flowplayer is used for HTML5 video
4. All will consider all records Only comments only view activities on comments Only content will show only view activities on content elements and with Custom prefix the Custom triggering prefix defined what will be showed in the list Custom triggering prefix for chart is considered when The Restrict to external prefix for chart is set to Custom prefix Here you can select an entry of Plug in to table map AJAX Login mode In this mode the options of the other tabs are not relevant and there are no options to be setup in the plugin All options regarding AJAX Login are set up in TypoScript Note TS options are filed under plugin tx_toctoc_comments_pi2 34 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Advanced tab General Advanced Rating options Anti spam Attachments uo Close commenting after Commenting closed for this plugin instance Use TypoScript setting w use Sharing No Y don t use Sharing for Facebook Use TypoScript setting w don t use Sharing for Google Use TypoScript setting w don t use Sharing for Twitter Use TypoScript setting w don t use Sharing for LinkedIn No v don t use Sharing for Stumbleupon No v initial value for view counter initial value for views since Las Close commenting after allows to automatically disable commenting if record is older than specified time period Time period is a number fol
5. Attachments Number of comments to display on the list newest comments are on top Restrict to external prefix All will consider all comments for the list Custom allows to display comments filtered by associated extension for example only the comments concerning News tt_news Custom triggering prefix for recent comments defines the extension for which you want to display recent comments on its records Report bad comment mode In this mode the options of the other tabs are not relevant General Advanced Rating options Anti spam Mode Report bad comment w Options for reporting bad comments are all set by TS Attachments 32 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Top ratings mode In this mode the options of the other tabs are not relevant General Advanced Rating options Anti spam Attachments Mode Top ratings v Number of top ratings Number of past days for top ratings minimum of votes required Restrict to triggering prefix for top ratings All Custom triggering prefix for top ratings o eo Plugin to table map Show top ratings for Only Likes and Dislikes w 4lign results with the result with most votes Use TypoScript setting w Number of top ratings on the list Used in the title of plugin Number of past days for top ratings Only ratings in this period are considered Minimum of votes required to appear in the list Restrict to external
6. Gis le Wendl Let s add another comment amp a Like Dislike f 30 minutes 42 seconds ago 1 person saw this tetrtriinr 3 0 of 5 1 vote Your rating 3 Reply 1 reply Rowlf Doog Oh yeah this is another comment but what about another intelligent one Like Dislike 45 seconds ago wervrercy Not rated yet Reply commenting logged in step 2 15 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Commenting Login required mode You can force users to login before they can post comments With advanced loginRequired 1 the login required mode becomes active the forms show up slightly different Users can login with a website account or with their facebook account 0 Share this page 5v 0 4 5 of 5 6 votes Your rating 5 10 people saw this since 17 12 2013 5 Add comment Please enter your username and password or open a new account Username Sign Up Password Stay logged in Login Forgot your password Gis le Wendolini a 2 days 25 minutes ago 3 people saw this Not rated yet Now this is quite famous You can directly upload pictures from a htto address Commenting login required login forms TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Users with no website account can create one and are logged in after successful creation of their new user account 0 Share this page 5v 0 4 5 of 5 6 vo
7. In displayfields you can specify title time of the record the content will be cropped and you can specify if toctoc_comments should use translated records in the same records table with sys_languahe_uid also you can specify the name of the field holding an image for display A displayfield has the following syntax Field for title filed for time field for image field for sys language uid field for content for tt_news it looks like this title tstamp image sys language uid short When you install or update to toctoc_comments 4 0 or above then the plugin automatically fills in some fields for existing prefixes displayfields and topratingsimagesfolder are set to default values that can be changed as you want later in the Backend in the table topratingsimagesfolder If in displayfileds an image is specified then we need to now the folder containing the images of the extension Normally this is uploads pics but it can be another folder which can be specified here topratingsdetailpage Some website allow their records to be rated on overview pages and also on detailpages It concerns mainly the extensions tt_products and tt_news So linking the rated item to the overview page is a bad idea here you can force the page which displays the detail records Community extensions community You need to create the following Plugin to table map prefix tx_community table fe_users showUid parameter user cwt_community
8. You need to create the following Plugin to table map 68 TY P03 vv EXT AJAX Social Network Components toctoc_comments Comments and ratings on records of other extensions prefix tx_cwtcommunity_pil table fe_users showUid parameter action getviewprofile amp uid 69 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin Designing the plugin Here we present the best practices for changes of the design of toctoc_comments you ll find all about CSS customizing with boxmodels CSS color themes and the TS Options for the plugin layout in the front end The following image shows how toctoc_comments automates design tasks with CSS color themes boxmodels and TS Options TypoS cipt Konfiguration Default CSS toctoc_comments JavaScript Boxmodeller modeller Colormodeller JavaScript constants Final CSS This automatism is setup by default when you install the extension Controlling CSS and JavaScript file generation The JavaScript Part is always active the CSS part can be set to state frozen Once you have all needed CSS Files in res css temp you can turn off CSS generation and continue to work on the CSS in res css temp directly The JavaScriptmodeller becomes only active if a file is missing or if changes to the configuration require regeneration of JavaScript files Also the Boxmodeller and the Colormodeller get active if needed by default
9. but they can be set to forced generation off CSS this is usefull when developing 70 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin the boxmodelfile or when making changes in the master CSS File res css tx tc versionumber css From setup txt set this to 0 if you want to force CSS generation 1 for normal mode changes in boxmodel or conf trigger refreshs or 2 for frozen CSS files must exist theme freezeLevelCSS 1 Where are the files CSS outputs are all in res css temp CSS files used for processing the output are e res css tx tc versionnumber css Input for boxmodeller e res css themes default css tx tc versionnumber theme css Input for colormodeller CSS file used for emojis is in res css emoji there are 4 variants named emoji size of emojis in pixel css Emojis CSS is from TS setup advanced useEmoji 1 options inactive 0 emoji images 16px 1 emoji images 20px 2 emoji images 26px 3 emoji images 33px 4 make use of Emoji pictures Unicode Emojis are replaced by image emojis in comments and while entering comments text emojis are converted to unicode emojis CSS file for the flowplayer is res css flowplayer functional css If you don t use emojis and or video attachments then you can remove the corresponding lines refering these files in the template file res template toctoccomments_template html Processing of the CSS 4 to 5 parts enter into processing for
10. If this is ok the following code will call the output of a toctoc_comments plugin instance Make a reference on toctoc_ comments pil PHP file include once t3lib extMgm extPath toctoc_comments pil class toctoc comments pil php 82 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions lib new tx_toctoccomments_ pil Get the default configuration of toctoc_ comments conftc array conftc GLOBALS TSFE gt tmpl gt setup plugin tx_toctoccomments pil In your extension you can set TS Options for toctoc_ comments In TypoScript Setup this can be done by setting up tx_yourextension toctoc comments externalPrefix your Plugin to table map Key advanced Also in PHP code you can setup the values in your p0bj gt conf toctoc comments directly if is _array p0bj gt conf toctoc_comments merge default configuration and your extensions configuration conftc array_replace recursive conftc pO0bj gt conf toctoc comments row uid is the record you want to let make comments or ratings on toctocHTML lib gt main content conftc tx_your_extension row uid this gt c0bj content can be an empty string 83 TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions Example Patch
11. See IP address of the commenter in BE Full info about the commenter in notification email to administrator Captcha use sr_freecap clone or recaptcha clone with options for number of characters and colors in comments Force all messages to pass approval by administrator localized approval and notification email BB Tags and attachments are shown in HTML emails as well Prevent duplicate posts TYPO3 features Multilingual Support for labels operation mode Support for new languages over the TYPO3 translation server Full TYPO3 caching supported USER object which highly improves web site performance including application cache Automatically clear TYPO3 page cache for any page s when data changes eID interface with customizable HTML template for results of administrator confirmations deletions from email and for COI CSH Context Sensitive Help in both Back end tables and plugin Import data from legacy extensions comments and rating Compatible TYPO3 4 3 up to TYPO3 6 2 jQuery Uses jQuery 1 7 or newer jQuery plugins used Inputfields with watermark using jQuery Watermark Textarea auto grow is implemented with jQuery Elastic Tooltips and Image presentation with jQuery Tools Sharing component sharrre is made implemented with jQuery sharrre Dialog popups use jQuery Simple modal Simpletxtcmoddlg Javascript library flowplayer is used for HTML5 video Community With community extensions cwt_community and community toctoc
12. Description Default applId string Facebook app id The app id of your Facebook application secret wrap Facebook secret The application secret of your Facebook application facebookLanguage string Set facebook language en_EN makeSessionPermament boolean Make fe_user session permanent 0 65 TY P03 vv EXT AJAX Social Network Components toctoc_comments Configuration imageDir string Specifies directory where profile image should be set uploads pics Setup Options added to Extension tt_news toctoc_comments LIST All options are setup only and they are valid per webpage W Same as for LIST works with LIST2 LIST3 LATEST SINGLE and SEARCH Property Data type Description Default commentsShowCountTex boolean The number of comments marker is rendered as only number or as 0 t text text 0 number 1 Setup Options added to Extension tx_news toctoc_comments All options are setup only and they are valid per webpage W they are used to configure the comments counter Property Data type Description Default commentsShowCountTex boolean The number of comments marker is rendered as only number or as 0 t text text 0 number 1 66 TY P03 vv EXT AJAX Social Network Components toctoc_comments Comments and ratings on records of other extensions Comments and ratings on records of other extensions Before version 3 1 of toctoc_comments commenting and rating
13. It s easy to track the ideas behind changes made to the CSS Syntax overview The syntax of the boxmodels allows for properties to be set to new values or to calculated values Calculations can be specified with formulas you can identify property values as variables or use system css options You can use the following TS Option as boxmodel TS Options boxmodelTextareaLineHeight gt theme boxmodelTextareaLineHeight boxmodelTextareaHeight gt theme boxmodelTextareaLineHeight theme boxmodelTextareaNbrLines boxmodelSpacing gt theme boxmodelSpacing boxmodelLineHeight gt theme boxmodelLineHeight boxmodelLineHeightHalf gt round theme boxmodelLineHeight 16 2 0 boxmodelSpacingHalf gt round theme boxmodelSpacing 2 0 ratingImageWidth gt ratings ratingImageWidth boxmodelInputFieldSize gt theme boxmodelInputFieldSize boxmodelLabelWidth gt theme boxmodelLabelWidth Properties can be added changed and new selctors can be added 72 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin Examples You can start with boxmodel txt It produces more or less the default layout of toctoc_comments it does not modify res css tx tc30 css try to make and document your changes in a custom boxmodel txt file and use this for design changes Some other classified box models are already there and can either be used as they are if you like the design associated to it or you
14. Options Default default White on Black Theme black White on Red Theme red Custom Theme custom themeFontFamily string Font Family for theme used for textareas tahoma verdana arial sans serif selectedBoxmodel string Boxmodel filename To apply as Boxmodel on the CSS select an existing boxmdel here value like myboxmodel txt boxmodelTextareaLineH int Textarea height Height of textareas of forms 16 30 20 eight boxmodelTextareaNbrLi int Textarea number of lines How many lines the textarea contains 1 1 nes 6 boxmodelSpacing int Boxmodel element x spacing Horizontal spacing between elements in 4 the boxmodel 0 10 boxmodelLineHeight int CSS Line Height Lineheight in the plugin 14 40 16 usethemeFontFamilyFor boolean Use themeFontFamily as font family for the entire plugin 1 Plugin boxmodelLevelIndent options Indent for levels Indent in fraction of user image size if set to for it s 2 the boxmodelSpacing very small good for mobile solutions full 1 half 2 third 3 boxmodelSpacing 4 boxmodelLabelWidth int Width of labels 50 200 134 boxmodelInputFieldSize int Size of Form Input fields 12 40 35 Options from setup only selectedBoxmodelkoogle boolean Koogled boxmodels have either the word koogle in the name or set 0 d this to 1 This does the following Margin of comments in comments list get 6 pixels less margin for the texts in top ratings lists and charts Usercards get prepared to di
15. Sissis sasssa 85 HOOKS ois siz sseedtscexsteteisensietidaniedspiiats sisas ansecieaieysts 86 Other old comments extensiONS ccscsssesseeeees 87 Translating the Extension cscssccssesseeeseees 87 Troubles with the TYPO3 translation server 87 To Do Ns tissstsecsscesexzescecccncdsipaseis coansvsnezed ssassn eassa naaras 88 TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction Introduction What does it do This extension provides social network components such as ratings commenting capabilities and sharing of web pages to TYPO3 content elements or to virtually any TYPO3 record available in frontend It contains AJAX functionality which works with jQuery 1 7 or newer The system itself is very flexible many options can be set It can be used as commenting system and or as rating system Additionally it offers AJAX Login Logout and Sign Up functions which can be used stand alone without commenting This extension can import comments from extension comments Features The extension offers almost all of the possible features that are needed for commenting rating sharing login logout and sign up Many of the features have been brought in by users of toctoc_comments The feature list is long and it s important to have a complete overview for taking the right decisions when you start use the extension Plugin modes 1 Commenting mode includes ratings and sharing Comments list on t
16. Temporary JavaScript files For some language dependent strings and some config values language dependent JS files are written and handled during run time It s also needed for the sharrre component which is used for sharing They are all written in folder res js temp and can be deleted at any time jQuery jQuery It s up to the programmer who put the extension in your site to link the jQuery File Often jQuery is already used in a site then you just need to make sure that the version of the jQuery in use is newer than 1 7 jQuery must be loaded before all other JavaScript files thus in the beginning of the lt head gt of the webpage We deliver a working version 1 7 2 in directory resources if you don t use it already Note Lightboxes often use the rel sometext index syntax in the href tags Newer versions of jQuery do not support the brackets anymore To make it work again make the brackets disappear Do not use the present file res js jquery js for the frontend This version of jQuery is used in the backend and it s version is to low for the frontend Use the jQuery in resources if you need one in the frontend jQuery tools jquery tools min js is present in folder res js 75 TY P03 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin Templates fonts and images Templates for E Mail and for HTML pages generated by eID the plugins main template and the template for ratings are in folder
17. URL calling your extension will look like this http domain tld index php id 12345 amp tx_myext_pil showUid 67890 Parameter showUid is normally set by default extension design toctoc_comments will understand that it must refer to tx_myextmytable for triggering prefix tx_myext_pil 67 TY P03 vv EXT AJAX Social Network Components toctoc_comments Comments and ratings on records of other extensions Optional URL parameter Some extensions use names other than showUid to refer to a single record Our extension needs to know the name of this URL parameter to find the record s uid Why optional Extensions mostly use showUid parameter If showUid is used there is no need to repeat it in Plugin to table map it will be the default With Optional URL parameter it is possible to use custom URL parameter with toctoc_comments If your extension for example uses parameter newsid to display it s records then add newsid to the entry concerning your extension in Plugin to table map field Optional URL parameter So if the paramenter is newsid the URL looks like this http domain tld index php id 12345 amp tx_myext_pil newsid 67890 toctoc_comments will understand that record s uid value is 67890 Entries for top Ratings displayfields For selecting topRatings data on records like News or Products toctoc_comments needs to know which fields of the record to display
18. can use them for examples Syntax in detail Boxmodels are defined in text files and they have a simple syntax A boxmodel file consists of blocks of boxmodels which applies CSS properties on CSS selectors optionally with rules how to make values A boxmodel block has the following syntax example and short explanation Boxmodel Identificator for new boxmodel Borderradius small used everywhere in the plugin Documentation part Which aspect of CSS is handled by this boxmodel here you give the element a speaking short description CSS Identificator for CSS of boxmodel border radius 2px 2px 2px 2px border radius will be set to 2px 2px 2px 2px if no Rules are specified with the optional leading properties can be added to the selector border radius 10 px 2px 2px 2px if no Rules are defined then 10 will be set to 2 With Rules the variable 10 is defined and will be set by the rule Variables are in format varname CSS more CSS sections can be used but only if no Rules are present Rules 10 2 3 10 will be calculated as 2 3 5 In the evaluation part variables can be used and you have access to some TS Options values like the line height for example Selectors Identificator for CSS selectors containing the CSS of the boxmodel tx tc ct box picturecrop322 img always full line without as in the original CSS File tx tc userpic tx tc userpicf tx tc avatarpicf tx tc avatarpic
19. commentCropLength int Comment cropping After this length a comment is 256 cropped at initial display W UserImageSize int Size of user image in pixels Image will be cropped 32 from the center of the original image square W useUserlmage boolean Use or not use the user image 1 userContactUC boolean This option enables display of basic user contact 1 information in usercards userHomepageUC boolean This option enables display of the users homepage 1 in usercards 48 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default userEmailUC boolean This option enables display of the email of the commenting user in usercards 0 userLocationUC boolean This option enables display of the users location in usercards userStatsUC boolean This option enables display of statistics in usercards userIPUC boolean This option enables display IP information about the user in usercards timeoutUC int Time in seconds for display of a usercard Values between 3 and 15 are ok HTMLEmail boolean e mail are sent in HTML Format 1 or Text format 0 jai HTMLEmailFontFamily string Font Family for HTML E Mail tahoma verdana arial sans serif Options from setup txt pluginmode int Empty Comments and Form Sharing and Ratings 1 Recent comments mode 2 Report bad comm
20. date strftime w closeCommentsAfter string If set automatically disables commenting for items older than this empty period See Close commenting after in the User manual for more information Setup only option P Advanced Close commenting after 5l TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default commentingClosed boolean Commenting can be totally suppressed 0 default or 1 0 When commenting is closed also rating is closed P Advanced Commenting closed for this plugin instance autoConvertLinks boolean If enabled will search for possible links in comment text and turn 1 them to links Specifically the following texts are searched http www Anything that starts from these strings and till next space will be converted to links This procedure is not very clever but works in most cases Links are always created with rel nofollow and css class tx comments external autolink There is no way to change any of these two attributes adminCommentRespons boolean Admin can give direct comments on comments When notification 0 e mails for new comments come in the admin can give a direct reply which will be showed under the comment Requires modified comments_response extension to be installed userCommentResponseL int Number of levels of comments on comments valu
21. ein oder ffnen Sie einen neues Konto ll_error_message Ein Fehler ist aufgetreten berpr fen Sie Ihren Angaben und versuchen Sie es nochmals en ll_ welcome message Please enter your username and password or open a new account ll_error_message An error has occurred Check your data and try again Use as standalone version You can use the AJAX login logout functionality also as stand alone plugin Insert an instance of toctoc_comments on a page and set pluginmode 5 Call user defined JavaScript After a successful login or logout you can execute your own JavaScript Code Place the calls to your JavaScript function s in the designated places in file res js tx tc afl versionnumber js Watch out in the file for the comments user defined JS goes here FAQ After installation the plugin has to big font size How can change this and where If you use a boxmodel then change it in the boxmodel file and make boxmodels for the blue CSS Selectors below You can use boxmodel txt for a start and set TS option theme selectedBoxmodel boxmodel txt If you do not use boxmodels then follow this procedure It s in file tx tc versionnumber css Find CSS selector toctoc comments pil and set the font size to the percentage which fits the size needed toctoc comments pil font size nn Check the Tool tips and the confirmation popups For tool tips change selector tx tc tooltip tx tc tooltip
22. emails about new comments Send e mail from this address allows to specify another sender e mail than specified in TS setup Attachments tab General Advancec Rating options Anti spam Attachments Use attachment type webpage preview Use TypoScript setting v Optional webpage preview on top 6 Comment Attachments Ea a Ca Index of preview picture must exist default is 0 Use attachment type webpage preview allows or disallows webpage previews when the user is entering a comment Optional webpage preview on top Here you can select an existing webpage preview and put it at the top of the plug in Index of preview picture this is the index number of the image file of the website preview to display Check the record in the backend to make your choice first 37 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Approving comments If a comment is set to not approved approved 0 it s may be because it is spam or the Require approval of each comment option is set These comments will not be visible on the page E Mail approval The administrator will receive e mail with links to approve delete or kill delete permanently comments Administration of comments can be done also through Web gt List module of the Web gt Comments module Approval by Web gt List module This is the normal TYPO3 Listmode where you have the records and then you can edit them like any other records Here disa
23. gt Plugin gt Language gt User Dirty Cache is identified by the Plugins timestamp of last update in table tx_toctoc_comments_plugincache You can still disable plugin cache with TS Option useSessionCache 0 Plugin cache dramatically reduces load times to values around 3ms to 12ms Note useSessionCache 0 is important during development with this you don t need to reload the page with purge_cache l when you want to get the uncached result Recommendations Use the new caching behavior with settings advanced activateClearPage 0 and advanced useSessionCache 1 Also consider additionalCachePages und additionalCachePagesLocal to be setup correctly 47 TYPO3 amp Configuration Plugin configuration is explained in User manual This section talks about TypoScript configuration EXT AJAX Social Network Components toctoc_comments Configuration Leaving default values as they are this is not a bad idea as long you don t know why it s really needed to change a value Main configuration TS options are valid per plugin instance Some options by their nature are valid per webpage others are valid site wide We marked properties which are valid for the entire site with an S in the description these valid for a webpage are marked with an W So don t setup options marked with S or W per Plugin Set them either in general Plugin TS S and W or if needed in a template attached to the webpage W A
24. minutes 43 seconds ago Reply Report bad comment mode In mode Report bad comment the plugin displays a form which allows users to send complaints on comments they don t like or ask you to remove one of their comments When clicking on the fist icon see screen shot on previous page the user is directed to the webpage with the form which looks by default like this This is the bad comment you want to report Rowlf Doog Yes you are wuffwuff logged in wuff Demo 20 hours 28 minutes ago Well Rowlf is really pollution the list with his underexposed Your name E mail Enter the captcha wba yu IF you can t read the word click here EE 20 TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Introduction Top ratings mode In mode Top ratings the plugin displays a list with top ratings with items linked to the source The top ratings can be configured Number of votes required Number of list items Days back to be considered and the target of the top ratings specific records content comments or all of them In the screenshot we see the top 5 News of a website Top 5 ratings News Likes and Votes together in the last 365 days minimum of votes required 3 8 8 Rating trirtrin 4 9 9 votes amp Bingo toctoc_comments 3 2 6 months 6 days ago The new version brings integration in tt_news LIST view and a new design for iLikes CSS color themes make it easy to change the loo
25. related to implementations of toctoc_comments See www toctoc ch for more information Special thanks go to Dimitry Dupolev and the old comments team on forge typo3 org for their important work which is at the base of the code of this extension e Julien Hany the contributor and developer of the used jQuery Extension for Sharing av at www sharrre com The biggest Thanks goes to all the people behind the code Developers of PHP and MySQL Webbrowser developers developers of jQuery developers of TYPO3 and many more Thanks to the developers who write and maintain the jQuery Plugins and thanks to the developers who wrote the interface to facebook the emojis and all what is used by toctoc_comments and has been forgotten to be mentioned in this place The chain of thanks goes deep what programming is concerned At this occasion I won t miss to remind us of the humans who made the devices where you read this information Computers Handys Tablets the entire IT infrastructure is manufactured by humans working under mostly very bad conditions Fair Trade and ecological production are important to change this please try to choose your products not by price but by this Having questions For news checkout www toctoc ch We have many demos of the extension at http www toctoc ch toctoc_comments_demo html We provide help and support over forge typo3 org toctoc_comments Please avoid sending e mails directly th
26. res template Images The folders for images used in the frontend are res images and res css themes name_of_theme img Images used in e mail templates are in folder res template mailimg Fonts for the Captchas Fonts for the 2 internal captcha variants are in folder pil fonts Smilies Smilies can be found in folder res smilie Other Extensions adapted for toctoc_comments We included a file with a download link for a modified version of comments_response which works with toctoc_comments and formerly worked for extension comments It allows direct comments on comments for admins when approving them from the notification e mail The info file is in folder directory resources 76 TY P03 vv EXT AJAX Social Network Components toctoc_comments Code Concepts Code Concepts Extension architecture This extension is build in the classic approach as pil extension We provide 2 ViewHelpers for extension x_news they can be adapted and used for other applications together with fluid flex AJAX is handled with jQuery AJAX Events The plugin handles many AJAX events some of them are Vote an article or a comment article stand for what we re commenting on Like an article or a comment Dislike an article or a comment Delete a comment Add a comment Check the Captcha Set the Captcha Browse for older comments Hide older comments Show user card jQuery serves for Sharing makes the input box for comments elastic crea
27. the final output of toctoc_comments CSS 1 CSS definitions for colors are provided from the file res css themes default css tx tc versionnumber theme css The values for colors are checked against the themes theme txt file images are setup to be referred in the themes img folder 2 CSS definitions concerning layout are provided from file res css tx tc versionnumber css 3 Most important CSS definitions which are derived from the themes TypoScript options are added by PHP directly 4 Modifications to basic CSS definitions which are derived from the themes TypoScript options are specified and applied as boxmodel with the definitions in file res css boxmodels system boxmodel_system txt 5 If you select a user defined boxmodel like for example res css boxmodels boxmodel_windows txt then modifications or additions will be applied from these definitions Boxmodels always apply to the basic CSS definitions concerning layout 2 The name of the file used in res css temp varies depending on language theme and boxmodel selected Default is tx tc versionnumber system default 0 css Controlling Processing There s a TypoScript option which allows to display comments on the origin of changes to the default CSS debug showCSScomments 0 7 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin when you change this to 1 you ll find the comments in the CSS above the concerned selectors Changes to the b
28. toctoc_com relative path or extension related path EXT prefix ments res templa P Ratings Template file for ratings te toctoccommen ts_ratings html useMy Vote boolean Show the vote of the user 1 P Ratings use My vote use Votes boolean Shows the rating stars and enables voting if checked 1 P Ratings use voting and show rating stars useNumberOfVotes boolean Shows the number of votes Shows the number of votes if checked 1 useNumberOfsStars boolean Shows the number of stars Shows the number of stars if checked 0 useAvgOfVotes boolean Shows the average of votes Shows the average value of votes if 1 checked useScopesFor Vote string List of scopes to be used for voting A list of uids for scopes separated by commas P Ratings Use scope s for voting useOverallScopeForVote boolean For scoped ratings show overall if checked overall will be visible 1 P Ratings Use overall for scoped voting enableOverallScopeForV boolean For scoped ratings enable overall if checked overall will be clickable 0 ote useLikeDislike boolean Show Like and Dislike Features if checked both are active 1 P Ratings use iLike AND iDislike useDislike boolean Show Dislike Features makes only sense in connection with 1 useLikeDislike P Ratings use or don t use iDislike use TopVotes boolean Shows the rating stars and enables voting if checked on top of the 1 plugin use TopLikeDislike boolean Show Like and Dislike Features
29. txtc_details tx tc ct editbutton tx tc ct deletebutton tx tc ct denotifybutton new selector if a selector is not found in the original CSS File it will be added at the end of the css file End of boxmodel Limits CSS properties and selectors can t be deleted the Boxmodeller supports only changes to CSS properties and additions of CSS properties and selectors The default CSS in res css tx tc versionnumber css must be well formatted A leading space before and a leading tab before a CSS property are required 73 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin Recommended TS Options for included box models Add these options to basic TypoScript setup to change the look of the plugin boxmodel_tisqus Recommended TS Options for box model boxmodel_tisqus txt UserImageSize 36 theme selectedTheme tisqus themeFontFamily Helvetica Neue arial sans serif boxmodelTextareaLineHeight 24 boxmodelTextareaNbrLines 2 boxmodelLineHeight 24 selectedBoxmodel boxmodel_tisqus txt boxmodelLevelIndent 1 boxmodel_koogle Recommended TS Options for box model boxmodel_koogle txt UserImageSize 48 ratings ratingImageWidth 19 theme selectedTheme koogle themeFontFamily Roboto arial sans serif boxmodelTextareaLineHeight 18 boxmodelTextareaNbrLines 2 boxmodelLineHeight 18 boxmodelSpacing 10 selectedBoxmodel boxmodel_koogle txt boxmodelLevelIndent
30. used in a theme Below you see the colors used in the default theme You can import theme txt in Excel make a screenshot and then fill in the colors and workout your colors with Photoshop Color required field messages Recaptcha Labels and Texts 1 ii Border submit coldaa D Color sr_freecap clone Captcha texts oDo909 i Color Reset button static iLike Text 201e1f D Color Dialog Message 292a2d D Background Submitbutton 5475C3 PO Background Dialogtitel 4350 iii Border Prev Next web page preview Color of votingtext comment count comment date 8b8c90 E Color Labels 959697 E Border bottom in Userinfo Popups 3596955 F Border Recaptcha area 999999 Fy Border 3 for textarea a4a5a7 ee Border for highlighting comments adaeaf Border inputs and textarea adbecc Border sharrre middle area bdbebf Border Recaptcha Textbox top border Commentsbrowser bdc da Border Captcha image border reset bfc0c2 Border Dialogs cecece Border top ratings area d3d8e5 Tag hr few borders d8d8d8 Many borders background overlay and admin response e3e3e3 Background as Website is forced for some elements ffffff Color of Submitbutton fefefd Backgroundcolor of inputfields fdfdff Color of inputfields 030303 Border of Userpics 97b0ee as of Version 3 1 79 TY P03 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions Using AJAX Social Network Components in other extensions Here we descri
31. when the automatic detection fails by what ever reason you ll get this message Automatic detection is the default behavior of toctoc_comments when it comes to this step of identification If it fails the information has to be given manually In the backend plugin choose a content element for the plugin in General gt Trigger optional Record When running octoc_comments without backend plugin then use TypoScript option optionalRecordld get PHP errors when voting or liking something toctoc_comments handles the page cache from TYPO3 and some other extensions take care of this as well we encountered problems with this in environments running vhs flux and fluidpages You must set option vmcNoPageCache 1 this disables page cache access from toctoc_comments With TYPO3 older than 4 5 the plugin shows no reaction TYPOS version 4 3 and 4 4 are not yet capable to output JavaScript files as part of the page footer This has to be done manually in the page template by adding lt script src typo3conf ext toctoc comments res js tx tc ftr 500 js type text javascript gt lt script gt just above the lt body gt end tag If you have other problems please ask us on our website www toctoc ch or in TYPO3 Forge toctoc_comments 45 TYPO3 W Administration Adding TypoScript template EXT AJAX Social Network Components toctoc_comments Administration The extension s TypoScript template must be added t
32. with inline form link to inline form or linked to commenting form Comment hierarchy in form of a tree view with expandable and collapsible comments Counting of views as view per IP or logged on user Logged in mode not logged in mode or login required mode User login logout is available as AJAX feature it can be used in stand alone mode or inside toctoc_comments The feature includes AJAX Login with a Facebook account as well Commenting form Set fields as required or optional Define fields to be used by TS option Required hint displays if required fields present Users can choose notification by email on new comments Users can cancel notifications from notification email or on the web page Scanning of entered web pages creation and handling of web page previews including previews on flash video and HML5 videos Smilies Emojis can be entered like door at the end of the comment or as Unicode Selection panel for smilies and emojis BB Codes can be selected in a popup panel optional HTML codes Male female avatar for anonymous users Automatically use fe_users data to fill hidden comment form data use of cookies for anonymous users form data Turn on off for comment previews comments deletion comments edit Watermark or Label form input fields Uploads Picture and PDF attachments Configurable presentation in frontend scaled and cropped images as well as a nice jQuery Lightbox HTML5 File uploading with standard web b
33. 38d html It requires your approval to appear on the web site It got 0 spam points First name Gis le Last name wendl Email gisele wend toctoc ch Posted From IP 188 154 55 45 Response to the comment as administrator Content Let s add another comment No attachment for this comment Approve the comment Delete the comment Remove the comment from the database permanently Delete the comment and block IP address Remove the comment from the database permanently and block IP address Information about the commentator TocToc Internetmanagement Gis le wend FA gisele wend toctoc ch www toctoc ch a Ratings 88 Average rating 4 57 Likes 14 Joined 2 months 2 weeks ago Last activity 1 second ago xdsl 188 154 55 45 adsIplus ch E Mail generated by TYPO3 Extension toctoc_comments Commenting with approval by administrator 12 TYPOQ3 v EXT AJAX Social Network Components toctoc_comments Introduction As the admin clicks on approve comment a web page rendered by the extension is presented The template for the page and the HTML mails can be easily adapted to your needs e gt 4 9 Diwwwitodocchindey C Ecosia P A oa e 0r Your Logo Ei toctoc_comments Administration amp Comments administration Comment is approved Processing finished TocToc Internetmanagement Confirmation web page shown after approval 13 TYPO3 vv EXT AJAX Social Network Components toc
34. ShowCount boolean Show total number of comments 1 In comments listing on top the total number of comments is shown commentsShowCountTe boolean Show number of comments with text only number or with icon 0 xt In comments listing on top the total number of comments has text aside or is just displayed as a number commentsShowCountLe boolean Level needed to show number of comments 1 vel Display of number of comments starts when number of comments is higher or equal this level reversesorting boolean Shows last comments first and reverses sorting order to show last 1 comments on level 0 V 5 0 0 invertBrowser boolean Invert comment browser position 1 Puts comments browser on top or bottom of comments list V 5 0 0 allowHTMLIagsInCom boolean Allows HTML Tags in comments If set to 1 then HTML Tags can be ments used to format comments extending the BB Codes but more risky wallExtension options Enables plugin mode for walls of community extensions if so only 0 comments of you and your friends are shown Options inactive 0 wall of tx_community 1 wall of cwt_community 2 W communityProfileComm options only user 0 user and friends 1 all community users 2 1 entsVisibility Enables visibility of comments on users community profile page replyModelnline boolean Replies on comments are entered under the comment replied on 1 Slows down bit performance replyModelInlineOpenFo boolean reply mode inline with open form 0 rm Form for Replies on
35. T AJAX Social Network Components toctoc_comments Users manual Customizing comments All available comments options should be configured first site wide through a TypoScript Template Please check the options options for theme before you change CSS files Changes to template files toctoc_comments is an AJAX based solution Normally a marker can be set up anywhere in a sub template and it will work But if a marker is needed in an AJAX process the zone where markers can be moved is mostly limited by the CSS selectors with id s inside the sub template Important setup options Setup the storage folder and the e mail addresses for notification mails Customizing from the plugin Then some of the options setup in TS can be overwritten through the plug in s configuration when it is inserted as content element A few options are available only thru the plugin TypoScript configuration is the only possibility for configuration if the plugin is inserted through TypoScript setup for example as IypoScript object path in TemplaVoila or as a part of flexible content element For information on TypoScript configuration options see Configuration section later in this manual Important Flexform configuration always overrides TypoScript configuration when a field is set to some value The choice which options are available in the plugin was guided by the importance to have an option individually setup in a specific plugin instance
36. TYPO3 EXT AJAX Social Network Components Extension Key toctoc_comments Language en Version 5 0 0 Keywords forAdmins forAdvanced Commenting Rating Sharing Attachments Copyright 2012 2014 Gis le Wendl gisele wendl toctoc ch 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 TYPO3 vv EXT AJAX Social Network Components toctoc_comments EXT AJAX Social Network Components Table of Contents EXT AJAX Social Network COomMponentsS eeseessessesssesseessessssseessseesseess 1 Introductio Meuencunasnnossaninnnnnenoninnsad 4 What doesIt dOl sesecian asinn 4 Feature Saccani 4 Plugin MOOS wissen cade win ward ad anecdote 4 What can be commented rated or shared 4 Commenting feature S sariari 5 Comments administration soisissa 6 ea E A E E 6 S EE E E E 7 Log in LOgOUt SIBNUP iE 7 Templates aana 7 BT A A E E 7 Ani Spinone 7 TYPOS fedt ES 8 OUE aa 8 Boa a a E N E enh 8 Missing TEAGUE Senen iin ata annie 8 New in this Maral cesseseseessseesseseessseeseetens 9 SGPESM SHOUS aaa 10 Normal Mod icc Aingiraren emnieniees 10 Recent Comments Mode isicssicsisssisssesseserses 19 Report bad comment ModEssisssissisiaians 20 NOpwatings MO Eiaa 21 Other charts Modiscedesaneninuseni 22 Different look for logged in USET Sessies 24 Ack
37. U ORG VOLUTI 0 Share this page 5Y 0 4 5 of 5 6 votes 10 people saw this since 17 12 2013 P5 w this is login required mode Email Notification F Logged in as Gis le Wendolini s Logout this is login required mode Gisele Wendolini ae 2 days 33 minutes ago 3 people saw this Commenting login required logged in Rating and voting Unlike Share 0 triniriry 4 5 of 5 2 votes Your rating 5 5 You like this This screenshot shows the plugin with only sharing iLike and voting enabled Recent Comments Mode In mode recent comments the plugin looks like follows Recent comments Gis le wendl Let s add another comment es Kommentare 16 minutes 44 seconds ago Gis le Wendolini Vas Du machen k nntest ware in toctoc_comments die content element id explizit anzugeben Mis Home 3 days 1 hour ago Frederic Biermann Hallo ich m chte toctoc_comments einsetzen Der Kunde hat auf einer Seite mehrere Unterseiten mittels Home 3 days 6 hours ago You can restrict the recent comments to comments on News only on Products only or you can make them overall comments Other filters are possible TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Introduction Clicking on a link brings you on the target page and the comment is highlighted with a fatter border so it can be seen very quickly Add comment A Gis le wendl Let s add another comment 4 18
38. _comments allows commenting on users on users profile pages and on the community wall page wow Community option for profile comments visibility to only user user and friends all community users Missing features Yes we can t let it be to talk also about this We re certain that someone out there knows still more missing features If it s you please let us know about we do it if ever possible So far known missing features are these e Sort comments in the front end newest oldest most popular My comments view showing all comments by the current user TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction e Use of a Gravatar e Upload videos as attachments e Comment based sharings So feel free to contribute new ideas on www toctoc ch toctoc_comments_featuretalk html New in this Manual Updated TS options list e Revised chapter about login required mode Use of toctoc_comments AJAX Login standalone CSS best practices e How to implement a marker in other extensions example tt_products has been moved from former manual developer inside this manual e dropped manual developer TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Screen shots There are screen shots also in other sections of this manual Normal Mode Commenting not logged in This is the plugin operating in normal mode It displays comments ratings and sharing options Comme
39. a naenda a 72 SNAK OVET VIE enaa wit ienwiacdaais 72 EXOMPlS E E E 73 Syntax iN detaileen 13 A EAE secures E PEA EA AA 73 Recommended TS Options for included box models JavaScript Query EXONS Sena 75 JQuery plugins USC assisia 75 Temporary JavaScript fil S cee 75 QU CRY ieia chartered nats aut aE EEEE 75 Templates fonts and iMAgeS cseeseseeeeeeseeeeeees 76 MARES A E 76 Fonts for the CaptchaSnssecsisuinuiaaianiass 76 Smile Seananmono ann 76 Other Extensions adapted for toctoc_comments 76 Code Cont ptSecsrsisirsirasiecscesississresrcemiscessess 77 Extension architectures 77 AJAX Events iiss i AN A EEE ESS 77 S SESSION VariableSinsinieina ns 7 THEM ES aieia 77 How does toctoc_comments use themes 78 Changing a the Me cinnincis intimate annie 78 AGMA EGiAMENMISS crits dicate deve tandenteretivemeantate 78 Developing your themes 78 TypOScript ANd tHEMES occ iesicsessesesiereazetesedcesesseese 78 Palette of the default theme 79 Using AJAX Social Network Components in other OXE SM SIONS erorii seit cscs Aa RAE osc EEE AEAEE AR REESE SARSAR 80 EE MEW Sosina a E E 80 Comments Count with link to comments on News detal pages sacaida cde tid n 80 Pugin dapo osen 80 X PEWS enia ara ENES N S 81 COMMUN Yerini 81 CWE CONNU naaa aaa 81 Use in other pil extensionS s ssessssesssessssessessessssess 82 Example Patching tt_products for toctoc_comments display in LIST View 84 Known problemi
40. ail string E mail to send notifications from destinationEmail string E mail to send notifications to topRatings Property Data type Description Default topRatingsMode options Show top ratings for likes votes or both together 2 likes 0 votes 1 both by rating 2 both by likes 3 P General Top ratings Show top ratings for RatingsDays int Number of days for top ratings How many days should be checked for 30 top ratings P General Top ratings Number of past days for top ratings RatedItemsListCount int Items in list for top ratings How many should be shown in top ratings 10 P General Top ratings Number of top ratings NumberOfVotesRequired int Number of votes required to appear in top ratings minimum is 1 vote 3 P General Top ratings minimum of votes required TextCropLength int Number of charcters after a top ratings text is cropped 10 250 100 Options from setup txt topRatingsrestrictToExte options All 0 or empty Only comments comments Only content content 0 rnalPrefix Custom prefix custom P General Top ratings Restrict to triggering prefix for top ratings topRatingsExternalPrefi int Uid of the entry in plugin to table map P General Top ratings x Custom triggering prefix for top ratings topratingsimagesize int Size of the image for links from the top ratings in pixel 54 topratingsnumberwidth int With of the ranking field in the list in pixel 20 topRatingsOriginalLang boolean If display
41. al Setup rsgoogleanalyti Amana 3 Make sure that jQuery is added to the page by adding something like this to the page config TS page includeJSlibs jquery typo3conf ext toctoc_comments resources jquery 1 7 2 min js jquerytools typo3conf ext toctoc_comments res js jquery tools min js Many Websites already run jQuery Please be aware of the following compatibility information jQuery versions 1 7 are not compatible with lightboxes which use brackets in their rel attributes If possible just change the brackets to parentheses Some light boxes accept this Info TYPO3 6 0 will fully support only jQuery 1 7 Also the Share function needs jQuery 1 7 to function properly older versions cannot display the number of shares correctly 3 Setup your TS See setup txt in directory static for an example Important is to set the constant for the StoragePID the pid of the folder where comments will be stored TS Setup can be very minimal see the example above for logged in and anonymous users this is the recommended minimal setup 26 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual jQuery Tools needs to be loaded directly after jQuery This helps to avoid conflicts with other jQuery plug ins like fancybox jQuery must be located in the head of the webpage best is when it s loaded as the first JavaScript file Basic rule jQuery needs to be loaded before all o
42. all configuration option changes to wallExtension 2 Use in other pil extensions Extension authors can place calls to toctoc_comments anywhere in their PHP code where they want their records being commented or rated You call toctoc_comments in hook mode You can render the plugin directly to a marker in your code and then display the marker toctoc_comments can be called with the uid of your record and your extensions externalPrefix Key of Plug in to Table map In TS Setup of your extension you can overwrite the default setup of toctoc_comments tx_yourextension pil toctoc_ comments place usual toctoc_ comments TS Setup here In your PHP Code where you want to get the Plugins output the following conditions must be met 1 You need a cObj if you don t have one yet this gt cObj t3lib_div makeInstance tslib cObj this gt cObj gt start 2 Check if toctoc_Comments is installed and loaded if t3lib_extMgm isLoaded toctoc_comments 3 Make sure that a Plugin to Iable map exists for your extension in table where pil table your_extension recordtable rows GLOBALS TYPO03 DB gt exec_SELECTgetRows tx_toctoc comments prefixtotable pil key AS pil key tx_toctoc_ comments prefixtotable pil table AS pil table tx_toctoc_ comments prefixtotable where if count rows gt 0 Plug to table map exists already else Insert your record
43. anks 25 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Users manual Installing and Setup 1 Install the extension in EM If you have problems with creating the tables please deactivate dbal for this install If you update from a former version of toctoc_comments then make sure that the upload folders are created In EM open the Configuration tab of the extension and press Update to create these folders Static Data is imported during install it s enough to do this once After this please make sure that possible existing data won t be overwritten by unchecking the check boxes for the imports 2 Then include AJAX Social Network Components in your sites TS Template Edit Template plugin toctoc_comments on page extension_configuration General Options Includes Resources Access Include Static Templates After Basis Templates E Include static from extensions Selected Items Available Items romeno oser Mana genrent Uatannnics TeUsery WEC Staff Directory old template wec_staffdirec WEC Staff Directory template wec_staffdirectory Powermail powermail Powermail basic CSS powermail Powermail fancy CSS powermail Shop System Old Style tt_products Shop System CSS Styled tt_products Default TS form AJAX Social Network Components toctoc comme IP blocking for comments comments_ipbl Comments report bad comment comments_repc Google Analytics Gener
44. asic CSS For changes in res css tx tc versionnumber css please respect the formating When you want to change colors used in the plug in please refer to the chapter in this manual about the CSS Color Themes Using a theme and save it to theme with name work is the best practice e You keep CSS colors of the layout in a separated CSS file You document the colors you use in file theme txt e Several examples of color themes are there for learning and customization If you need to change the font size margins heights borders and properties like these then it s best practice to use a boxmodel Fontsizes CSS works with size inheritance from the HTML document font sizes are specified in percent like font size 90 Changes done by definitions in a boxmodel There are several boxmodels included in folder res css boxmodels Selection of a boxmodel is made with TS option theme selectedBoxmodel boxmodel txt Boxmodels A box model is a CSS abstraction layer It documents the delta the changes of the basic CSS file Practise You can use FireBug or your other browsers Debugfeature to make changes in the CSS and then document the changes in the boxmodel file After you save the boxmodel file and you reload the page the changes are made This is very handy to develop a new version of the plugins CSS The work with the boxmodel additionally allows to give speaking names to groups of CSS selectors and associated properties
45. be how to use toctoc_comments in other extension without need for PHP programming In manual developer there is a description if you want to use toctoc_comments from code Adding toctoc_comments by code to other extensions is the last possibility to achieve comments and ratings on records But it s always working and easy tt_news toctoc_comments provides 2 custom markers for tt_news The markers do not influence performance of t_news if they are not used Same functionality is also available for tx_news Comments Count with link to comments on News detail page This marker is for display of number of comments inside LIST LATEST or SEARCH views Marker is TX_COMMENTS_COUNT By default it will produce the following HTML lt a href url to news item tx toctoc comments comments UID class tx toctoc comments count gt 5 comments s lt span gt This HTML can be customized by modifying template supplied with toctoc_comments See H 4 TTNEWS_COMMENT_COUNT_SUB subpart in the template tt_news marker is typically included after more link Plug in display The marker is for display of the entire plugin The configuration for the plug in is originating from TS but every option can be overwritten from tt_news TS setup plugin tt_news toctoc_ comments ratings useVotes 0 useDislike 0 It works like the other marker inside LIST LATEST or SEARCH views Marker is TX_TOCTOCCOMMENTS When
46. by width a scanned image may have Values between 1 and 4 are possible 59 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default webpagePreviewScanLog boolean List of Patterns for logo recognition logo crght oPatterns A list of string patterns separated by commas if a pattern is found in a file name then the image file is considered as logo of the website scanned Be careful with short patterns patterns shorter than 4 chars are ignored webpagePreviewScanExc boolean List of Patterns for image exclusion during scan pixeltrans ludeImagePatterns A list of string patterns separated by commas if a pattern is found spacer youtube in a file name then the image file is excluded rclogos white transpa bg_teaser webpagePreviewDescript int Minimal Length of a page text fragment during scan When scanning 40 ionPortionLength text from pages then the content of p Tags and span tags is analyzed The content must be longer than this value for inclusion in page description Values between 10 and 100 are accepted webpagePreviewCurlTim int Timeout for HTML requests in ms 7000 eout Request are canceled after this duration 3000 to 13000 usePicUpload boolean Use Image attachment 1 usePdfUpload boolean Use PDF attachment 1 picUploadDims int Maximal height and
47. ce 13 09 2013 M5 Please resolve this Captcha Let s add another comment s First name Gis le Last name Wendl oo A Email gisele wendl toctoc ch Location Biel Bienne Web site required field Email Notification F Enter the captcha Z7 mh 2 znhz eg commenting not logged in step 2 After the captcha has been resolved the comment has been recorded in the database The user is informed to wait until the moderator administrator has approved the comment Like Dislike Comment x Gis le Wendl likes this trtrtrersy 5 0 of 5 1 vote 3 peop je saw this since 13 09 2013 a 5 Your message has been recorded and will appear as soon as it is approved x by moderator add comment Daniel Klessa Hallo ich habe das Problem das meine TYPO3 Installation in einem Unterverzeichnis ist und toctoc_comments in den Pfaden zu den Bildern immer das root Verzeichnis einstellt ich denke das damit auch mein 2 Problem einhergeht Fa ia nish m nliah Nildae ONe commenting not logged in step 3 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction The comments administrator receives then an e mail he can approve delete or kill the comment kill deletes a comment permanently from the database i Your Koe o E toctoc_comments Administration eee Comment approval New comment was posted to http www toctoc ch toctoc_comments_simplecomments M5d637b1e
48. che 0 plugins are cached in PHP session and recalculated only after changes in the data of a plugin of the page S recommended W possible Good to know in this context URL parameter no_cache l empties SessionCache URL parameter purge_cache 1 clears page cache and resets entire session cacheBackTrack boolean Show plugins with changed data If useSessionCache is set to 1 you 1 can use cacheBackTrack and show the user the plugins where data has changed since their first visit using the current session S recommended W possible count Views boolean Enables counting of Plugin views For each Plugin a counter will be 1 maintained and will be displayed on top of comments list if enabled count ViewsShowSince boolean Shows view since date 1 showCountViews boolean Shows counting of Plugin views 0 showCountViewsOnlylIf boolean Shows counting of Plugin views only if comments are present 1 CommentsExist showCountViews must be set to 1 count ViewsAddCommen boolean Adds comments count to view count and enables initial values for 0 ts viewcounts and firstview showCountViews must be set to 1 showCountCommentVie boolean Shows counting of comment views 0 ws countCommentViews boolean enables counting of comment views 1 showCountViewsLongFo boolean Shows the text for counting of views in a longer format Short 909 0 rmat Views since 21 12 2012 Long 909 people saw this content since 21 12 2012 activityMultiplicatorRati int
49. comments is shown instead of reply link useEmoji options inactive 0 emoji images 16px 1 emoji images 20px 2 1 Make use of Emoji pictures Unicode Emojis are replaced by image emojis in comments and while entering comments text emojis are converted to unicode emojis W useInternalSmiliesInEmo boolean Specify if the internal smilies are displayed in the emoji selection 1 jiSelector panel emojiConfigCacheLevel options Caching of Emoji configurations Starting up the Emojis uncached 0 costs much time So we cache them Here you can specify at what level they are cached site 0 page 1 plugin 2 useMultilingual boolean Make Plugins multilingual 0 If set to 0 TYPOS translations of the plugin will always contain the content of the default language content element If you set the option to 1 and localize a plugin the comments and ratings of the plugin will be per language S recommended W possible activateClearPageCache boolean Dont use TYPO3 caching If set to 1 pages with plugins will not be 0 cached If set to 0 please consider additionalCachePagesLocal when you have the same plugin data on different pages S recommended W possible 54 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default useSessionCache boolean Use session based caching 1 If set to 1 and activateClearPageCa
50. d parameter user On the profile page it s needed to run octoc_comments as USER_INT object to avoid caching when changing to another user profile Set in Page TS Setup plugin tx_toctoccomments pil USER INT plugin tx_toctoccomments pil advanced reverseSorting 1 invertBrowser 1 code FORM COMMENTS The plugin setup just creates a view similar to facebook with the newest posts and commenting form on top On the user wall octoc_comments allows new comments for all fe_users Only comments made from the current user and his friends are shown Setting up the plugin on the wall requires the table to prefix entry for tx_community to be set Additional configuration option for use on the community wall is this plugin tx_toctoccomments pil advanced wallExtension 1 ratings disableIpCheck 1 IP check disabled is more fun on the wall cwt_community For extension cwt community the same it s the same like for community cwt_community uses same jQuery like toctoc_comments we recommend on pages where you use 81 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions toctoc_comments to disbale jQuery from cwt_ community with plugin tx_cwtcommunity_pil jquery enabled 0 You ll need this Plugin to table map prefix tx_cwtcommunity_pil table fe_users showUid parameter action getviewprofile amp uid On the user w
51. dditionally we marked the options available in the backend plugin with P Page mode if present Name in the backend For Updates we started to add the version number to new TS options starting with version V 5 0 0 Also changes to defaults are tagged by version number Note The following TypoScript options apply to plugin tx_toctoc_comments_pil it includes all apart from the AJAX Login part of the extension which you ll find after this chapter these option are available as plugin tx_toctoc_comments_pi2 Property Data type Description Default storagePid int Page uid where comment records will be stored empty Current page if empty P General Normal Store records at page code string Operation mode of the commenting component FORM COMMENTS COMMENTS FORM First comments list then the V 5 0 0 form FORM COMMENTS First the form is shown then the comments list COMMENTS Only Comments list is shown externalPrefix string See Triggering prefix in User guide pages P General Normal Triggering prefix templateFile string Template file for the plugin Accepts either site EXT toctoc_comments res templat relative path or extension related path EXT prefix e toctoccomments_template html W commentsPerPage int Number of comments show in a comments list 3 minCommentLength int Required length for a comment W 10 maxCommentLength int Maximal length for a comment W 4000
52. dds additional options user signup options and some others Upgrading from comments 1 5 x 1 6 0 You need to enable the upgrade mode in the extension setup in Extension Manager When upgrade mode is enabled the comments and ratings for comments on a page are imported in toctoc_comments regardless of their original storage folder id For importing data data replace the comments plugin by toctoc_comments plugin and open the page At this moment the data of this page is imported from the tx_comments tables to tx_toctoc_comments tables After the update disable the update option again 27 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Changing the folder of static data In EM in the extensions configuration panel you can activate the update of static data With this static data like blocked IP addresses and Triggering Prefixes get moved in the folder of the current storage pid Once the plugin is run in the frontend the data gets moved from the root folder of your site to the comments folder storagePid So activating this option works only after complete installation of the plugin Inserting AJAX comments to page When inserting a new content element scroll down to the end of New content element wizard and click on the AJAX Social Network Components De dactonane metre Ue nota ET EI TTT INE I Irn IE A Nee REA ro eo rn CoE Sr AT emi AJAX Social Network Components AJAX Social Network C
53. e 5 i BS 10 since 19 08 2013 last activity 2 days 18 hours ago toctoc_comments 2 2 7 months 2 weeks ago IE8 support and integration for old comments extensions brings the new version of toctoc_comments 23 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Different look for logged in users When a user is logged in the fields to enter first name last name email location are hidden and filled with the values form the users profile This is handled with a template In the template file for comments there are 2 subtemplates for the form one for logged in users one for IP users not logged in Handling in TS Setup is best done with conditional assignment of options Often used is the captcha approval for anonymous IP users and let fe_users post without further control Have a look at this TS Setup usergroup plugin tx_toctoccomments pil ratings enableRatings 1 useDislike 1 spamProtect requireApproval 0 useCaptcha 0 else plugin tx_toctoccomments_pil ratings enableRatings 1 useDislike 0 spamProtect requireApproval 1 useCaptcha 1 global 24 TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction Acknowledgments Creation of this extension was done and sponsored by Gis le Wendl TYPO3 specialist and PHP programmer from Biel Bienne Switzerland She d be very happy for donations and jobs
54. e date format Old style date format is like 20 08 2012 0 new style would be like 3 weeks and 4 days ago See dateFormatMode and dateFormat for old style enableUrlLog boolean Enable URL log 0 55 TYPO3 amp Options from setup txt EXT AJAX Social Network Components toctoc_comments Configuration initial ViewsCount int Allows to give initial value to the views counters by TypoScript 0 initial ViewsDate timestamp Allows to give initial value to the first view dates by TypoScript allowCommentPreview _ boolean Display the eye for comment previews and make comment previews 1 on click on the eye allowCommentDeletion boolean Logged in users may delete their comments 1 nameCommentSeparator string The separator string between the commentators name and the subsequent text useNameCommentSepar boolean Use or don t use the separator string between commentators name 1 ator and the subsequent text loginRequiredIdLoginFo string Id of the div holding the login form tx tc loginform rm dontUseMirrorConf boolean set this to 1 only for debugging when you need to display entire conf 0 in Frontend V 5 0 0 spamProtect Property Data type Description Default requireA pproval boolean If enabled messages will be set to disapproved state and notification 1 will be sent to administrator see notificationEmail below If approval is not requested but ch
55. eIDHTMLIemplate string When clicking on Links in Admin E Mails this template will be used EXT toctoc_com to show the answer of the system S ments res templa te toctoccommen ts_template_eid h tml CommentsShowOldPerC int This is the scrolling multiplication number telling how many 3 ID commentsPerPage the show older comments function reveals at a time commentsEditBack int When a user can edit his comments this number indicates how many 1 comments back the user is allowed to edit set 0 for none allowed 0 to 50 UseTemplavoilaField string Name of the field defined in TemplaVoila if used where the field_content comments plugins goes Check your TemplaVoila page template W 52 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default UseMainColPos int tt_content Column colPos with comments plugins Columnposition colPos where the comments plugins go Can be left on 0 most of the times W 0 FeUserImagePath string Path where the feuser images are stored Normally uploads pics W uploads pics FeUserDbField string Database field in fe_users where toctoc_comments should look for a user pic W image useSharing boolean Use of Share Links for social networks like Facebook Google and Twitter P Advanced use Sharing sharingNoCalculatedCSS boolean if you dont use
56. eckTypicalSpam is set messages still can be set to disapproved state and notification is sent P Anti Spam Require approval of each comment useCaptcha string Enables using captcha to post comments Possible values are 0 None 0 sr_freecap clone captcha extension 1 jm _recaptcha clone extension 2 Captcha is checked after submit P Anti Spam Use captcha checkTypicalSpam boolean If set extension automatically checks all comments for typical guest 1 book spam If comments receives more than the value of spamCutOffPoint spam points it is automatically set to disapproved state and notification is sent to the author in the plugin spamCutOffPoint integer If number of points is greater than this value new comment is 10 ignored user receives spam warning message and e mail to administrator is not sent freecapBackgoundcolor _ string freecaptcha clone Backgoundcolor Use valid rgb code like 225 225 255 255 255 225 freecapTextcolor string freecaptcha clone textcolor Use valid rgb code like 25 25 25 95 107 200 freecapNumberchars int Number of characters freecaptcha clone max is 10 min is 3 4 freecapHeight int Height for freecaptcha clone max is 50 min is 23 23 notificationEmail string E mail address to send notifications to P Anti Spam Send notification to this email informationEmail string Notify administrator about posted comment without approval by e mail fromEmail string E mail address to send notifications fro
57. ed maximal and cropping length for comments Close comments ratings after predefined period or immediately Select an alternative fe_users image field turn on off features by TypoScript options Ratings 6 designs for 2 types of ratings star system and iLike system Display of iLikes and iDislikes with facebook like info about the users who liked Short and long representation of iLikes Ratings on comment on top or below comments Special Labels for rating products news images and people example I like this product Hide or show ratings on top of the plugin by TS Option Ratings can be categorized scoped example rate quality and price for a product record Top ratings can be displayed many options apply Alert e mail to administrator if a certain number of iDislikes has been reached TY P03 4 EXT AJAX Social Network Components toctoc_comments Introduction Sharing Supported platforms are Facebook Twitter Google LinkedIn StumbleUpon Digg Delicious Pinterest and with Add This even more is available 5 designs are available Localized design Login Logout Signup Full AJAX Write comment login continue write comment Refresh parts of the page identified by CSS ids Useable as stand alone plugin or inside toctoc_comments Based on options used in TYPO3s felogin additional options for sign up and facebook login login with facebook account Forgot password and change password process Sig
58. end if enabled comments by blocked IPs 1 are evaluated as spam confirmedOptIn Enables Confirmed opt in COI 0 When a commentator sends his email first time then he will receive a confirmation email and he needs to confirm his email address by clicking a link which changes the state hidden of his comment from false to true Remark the comment might not be approved yet this works in addition to coi and needs just to be handled normally emailTemplateDislikeHT string HTML E mail template notification on too many dislikes EXT toctoc_com ML HTML Template to use for notification email for dislike alerts to ments res templa administrator te toctoccommen ts_template_emai l dislike html emailTemplateDislike string E mail template for notification on too many dislikes EXT toctoc_com Template to use for notification email for dislike alerts to ments res templa administrator te toctoccommen ts_template_emai Idislike txt Options from setup txt considerReferer boolean If set checks that referrer of the current page is within the same web 0 site If not message is set to disapproved state and notification is sent to administrator P Anti Spam Check referrer ratings Property Data type Description Default enableRatings boolean Enables web site visitors to rate comments Notice that ratings change 0 is only available if comments are not closed for the item When comments are closed ratings automatically become read only P Rating
59. ent mode 3 Top ratings mode P General Mode Empty additionalClearCachePage sLocal list Locally needed pages that should extend additionalClearCachePages This is needed for cloned views on comments LIST and DETAIL views as well P General Normal Additional pages to clear cache optionalRecordId string A specific record to comment on it can be a content element or a record with a table to prefix map defined or a virtual content_element_id Virtual content elements are needed when placing multiple plugins into 1 real TYPO3 Content element See also externalPrefix for use of records You can specify a content element holding another toctoc_comments plugin with this If so the comments of the other plugin are displayed but still you can configure the current plugin as you want It works for toctoc_comment plugins implemented for comments on pages default For toctoc_comment plugins implemented for comments on records it will not work the prefix to table map can be used only in context of the plugin for the external records And makes no sense because comments are attached to records and not to a content element P General Normal Trigger optional Record Example tt_news_72 preventDuplicatePosts boolean If set prevents duplicate posts on the same page 1 useFieldsSequence lastname Specify the fields you want to use for commenting and the se
60. er sets 6 63 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default email_from string Email address used as sender of the change password emails email_fromName string Name used as sender of the change password emails replyTo string Reply to address used in the change password emails exposeNonexistentUserl bool If set and the user account cannot be found in the forgot password 0 nForgotPasswordDialog dialogue an error message will be shown that the account could not be found WARNING enabling this will disclose information about whether an email address is actually used for a frontend user account Visitors can find out if a user is known as frontend user Options from toctoc_comments Main Property Data type Description Default refreshIdList string CSS ids that should be refreshed from AJAX outside the plugin after logouts or logins When an Id is not present in the new state then the Ids HTML is set to Format as comma separated list example c256 c342 idUserLink pageTypeRefreshs int page type for faster refreshs on page part refreshs You can use a pagetype which renders only the needed body html watermark boolean Watermark fields instead of leaving input form field with labels 0 hidelfFaceBookActive boolean Hides the site login if facebook login is active 0 refer to section facebook Below
61. es from 0 none to 3 evels 20 are allowed userCommentResponseL int When displaying comments on comments this sets how many levels 1 evelExpanded are expanded values from 0 none to 20 are allowed showFeUsercomments boolean Show comments of FE Users If set to 0 comments of FE users are 1 shown only after login showFeUsercommentsOn boolean Show comments for FE Users depending of the user groups For logged 0 lyInSameUserGroup in users only comments by users of the same user groups are shown showFeUsercomments must be set to 0 commentatorNotify boolean commentator of former comments can be notified about new 1 approved comments commentatorNotifybyIP boolean commentator of former comments are identified by their IP If enabled 1 the commentators are identified as per their IP address if they are not logged in If disabled commentators who are not logged in can t disable E Mail notification on new comments notificationForComment string E mail address to use when sending mails to users who want to be atorEmail notified on new comments notificationForComment string HTML Template to use for notification email to commentator of EXT toctoc_com atorH TMLEmailTemplat former comments ments res templa e te toctoccommen ts_template_com mentator_email h tml notificationForComment string E mail template for commentator of former comments EXT toctoc_com atorEmailTemplate ments res templa te toctoccommen ts_template_com mentatoremail tx t
62. firstName_stdWrap array Wrap for First name field wrap lt b gt lt b gt lastName_stdWrap array Wrap for Last name field wrap lt b gt lt b gt email_stdWrap array Wrap for E mail field wrap empty webSite_stdWrap array Wrap for Website field wrap location_stdWrap array Wrap for Location field wrap content_stdWrap array Wrap for Content field wrap commentTitle_stdWrap array Wrap for Comment title field wrap lt b gt lt b gt lt br gt V 5 0 0 crdate_stdWrap array Wrap for recent comments list Date field wrap author_stdWrap array Wrap for recent comments list author field wrap amp nbsp amp nbsp recentComment_stdWrap array Wrap for recent comments list Comment field wrap vmcNoPageCache boolean set this to 1 if your system does crash on page 0 cache requests Options for smilies smiliePath string Path to directory with smiley image files EXT toctoc_comments res smilie fileExt string file extension of smiley images png 50 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default smilies array Array with all available smilies defined smile tongue P p P Syntax wink filename string string2 grin D D D curlylips 3 Smilies are a mix from facebook like smilies and kiss the smi
63. font size nn tx tc tooltip is the normal tooltip tx tc tooltip2 is the tooltip on the rating stars and tx tc tooltipemoji is used for tooltips on smilies and emojis 43 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual For the confirmation pop ups adjust confirm container this confirm container font size nn line height mm After change of template changes are not visible in frontend what to do You need to clear the internal session cache of toctoc_comments as well This is done by calling the page using GET Paramenter purge_cache 1 Alternatively while doing configuration changes it is recommended to switch off toctoc_comments session cache This is done by setting advanced useSessionCache 0 44 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual J get error message The content element ID instead of the plugin The orange message The content element ID containing the plugin could not be found automatically The reason for this might be the settings of TS Options UseMainColPos 0 or UseTemplavoilaField field_content This means that you should either review your TS Options or tell toctoc_comments directly for which content element id the comments made shall be referred The reference to a content element is needed if you comment on content elements it s needed as well for plugin operation when commenting on records So
64. for more options regarding Facebook policyPid int Puts a link to the page where you present your data policy or privacy declaration The link is down on the bottom of the left part of the login form Additionally the following wraps are available and redefined inside toctoc_comments reset of some existing and setup of some new stdWraps signupHeader stdWrap wrap forgotHeader stdWrap wrap welcomeMessage stdWrap wrap successMessage stdWrap wrap logoutMessage stdWrap wrap signupMessage stdWrap wrap changePasswordMessage stdWrap wrap errorMessage stdWrap wrap lt span class tx tc required error gt lt span gt forgotMessage stdWrap wrap signupErrorMessage stdWrap wrap lt span class tx tc required error gt lt span gt 64 TYPO3 I XX EXT AJAX Social Network Components toctoc_comments Configuration newUserTooShortMessage stdWrap wrap lt span class tx tc required error gt lt span gt newUserFirstnameRequiredMessage_stdWrap wrap lt span class tx tc required error gt lt span gt newUserLastnameRequiredMessage_stdWrap wrap lt span class tx tc required error gt lt span gt newEmailTooShortMessage_stdWrap wrap lt span class tx tc required error gt lt span gt newEmailInvalidMessage_stdWrap wrap lt span class tx tc required error gt lt span gt newUserDataHa
65. his parameter will be tx_extkey_pil but some older plug ins have different values for example tx_ttnews for tt_news plugin Special value pages allows to comment on content elements on a page instead of records value by default The mappings are in table Plugin to table map custom mappings can be defined there In versions before V3 1 0 this information was maintained in TS Setup Trigger optional record gives possibility to specify a record or content element for which the comments will be valid By Default the plugin associates to the containing content element or the record in association with a triggering prefix Here you can force the record to be commented If it is a content element holding a plugin itself then the comments of the other content element are shown but you still can represent them in another way Storage records at page specifies the sys folder where records should be stored If empty current page is used Normally TS Option is used 31 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Recent comments mode option All In this mode the options of the other tabs are not relevant Plugin Options General Advanced Rating options Anti spam Mode Recent comments gt Number of recent comments to display 8 Restrict to triggering prefix Custom prefix w Custom triggering prefix for recent comments tt_products x O Plugin to table map Users manual
66. i2 toctoc_comments installs all the AJAX Login options as tx_toctoc_comments_pi2 First all options of felogin are injected into tx_toctoc_comments_pi2 plugin tx_toctoccomments pi2 lt plugin tx_ felogin pil The idea is to allow seamless migration and parallel operation of felogin and the new AJAX login component from octoc_comments Then some options are proper to toctoc_comments in particular concerning user registration All options are setup only and they are valid per webpage W Important Options from felogin Property Data type Description Default storagePid string Define the Storage Folder with the Website User Records using a styles content 1 comma seperated list or single value oginform pid templateFile string The Template File from felogin will be overwritten with typo3conf ext to toctoc_comments AJAX Login template file ctoc_comments r es template tocto ccomments_temp late_felogin_pil h tml feloginBaseURL string Base url if something other than the system base URL is needed showForgotPasswordLink bool If set the section in the template to display the link to the forget password dialogue is visible showPermaLogin bool If set the section in the template to display the option to remember the login with a cookie is visible forgetLinkHashValidTim integer How many hours the link for forget password is valid 12 e newPasswordMinLength integer Minimum length of the new password a us
67. ing and show rating stars enables basic rating use My vote shows the users individual vote per IP if logged out per fe_user if logged in Use scope s for voting Assign rating scopes categories Rating scopes must be saved first to table TocToc scopes for ratings in the Backend Once this is done the scopes can be associated to the rating configuration allowing ratings on categories belonging to the record Use overall scope for voting shows the overall the sum of category ratings of the record use iLike AND iDislike enables to basic use of the like feature Both like and dislike are activated use or don t use iDislike allows to hide the dislike feature 36 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Anti spam tab General Advanced Rating options Anti spam Attachments Require approval of each comment Use TypoScript setting w Check referrer Use TypoScript setting w Use captcha Use TypoScript setting w Send notification to this e mail Send e mail from this address Require approval of each comment triggers the email for administrator where he can approve or disapprove a comment Check referrer is an option for more control on posts the referrer of the post must be on the site itself Use captcha enable use of captcha regardless if the user is logged in or not Send notification to this e mail allows to specify a recipient other than in TS setup for approval
68. ing items in an alternative language setting this option tol 0 Display will make display of title image and dates from the original language version of the item not the translated version The item long text description will still be displayed in the alternative language if present 61 TYPO3 amp Options from setup txt EXT AJAX Social Network Components toctoc_comments Configuration AlignResultsWithMaxVo boolean If set to 1 then the calculation of top ratings change 0 tesAndAvg Vote Top ratings with number of votes lower than the maximum found are given additional votes such all have the same number of votes The average value added is the average value of all votes found in current configuration days back and minimum votes required P General Top ratings Align results with the result with most votes showMinimumVotesinTit boolean Show text for minimum of votes required in the title of the plugin 0 le showAlignCommentinTi boolean If AlignResultsWithMaxVotesAndAvgVote is enabled show text how 0 tle the votes are aligned to the same level of votes showCountTopViewsLas boolean Enable last viewed date 1 tView theme All theme options are valid per webpage W Property Data type Description Default selectedTheme string Selected color theme CSS default Basic color palette that is used by the extension in frontend
69. ing tt_products for toctoc_comments display in LIST View In view class tx_ttproducts_list_view php In function amp printView find markerArray FORM NAME formName formCount After this insert toctoc_ comments marker include once t3lib extMgm extPath toctoc comments pil class toctoc_ comments pil php lib new tx_toctoccomments_ pil conftc array conftc GLOBALS TSFE gt tmpl gt setup plugin tx_toctoccomments pil if is_array this gt conf toctoc_comments merge default configuration and your extensions toctoc_comments configuration conftc array_replace recursive conftc this gt conf toctoc_ comments take the uid from somewhere here s a not so very standard way to obtain it in tt news arrwithuid explode tt_products list markerArray PRODUCT SIZE FUNCTION1 arrwithuid2 explode arrwithuid 1 ttuid intval arrwithuid2 0 if ttuid gt 0 content toctocHTML lib gt main content conftc tt_products ttuid this gt pibase gt c0bj markerArray TOCTOCCOMMENTS toctocHTML toctoc_comments marker done Now in your products_xx html template for tt_products you can use marker TOCTOCCOMMENTS in subtemplate ITEM_SINGLE of ITEM_LIST where the products list is rendered 84 TY P03 vv EXT AJAX Social Network Components toctoc_comments Known problems Known problem
70. k of the plug in Many improvements in details and fixes of newly discovered bugs have been realized in version 3 2 0 this 7 4 Rating ttrtrvrt 4 6 8 votes Why AJAX Social Network Components 5 months 6 days ago In this interview Gis le Wendl explains why toctoc_comments has been coded why it s useful and she gives some insights in the background 5 6 Rating teirtrit 4 7 6 votes Neue Comments Extension f r TYPO3 1 year 2 months ago 4 Wir haben die Extension comments berarbeitet und pr sentieren hier die Beta Version 4 Rating trirtrinty 5 4 votes toctoc_comments 3 0 7 months 2 weeks ago On December ist we released new version 3 of AJAX Social Network Components toctoc_comments 5 N 5 4 Rating tirtrty 5 4 votes A Social Network Components for TYPO3 10 months 3 weeks ago Social Network Components for TYPO3 with toctoc_comments the successor extension for comments and ratings 21 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Other charts mode More charts are available in mode other charts there s a chart showing top views and another showing top activities Top views A view is counted When an IP or a logged in user sees first a plugin or a comment The top views can be configured Number of views required Number of list items Days back to be considered and the target of the top views specific records conte
71. l Share Links with Add this is suppressed AddThisID string Add This Your ID string for Add This like ra 41230c846b24bb7c recentcommentsPluginpa ges string Pages with a record to display When a plugin is linked to a content element on a page but the page displays records then you should indicate the page ids here as a comma separated list Used by recent comments if mode Restrict to external prefix All and report bad comments forms Also your website must contain pages which are used to display single records and then you place the plugin toctoc_comments without setting up the triggering prefix So when linking on a comment of this page the recent comment list needs to know which record to display Here you simply select the concerned pages This option and the next option recentcommentsPluginRecords go together and they are really rarely needed 53 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default recentcommentsPluginR string Records for pages with a record to display ecords Corresponding list of records a list like tt_news_51 tt_products_65 Here you define the records which need to be shown for the list of pages where a record of a contained plugin should be shown The sequence of the records selected here must be same as the pages comments
72. lies from the original smilie extension grumpy Smilies gisele Gis le Wendl Roman and Jacqueline glasses 8 B are just like the famous developer Putnam from sunglasses 8 8 B BI facebook dedicated to the related living persons upset 0 O who contributed to this extension confused 0 0 O o shark 44 gasp O 0 pacman v squint _ devil 3 unsure frown cry putnam putnam robot heart h angel O kiki _ penguin p gisele g jacque jj rasta ir serious uncertain s oherrje U omg 80 8 O 8o 8 0 thief monk M saint mohawk V furrow moreevil X wow WOW advanced Property Data type Description Default dateFormat string Defines date format to use for date time information about posts empty Format specifiers depend on dateFormatMode configuration option See PHP function date and strftime for information about format specifiers If empty defaults to concatenation of SYS gt ddmmyy and SYS gt hhmm system variables from Install tool and dateFormatMode is forced to date If the format is invalid you will get an error message in the frontend dateFormatMode string Determines what PHP function to use for date formatting Defaults to date date If you want to use month or week days in national language you have to use strftime Valid values are
73. lowed by suffix Suffix can be A hour m month y year or d day Comments extension takes care to change page caching time so that page cache expires when comments should be closed Commenting closed for this plugin instance allows to close commenting immediately Use Sharing enables the sharing function in the plugin don t use sharing disables the Sharing function for a given platform individually initial value for view counter allows to let the counter start from a value different from 0 initial value for views since allows to fix the date when a first view happened 35 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Rating options tab rd A m ral Advanced Rating options Anti spam Attachments enable only Ratings Use TypoScript setting w Enable ratings Use TypoScript setting w Template file for ratings use voting and show rating stars Use TypoScript setting w use My vote Use TypoScript setting w Use scope s for voting TocToc Scopes for ratings Use overall for scoped voting Use TypoScript setting w use iLike AND iDislike Use TypoScript setting w use or don t use iDislike Use TypoScript setting w Enable only Ratings suppresses the display of comments sharing is not touched enable ratings allows to enable or disable all rating functions voting and liking Template file for ratings Allows to specify a different ratings layout use vot
74. m P Anti Spam Send email from this address emailTemplateHTML string HTML template to use for approval needed notification email to EXT toctoc_com administrator Is also used for simple notifications without approval ments res templa te toctoccommen ts_template_emai Lhtml 56 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default emailTemplate string Template to use for Approval needed notification email to EXT toctoc_com administrator It will result in a simple text E mail ments res templa te toctoccommen ts_template_emai Ltxt emailTemplateInfo string Template to use for information notification email to administrator email TemplateInf o EXT toctoc_com ments res templa te toctoccommen ts_template_emai linfo txt emailTemplatecoiHTML string HTML E mail template for confirmed opt im it s used for confirmed EXT toctoc_com opt in request email to user who made a comment first time using his ments res templa email address te toctoccommen ts_template_emai 1_coi html emailcoiTemplate string Text E mail template for confirmed opt in it s used for confirmed opt EXT toctoc_com in request email to user who made a comment first time using his ments res templa email address te toctoccommen ts_template_emai L_coi txt useIPblocking boolean Enables IP Blocklists in front
75. mains active but it is recommended to have a look at the caching possibilities and considerations below if you run toctoc_comments e only for ratings or sharings e if you clone plugins on different pages e if you comment or rate on the same records on different pages TYPO3 page cache To display new data in the plugins in the frontend the page cache of a webpage in TYPO3 needs to be empty When changing data toctoc_comments clears the page cache of the current page and the cache of the pages specified in additionalCachePages und additionalCachePagesLocal Up to version 3 5 0 date display format 2 hours and 45 minutes ago was not yet updated by JavaScript so rendering a fresh page was needed These are the reasons why up to version 3 5 0 page cache was emptied by the extension at almost every page call This is the behavior when TS option advanced activateClearPageCache is set to 1 Setting advanced activateClearPage to the new default 0 enables TYPO3 page cache to be used properly also then Plugin caching in PHP Sessions can be activated It will be active if you leave TS Option useSessionCache unchanged 1 Page cache will still be emptied when new data is entered Plugin cache When TYPO3 cache is allowed then toctoc_comments can use its internal plugin cache Plugin cache is stored at the level of Session gt Plugin gt Language gt User gt Page and it is cleared on data access at the level of Session
76. n up with captcha protection Templates Highly customizable HTML templates for commenting rating eID requests Text and HTML Mails All fe_user fields can be used as markers in the templates stdWrap configuration for most display markers Design CSS classes are present for almost every element Colors of the plugin are isolated in customizable CSS color themes 6 CSS color themes selectable by TS option for easy change of colors used in the plugin or and to make it fit with a boxmodel TS Options for Plugin Design are available as theme options TS Options concerning design are pushed in CSS and JavaScript Support for boxmodels they document and implement changes to the CSS layout in a single file Values of 6 design relevant TS Options are available for use in boxmodels 3 alternative boxmodels and 3 color themes for a look like DISQUS Google or Outlook 2013 Windows are included Optional additional CSS file is possible Customize language labels from TypoScript Anti Spam Prevent duplicate comments for example several subsequent POST requests Email address syntax validation Internal spam checker spam filter can be set up with spam words in the BE Optional Email confirmation Opt in on first use of an email in the system IP blocking in backend or from notification email to administrator IP blocking lists included source www spamhaus org TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction
77. nowledgrniGnts ccsccaniedsie dincuscnranseenienites 25 Having QUESEIONS ssscsssscsss cases cases cessssessonssesdassdsosssosoens 25 Users manualas iin inn ER 26 Installing and Set Penesmnsnanamenonai 26 Important TypoScript Options 27 Use the AJAX Login Component teense 27 Upgrading from comments 1 5 x 1 6 0 eee 27 Changing the folder of static data eee 28 Inserting AJAX comments to Page eee 28 Use in Lermpla Voila FOE ss ccccasevereecercrccuesvsnrecestsedesteres 29 Customizing COMMENKS ccccsecsceceseceseeetserseererteeses 30 Changes to template files srcnrenriisiiiiiiii 30 Important setup OPTIONS eee 30 Customizing from the plugin eee 30 Use as TypoScript Object cece 30 Plugin COMMBUPACION carseceassadececdadeciaes cisseatansesanondanontensesen 31 General ta Dicstssesasccsessessaseinasessassscatessestascinatearsdearsieies 31 Advanced fa vinta a 35 Rating Options taieanananananin 36 Anti spam taB asasinos 37 Attachments ta Di sciccscisearieersceas cacti diidiis 37 Approving COMMEN S si 38 E Mail approvals 38 Approval by Web gt List module eee 38 Approval by Web gt Comments module 38 Email confirmation opt in COl 39 User StAUISHICS seescsseerdesercis cece E R 39 Top Ratirigssss ces ssesssssssssceadstiadsiiedstasistisebtseepasianiseoninseases 40 CONSIGEratlONS srenapiicsee ne 40 Display of top ratings on votes or and iLikes 40 Display of calculated top
78. nt comments or all of them In the screen shot we see most viewed 5 news of a website Most viewed 5 News Views in the last 14 days ee 29 since 19 08 2013 last time seen 4 hours 36 minutes ago e toctoc_comments 4 0 the ratings and emoji version 3 weeks 4 days ago ees Top ratings are available now ratings can now be scoped and put in categories many new configuration 11 since 19 08 2013 last time seen 19 hours 16 minutes ago A Why AJAX Social Network Components 6 months 2 weeks ago In this interview Gis le Wendl explains why toctoc_comments has been coded why it s useful and she 9 since 19 08 2013 last time seen 2 days 18 hours ago toctoc_comments 3 6 0 with application caching 3 months 3 weeks ago The caching concept has been improved with more support for TYPOS page cache and with an internal application 4 gt 6 since 19 08 2013 last time seen 2 days 18 hours ago e O Bingo toctoc comments 3 2 7 months 2 weeks ago E The new version brings integration in tt_news LIST view and a new design for iLikes CSS color themes 5 a 6 since 19 08 2013 last time seen 2 days 18 hours ago pial i toctoc_comments 3 0 7 months 2 weeks ago es On December ist we released new version 3 of AJAX Social Network Components toctoc_comments 22 TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Introduction Top activities The activity co
79. nting of views Custom Language Labels All the language labels defined in pil locallang xml and used in the frontend plugin can be overwritten from TypoScript For example you want to replace the value of xml key pil_template text_topratings Top s ratings by Top s evaluations In TypoScript it looks like this plugin tx_toctoccomments pil ll en pil template text_topratings Top s evaluations Note that the dot becomes a hyphen in TypoScript en designates language key en for English There is no default specify the language directly Al TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Login required mode Overview In login required mode users need to make login for commenting When a user is not logged in then a login form is displayed under the comment entry form When the user made log in he can save his comment Login required mode is activated with TypoScript Option plugin tx_toctoccomments pil advanced LoginRequired 1 How it works and prerequisites The TypoScript option for toctoc_comments login are in a first step obtain all options that you already setup for felogin TYPO3s internal login extension The options can be overwritten and need to be extended with the options under plugin tx_toctc_comments_pi2 Page On the page where you want to make loginRequired available you need to make sure that TS option plugin tx_t
80. nts can be entered without captcha check and without approval The setting without captcha would typically apply for logged in users The following screen shots show how to make an entry of a comment and then the approval process Like Dislike Comment a Gis le Wendl likes this Wert 5 0 of 5 1 vote 3 people saw this since 13 09 2013 Fas Let s add another comment First name Gis le Last name Wendi oe A Email gisele wendl toctoc ch Location Biel Bienne Web site required field Email Notification F Submit D Let s add another comment amp Daniel Klessa Hallo ich habe das Problem das meine TYPO3 Installation in einem Unterverzeichnis ist und toctoc_comments in den am Pfaden zu den Bildern immer das root Verzeichnis einstellt ich denke das damit auch mein 2 Problem einhergeht Es ist nicht m glich Bilder PDF show more s You like this Dislike 9 months 4 weeks ago 3 people saw this titi 3 0 of 5 1 vote Reply 1 reply i yy Gis le Wendolini Deine Problembeschreibung ist absolut richtig commenting not logged in step 1 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction After posting a comment the useCaptcha option brings the captchas security question Here the plugin uses an internal clone of sr_freecap Like Dislike Comment x Gis le Wendl likes this trtrtrerey 5 0 of 5 1 vote 3 people saw this sin
81. o then the video will be displayed instead of the HTML preview of the webpage webpagePreviewHeight int Height of the Webpagepreview 70 Associated webpage preview images will have same size min is 30 max is 120 pixels maxCharsPreviewTitle int Character length of the webpage preview title 70 values between 20 and 250 are accepted by the system webpagePreviewDescript int Character length of the webpage preview description 160 ionLength Values between 50 and 500 are accepted by the system webpagePreviewDescript int Minimal character length of the webpage preview description 60 ionMinimalLength When a description found on a webpage is shorter than this number the system gets the description from Google values must be between 20 and 150 webpagePreviewCacheTi int Cache expiry for scanned pages in minutes 180 mePage After this time pages are scanned again values must be between 0 and 1440 1 day max webpagePreviewCacheTi int Cache expiry for temporary stored images in minutes 60 meTempImages After this time images in the temp folder are deleted after a new page has been scanned values must be between 5 and 120 2 hours max webpagePreviewCacheCl boolean Delete temp images manually or by scheduled script 0 earManual If you want to control manually deletion of outdated images in temp folder set this to 1 you can use a scheduled PHP script or if you don t mind even delete the files when your disk space contingent is reached
82. o site s TypoScript template To add this template go to Template for the extension click on the Info Modify there and click Click here to edit whole template record link In the opened form select Includes in Include static from extensions add AJAX Social Network Components toctoc_comments to selected items Edit Template plugin toctoc_comments on page extension_configuration v General Options Includes Include Static Templates After Basis Templates ia Include static from extensions Selected Items Resources AJA Social Network commen IP blocking for comments comments_ipbl Comments report bad comment comments_repc Google Analytics General Setup rsgoogleanalyti components toctoc JE GIGI by romeno oser Manrayenrennt Uatarninits_Teusery 7 WEC Staff Directory old template wec_staffdirec Access Available Items WEC Staff Directory template wec_staffdirectory Powermail powermail Powermail basic CSS powermail Powermail fancy CSS powermail Shop System Old Style tt_products Shop System CSS Styled tt_products E Default TS form Social Network Components toctoc PRE rot comme 46 TY P03 vv EXT AJAX Social Network Components toctoc_comments Caching Caching Up to version 3 5 0 toctoc_comments had no options for cache handling With Version 3 6 0 the behavior how cache is handled can be changed By default the old caching behavior re
83. octc_comments_pil advanced loginRequired is set to 1 With this preparation for the page are done TypoScript for toctoc_comments If you have different setups for normal and logged in users then you must specify the options for logged in users as well in confAJAXlogin and thise for logged out users in confAJAXlogout plugin tx_toctoccomments pil confAJAXlogin spamProtect requireApproval 0 useCaptcha 0 confAJAXlogout spamProtect requireApproval 1 useCaptcha 1 Remark This is redundant to the set up you might have made with TypoScrip conditions on logged in or not logged in users but it s necessary When an AJAX request hits the server then the plugin configuration needs to be sent along the AJAX request we do not read the plugin configuration on AJAX requests The plugin configuration is refreshed only on page reloads 42 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual TypoScript for felogin The existing TypoScript which comes from felogin should to be extended as follows felogins error message should have about the same length as the welcome message The goal is that the login area do not need to be resized much when an error occurs The original error message is too long with the following TypoScript you can control the output in these labels plugin tx_toctoc comments pi2 _LOCAL_LANG de Ll_welcome message Bitte geben Sie Ihren Benutzernamen und Ihr Passwort
84. omponents for content elements and records mews products and more This will insert a plugin for AJAX Social Network Components as a new content element Alternatively you can inject the plugin by TS in a TemplaVoila FCE as explained on the next page 28 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Use in TemplaVoila FCE In a flexible content element FCE of TemplaVoila you can setup TS for a mapped element It s possible to use the plugin in a FCE like this Setup the element as TypoScript only element Element Preset None TypoScript only v Changing element type will change your existing settings Mapping rules The TS you need looks like this 10 USER usergroup 10 USER_INT global globalString _GET tx_toctoccomments_pil anchor 10 USER_INT global 10 lt plugin tx_toctoccomments pil Element al TypoScript Constants field_content2 Configuration see Data processing TypoScript Code 10 USER usergroup 10 USER_INT global globalString _GET tx_toctoccomments pil 10 USER_INT global 10 lt plugin tx_toctoccorments_ pil Update Cancel Close In normal TemplaVolia mode it is possible to use references on a toctoc_comments plugin and of course use it as normal Plugin in TemplaVoila s main content area see also UseTemplavoilaField field_content 29 TY P03 vv EX
85. on records was implemented as Prefix to table map and was setup in TS Configuration Now prefix to table maps are maintained in TYPO3 table Plugin to table map E y You can maintain and add new records in the backend see also chapter Changing the folder of static data When is a plugin to table map needed When you want to allow comments or ratings on records then you can do this with TS Option externalPrefix and a corresponding entry in table Plugin to table map The records must be shown in a details view page and the parameters used by the extension to display the record must be present as GET Variables in the URL of the page Don t worry if you use nice URLs made with realURL or others it works toctoc_comments already includes the Plugin to table map for the following 11 extension keys e tx album3x_pil e tx commerce_pil e tx_irfaq_pil e tx mininews_pil tx_ttnews tt_products e tx_rouge e tx_wecstaffdirectory_pil e tx_community e tx_cwtcommunity_pil e tx news_pil is a variant of wecstaffdirectory Adding entries to table Plugin to table map Extension users and authors who want to enable rating and commenting on their records may add entries to TYPO3 table Plugin to table map Here is an example how it should be done Make a new record in table Plugin to table map If your plug ins extensionkey is tx_myext_pil and its records table is tx_myext_mytable then the
86. on top of the plugin 1 useLikeDislikeStyle options Show Like and Dislike Features in alternative representation 0 Short display 1 shows thumbs for iLike above comment only numbers are displayed Also the voting stars are place above the comment only below comment 0 short display and separate thumbs dlikeCtsNotifLvl int Send notification to admin if level is reached An email will be sent to 5 admins mailbox spamProtect notificationEmail when this number of dislikes is been reached dlikeCtsNotifIdlTime int Time in minutes after a dislike notification without new notifications 10 on the dislike Only after this time an email will be sent to admins mailbox spamProtect notificationEmail when this number of dislikes is been reached useShortTopLikes boolean Show short form for Like and Dislike Features on top of the plugin 0 Like and Dislike on top of the plugin are displayed in short form 58 TYPO3 amp attachments EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default use WebpagePreview boolean Use attachment feature web page preview Web page previews are 1 allowed P Attachments Use attachment type webpage preview use WebpageVideoPrevie boolean Use attachment feature web page video preview Flash and HTML5 1 w videos in are shown Whenever the webpage scanner finds a vide
87. onnumber theme css For this purpose toctoc_comments picks up the default theme and prepares it according the themes color definitions Changing a theme file theme theme txt If you change a color in the themes theme txt file the changes will trigger an update of related CSS files in css temp file res css themes default css tx tc versionnumber theme css When you add new selectors in tx tc versionnumber theme css these additions will be propagated to the other themes The update happens on first use in the frontend Included themes We included a black and red theme as examples for customized themes Both for sites with white text either on black or red they work well with the default boxmodel Themes windows koogle and tisqus are for use with the corresponding boxmodels but they can be appied to other boxmodels as well Developing your theme Use theme work for a start It s a copy of theme default Once you re done copy your files in the custom theme folders TypoScript and themes Themes are setup up in TS at the base of a web page so you can have different themes on different pages You can specify themes per User or User group using User TS or Conditions in general TS setup Scheduled themes are also possible to realize with conditions in TS 78 TYPOQ3 v EXT AJAX Social Network Components toctoc_comments Code Concepts Palette of the default theme It s easy and a good thing to document the colors
88. op and form at the bottom of the plugin Form on top and then comments list Only comments list 2 Recent comments list 3 Report bad comments 4 Top ratings 5 Top views and top activities 6 Login Logout Signup AJAX functionality Components for sharing and rating and commenting can be all enabled disabled What can be commented rated or shared Comments Ratings Sharing Pages Yes Yes Yes Content Elements Yes Yes Yes Multiple times in content elements Yes Yes Yes Records in extensions DETAIL views Yes Yes Yes News in tt_news LIST view Yes Yes Yes Ratings on comments NA Yes NA Specified content elements Yes Yes Yes Specified records Yes Yes Yes Sharing shows up but the sharing content is always the page containing the comments Possible In TemplaVoila flexible content elements FCE plugin identification is achieved with TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction OptionalRecordIDs Comments and ratings on pages imply that only one toctoc_comments plugin is present on a page TemplaVoila Shortcuts to plugins on other pages work Can be used in FCE as TypoScript Only Object TypoScript Object toctoc_comments can be used as TypoScript Object and placed in the page by TypoScript PHP code of other extensions Plugin can be called from code for a specific record see manual developer Commenting features Reply on comments
89. or calculation of activity multiplicand for number of ratings For the 2 ng value of an activity ratings might be considered more than views with this ratings are given more value than simple views in the calculation of the activity value activityMultiplicatorCo intt For calculation of activity multiplicand for number of comments For 4 mment the value of an activity ratings might be comments more than views with this comments are given more value than simple views in the calculation of the activity value useCommentLink boolean Display the link for Commenting on top of the plugin 1 displayChildComments boolean Display the link for and number of subcomments in addition to the 1 expand collapse Icons if useUserPic 1 loginRequired boolean Require login The commenting form will link to a login form and 0 onyl after login commenting will be possible W watermarkFormFields boolean Watermark form fields 0 form fields will have a watermark instead of labels useBBCodeMenu boolean Use the menu for bb codes when youselect text in the commenting 1 form a popup allows to insert bb codes W V 5 0 0 BBCodebbs boolean string and sequence of available bb codes The available bb codes are b i code q ct defined here the initial setup hold all possible bb codes bold b bq italic i code code q inlinbe quote bq blockquote and ct citation W V 5 0 0 Options from setup txt dateFormatOldStyle boolean Use old styl
90. pproved comments have different icon in the List module J Ein Nebenaspekt unter WIMP sin g Ganz und gar nicht sein lassen k The first item on the screenshot above shows a comment which has not been approved yet When opened for editing the following flag will define if comment is approved Approval state v If check is set comment is approved Approval by Web gt Comments module In the BE module of comments you can approve delete hide and kill comments on a list For mass administration this is the easiest way 38 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Email confirmation opt in COI If a comment is set to hidden it is because the Email confirmation opt in is active confirmedOptIn 1 and the user did not yet confirm his email When confirmedOptlIn is set to 1 and a user sends a comment he has to confirm his email before the comment will appear in the frontend This confirmation is necessary once per email and used IP address User Statistics User Statistics which are maintained by the plugin help to see user activities and allows to keep track What is a User in toctoc_comments There are 2 kinds of users Anonymous and logged in users toctoc_comments stores it s own user format especially with the goal to identify returning anonymous users Logged in users FE Users are stored in format 0 0 0 0 fe_userid example 0 0 0 0 2054 Anonymous users are identified b
91. prefix for top ratings All will consider all records Only comments only ratings on comments Only content will show only ratings on content elements and with Custom prefix the Custom triggering prefix defined what will be showed in the list Custom triggering prefix for top ratings is considered when The Restrict to external prefix for top ratings is set to Custom prefix Here you can select an entry of Plug in to table map Align results with the result with most votes recalculates the ratings such all items would have the same number of votes Now the missing votes are added as overall average of the ratings found with the current configuration of Days back and minimum votes required 33 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual More charts mode In this mode the options of the other tabs are not relevant General Advanced Rating options Anti spam Attachments Mode More charts v Show chart for views w Number of items to show in chart Number of past days to query minimum records required Restrict to triggering prefix for chart All v Custom triggering prefix for chart K G Plugin to table map Number of items to show in chart on the list Used in the title of plugin Number of past days to query Only data in this period is considered Minimum records required views or activities to appear in the list Restrict to external prefix for chart
92. quence of their appearance in the form possible values commenttitle firstname lastname email location homepage title is always on top the remaining fields will display in this sequence possible required values commenttitle firstname location homepage email content and lastname are always mandatory V 5 0 0 firstname lastname email location 49 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default useGenderWithField lastname The 2 icons to select the gender of the commenter lastname are shown with this field V 5 0 0 requiredFields list of values Comma separated list of fields to be required for Minimum recommended and comments Available values commenttitle V 5 0 0 firstname lastname email homepage location Remark lastname email and content are always required by the system For fe_users the fields apart content are filled automatically by the values in table fe_users default firstname lastname email V 5 0 0 If you want only an Alias instead of firstname lastname then use lastname for this purpose requiredFields_errorWrap array dataWrap for required field if field is not filled dataWrap lt span class tx tc properly required error gt LLL EXT toctoc_comments pil locallang xml error amp 32 lt span gt
93. ratings with the same base Of VOTES iisi hpoiyadria diina iaidd aian 40 Top ratings ON COMMEN Seien 40 Top ratings on COMENi sceniniais 40 Top ratings on record Saraco 40 Top Views and Top activitieS ssesssesssesssssssessesssess 4 Considerations seirsrirado aain Custom Language Labels Login required mode OV ET VIEW isiasssscteeseies cates ssetasepanaeazsieaxetaniaacienessacieessane How it works and prerequiSiteS cceeeeeee 42 Use as standalone Version cseseeeeeeeeees 43 Call user defined JavaScript sssusa 43 FAQ PEENE EE ATE dtiasveaneraruoce 43 After installation the plugin has to big font size How can change this and where cccee 43 After change of template changes are not visible in frontend what to dO ssiiisssseinin 44 get error message The content element ID instead of the PIUQIN cece eee eee eens 45 get PHP errors when voting or liking something A EEE asi sesci nce ty A teeta 45 With TYPO3 older than 4 5 the plugin shows no Eteo ERTA ET 45 AGIMINISEF ATION sstsecsssesscsecscseconseisasetssersesseconnsctsscesedsnds 46 Adding TypoScript template ceeeeseeeeeeeeeeeees 46 CA CMG ses sar A E E AE E 47 TYPOS page Cach inca ianuvdeisendiadedudiiaid 47 Plugin Caches siosaia cpadstoatsieadstasbicasuadeatraantasd 47 RECOMMENGALONSccstsvescecesceccaves ves deasssvaabsvaaveraveneveceves 47 Configurations 48 Main configuratio sessies 48 ADVAN CO asasinen andans asd ceasdota
94. rowsers Comments List Sorting on first hierarchy level by date ascending or descending Plugin option TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction Links in comments are converted to clickable links can be turned on off Pop up cards with user information and statistics about comments and ratings made user cards on user pics Options for different date displays in comments In a speaking way 2 days ago or in different fully localizable date formats through PHP strtoftime function Available user fields for comments are comment title first name last name gender email homepage and location Change place of comments browser from top to bottom or inverse Comments counter with 4 different layouts Supports leading spaces in comments display Turn on off user picture View counter for comments and also on the plugin level counting of different users fe_users logged in users fe_users can edit their comments in the comments list Number of comments back editable can be set by option fe_users can delete their comments in the comments list Filtering of comments by user groups of fe_user is possible Exclusion of fe_user comments from public is possible Special views Recent comments list Most viewed comments or plugins list Comments or plugins with most activity list Comments administration Options for visible expanded levels and possible levels of comment replies Set the requir
95. s Install requires sometimes temporary deactivation of extensions dbal Watermark can fail under IE sometimes the watermark gets lost Even if capable for HTMLS IE10 Preview fails on file uploads IE11 works fine In fluid flux environments access to page cache has to be delegated by setting TypoScript option vmcNoPageCache 1 85 TY P03 vv EXT AJAX Social Network Components toctoc_comments Hooks Hooks Since the original version of toctoc_comments comments 1 5 the extension has not been tested with all the hooks comments 1 5 offered toctoc_comments added AJAX functionality so many hooks that worked in comments don t work as it in a AJAX environment Also the functions used by hooks have been moved from class toctoc_comments_pil php to toctoc_comment_lib php In former versions of this manual we listed all these hooks but as they have not been tested we decided to skip this part for instance 86 TY P03 vv EXT AJAX Social Network Components toctoc_comments Other old comments extensions Other old comments extensions toctoc_comments can be used as an update to extension comments With comments there are many of other extensions that implement hooks on comments and therefore can t be used in toctoc_comments as they are From 18 extensions found e 13 are obsolete their functionality is now inside toctoc_comments e 1 extension can be installed slightly modified and works with toctoc_comments e 4 extension
96. s Enable ratings ratingsOnly boolean Enable ratings only Use plugin as rating only version 0 P Ratings enable only Ratings minValue integer Minimum rating value This must not be changed once ratings are in 1 use already Changing this value also requires CSS adjustments length of voting bar 57 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default max Value integer Maximum rating value This must not be changed once ratings are in 5 use already Changing this value also requires CSS adjustments length of voting bar S ratingImageWidth integer Width of a single rating bar image Must be adjusted if a non default 11 image is used W mode auto or auto means that ratings will operate as they normally do on web auto static sites user votes and he cannot vote on this item any more static means that the user will not be able to vote ratings will be read only disableIpCheck boolean Disables the IP address check for voting If this check is disabled 0 users may vote any number of times on the item useful for testing additionalCSS string Allows to change the appearance of ratings without changing template Typically ratingImageWidth needs to be changed too W ratings IemplateFile string Template file for ratings shown in the plugin Accepts either site EXT
97. s have not yet been tested or the interface in toctoc_comments is not ready for them The missing functionality overall reduces to the possibility to use a gravatar as user image Translating the extension Translation of the extension happens through TYPO3 translation server If you do not know what translation server is read about it here You ll find more info about available translations on www toctoc ch toctoc_comments_lIl_html Troubles with the TYPO3 translation server If you translate the extension and don t know how to use the TYPOS translation server then please contact us over our website www toctoc ch Once we contact you can send the translated xml files by e mail zip format we will upload the translations then on the Server 87 TY P03 vv EXT AJAX Social Network Components toctoc_comments To Do list To Do list Make the boxmodeller delete CSS properties merge the conf CSS files into the boxmodel CSS files Uploadable video attachments Better BE for Comments including Per User View Activity Reports Dashboard and Ratings administration Gravatar as user image Improve usability in Extbase Fluid Extensions TYPOS Forge toctoc_comments 88
98. sErrorsMessage stdWrap wrap lt Span class tx tc required error tx tc error title gt lt span gt changePasswordTooShortMessage_stdWrap wrap lt span class tx tc required error gt lt span gt changePasswordNotEqualMessage_stdWrap wrap lt span class tx tc required error gt lt span gt cookieWarning stdWrap wrap lt span class tx tc required error gt lt span gt Language Labels for the links on new account XX is the language code you d like to make labels fo We defined German and English Property Data type Description Default ButtonNewAccount string Label of the button sign up de Registrieren en Sign Up NewAccount string Label of the link to sign up de Neuen Account erstellen en Create new account register In option group register there are all options relevant to User Sign up Property Data type Description Default enableSignup boolean Enable sign up 1 usergroup string setup default usergroup s uids setup when registering separated by 1 commas signupUseCaptcha options Use a captcha during sign up 2 l is extension captcha 2 is sr_freecap signupRequireFirstname boolean Make first name of the new user mandatory 1 newUserMinLength int Minimal length required for a new username 6 facebook When the options for facebook login are setup facebook becomes visible in the front end Property Data type
99. splay a background image on top The Expand Icons have more left margin Opacity of form is initialized with 0 5 62 TYPO3 EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default freezeLevelCSS options set this to 0 if you want to force CSS generation 1 for normal mode 1 changes in boxmodel or conf trigger refreshs or 2 for frozen CSS files must exist S V 5 0 0 debug All theme options are valid per webpage W Property Data type Description Default useDebug boolean Use of debugging features such as run times caching and session 0 resets useDebugFeUserlds string List with Fe_users uid that are used for debugging comma separated Options from setup only showStartupDetails boolean Show details on Startup times useDebug must be 1 and 0 useDebugFeUserld set to correct fe_users uid showLibDetails boolean Show details on times used in main file toctoc_comment_lib php 0 useDebug must be 1 and useDebugFeUserld set to correct fe_users uid showDropsfromBoxmode boolean Inconsistent entries in a boxmodel get dropped Here you can turn on 0 1 the protocol to see the drops showCSScomments boolean Inserts comments in final CSS output referencing boxmodell additions 0 and more meta information on how the CSS was buildt S V 5 0 0 Setup Options for tx_toctoc_comments_p
100. stvasv woes spamProtect PACING A EEEN IE PENO PA A attachments recentcomments commentsreport LOPRALIN nenons oana a HVS A EE E E E cease atest tebeetecsevenssnies cutuess CG DUS sassa aea raaa Ea TEN E E arae tienen Maifea a ea tee WAX E E A E e E a E N A A E face bOO karmnu aa ATA 65 Setup Options added to Extension tt_news 66 TYPO3 vv EXT AJAX Social Network Components toctoc_comments EXT AJAX Social Network Components toctoc COMMENTS LIST aisanana 66 Setup Options added to Extension tx_news 66 LOCOS COMMEN Sarean sericea 66 Comments and ratings on records of other OXCOMSIONS csccdccesccoussscscsscscseseceesaceedescesesusiesdasesscadessersne 67 When is a plugin to table map needed 0 67 Adding entries to table Plugin to table map 67 Optional URL parameter sescssisissiseduseisa 68 Entries for top Ratingsivccinninieciviritcavbaticed 68 Community extensions eee 68 Designing ENS PUB Mssiccsciicsccsececiessccesssincscxesseszeseresinste 70 Controlling CSS and JavaScript file generation 70 Where are the fileS ssesscsssessscesssseseeseseeseesensens N Processing of the CSS sinisasewiesniesniaretunesannie 7 Controlling Processing s airierissirsirnnraiins 71 Changes to the basig CSS icc iccccscscecu actus 72 Changes done by definitions in a boxmodel 72 BOxIMOdel sei ctisasisesie cuit idl asd cainianteastasted ids 72 Pract Serio
101. t holding the octoc_comments plugin is changed to Text Change back to view Plugin and save Top ratings on records For the display of these items their information in table Plugin to table map is considered Which field are displayed is specified in displayfields Fields to display in top ratings list Where the folder with the images is this is specified with topratingsimagesfolder Folder with images to display in top ratings list If the records must be displayed on a specific page there s the possibility to specify this page in topratingsdetailpage Force a detail page for top Ratings Please refer to the detail specification of these fields in Entries for top Ratings in chapter Comments and ratings on records of other extensions 40 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Top Views and Top activities Like for top ratings the consideration concerning the scope of the list apply The setup of the chart is almost identical apart for the AlignResultsWithMaxVotesAndAvgVote feature which is not appliable with views and activities Considerations The statistics at the base of top views and therefore top activities as well are correctly maintained from the moment on you install toctoc_comments 4 1 or newer Please consider the relevant TS options advanced countCommentViews 1 advanced countViews 1 They turn on or off the cou
102. t to 1 default Comments are linked to the original sources 1 maxCharCount int Number of characters before the comment is cropped 100 restictToprefixToTableM string The custom external prefix for recent comments triggers specific ap records like News Products or other records with associated comments P General Recent Comments Custom triggering prefix for recent comments 60 TYPO3 W commentsreport All options are setup only no constants only one plugin instance on a page is possible EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default active boolean Set comment reporting active 1 or inactive 0 0 reportPid int Report page id ID of the page where reporting form is located emailTemplateFile string Text mode template to use for notification email to administrator EXT toctoc_com ments res templa te toctoccommen ts_template_repo rtcomment_email txt HTMLemailTemplateFil string HTML template to use for notification email to administrator EXT toctoc_com e ments res templa te toctoccommen ts_template_repo rtcomment_email html requiredFields string Required fields for the form comma separated list of required fields From frommail text useCaptcha int None 0 captcha extension l sr_freecap extension 2 2 Use captcha Enable captcha usage W sourceEm
103. tes Your rating 5 10 people saw this since 17 12 2013 5 Add comment Please enter your username and password or open a new account Usemame Sign up with a new account Password Username Stay logged in Enter new password Login Repeat new password Email First name Last name Return to login form GB Gisele Wendolini aivo Commenting login required login forms and sign up form TYPO3 Y EXT AJAX Social Network Components toctoc_comments Introduction Users who forgot their password can start the password change process with the forgot password form A mail is sent to the user with a link that shows up the change password form 0 Share this page 5Y 0 4 5 of 5 6 votes Your rating 5 10 people saw this since 17 12 2013 P5 Add comment Please enter your username or email address Instructions for resetting the password will be immediately emailed to you Username or email address Return to login form Gis le Wendolini aivo r a days 31 minutes ago 3 people saw this Commenting login required forgot password form Login is made with AJAX 0 Share this page 5Y 0 4 5 of 5 6 votes Your rating 5 10 people saw this since 17 12 2013 P5 Add comment Commenting login required login When logged in the user can save comments TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction Logout is available just aside the submit button IHG S always Suncu mIyY t
104. tes the usercards and helps to resize the commenting area S SESSION Variables The extension uses many S_SESSION variables for program control and performance optimization It uses a named session Themes Since version 3 2 the extension uses themes to define the colors used in front end Themes are organized in sub folders in folder res css themes and they help to make the life of the webpage designer easier Colors are defined in a text file called theme txt with records like this Color required field messages Recaptcha Labels and Texts fefefe 010101 Border submit fefefe 001da0 When applying your colors to the plug in you must not longer know what selector in CSS belongs to what element in the plug in it is all precised in the descriptive first part of the theme record The first part is separated by from the rest of the record The second part contains 2 color codes the color code used in the present theme color 1 and the reference color code of the default template color 0 Description colorl colord The rules for the fields of the record are lt text gt lt space gt lt colorl gt lt space gt lt color0 gt 77 TY P03 vv EXT AJAX Social Network Components toctoc_comments Code Concepts How does toctoc_ comments use themes When the plugin is rendered the current colors according to file theme txt in the themes folder are checked against the content in file res css themes default css tx tc versi
105. the sharing components at all you can set this to 1 CSS generation for the sharrre component will be turned off resulting in less CSS W V 5 0 0 useSharing Design int Use Design with default or without buttons Default popup 0 Buttons popup 1 Default open 2 Buttons open 3 Add This small 4 Don t combine 1 and 3 on the same webpage dontUseSharingFaceboo k boolean Use of Share Link for Facebook is suppressed P Advanced don t use Sharing for Facebook dontUseSharingGoogle boolean Use of Share Link for Google is suppressed P Advanced don t use Sharing for Google dontUseSharing Twitter boolean se of Share Link for Twitter is suppressed dontUseSharingLinkedIn boolean U P Advanced don t use Sharing for Twitter U se of Share Link for LinkedIn is suppressed P Advanced don t use Sharing for LinkedIn V 5 0 0 dontUseSharingStumble upon boolean Use of Share Link for Stumbleupon is suppressed P Advanced don t use Sharing for Stumbleupon V 5 0 0 dontUseSharingPinterest boolean Use of Share Link for Pinterest is suppressed V 5 0 0 dontUseSharingDigg boolean Use of Share Link for Digg is suppressed e V 5 0 0 dontUseSharingDelicious boolean Use of Share Link for Delicious is suppressed P V 5 0 0 dontUseSharing AddThis More boolean Don t Use Add This more button Use of additiona
106. ther libraries Users of TYPO3 version 4 3 and 4 4 In the footer of the page template you need to add the JavaScript link to tx tc ftr version js manually It s lt script src typo3conf ext toctoc comments res js tx tc ftr 500 js type text javascript gt lt script gt for version 5 0 0 of toctoc_comments Important TypoScript options storagePID Set up a folder in TYPO3 where your comments are stored and set storagePID to the ID of this folder storagePID 452 pid of your comments folder for email notifications these 3 options are important For approval needed e mail setup a valid e mail here spamProtect notificationEmail youradmin yoursite tld For simple information e mail the same or an alternative e mail should be setup spamProtect informationEmail youradmin yoursite tld From e mail Notifications to administrator about posted comment are sent from this e mail spamProtect fromEmail newcomment yoursite tld Use the AJAX Login Component You need to make sure that tx_toctoc_comments_pi2 storagePid points to the sysfolder holding your fe users The setup of the AJAX Login component is done by tx_toctoc_comments_pi2 not tx_toctoc_comments_pil But nevertheless it s activated in tx_toctoc_comments_pil by tx_toctoc_ comments pil pluginmode 5 or tx_toctoc_ comments pil advanced loginRequired 1 tx_toctoc_comments_pi2 takes up the setup of tx_felogin_pil Then it overwrites the templateFile and a
107. toc_comments Commenting when user is logged in Introduction When a user is logged into the website the form data such as email and name are already known thus the user just can go ahead and enter his comment without reentering his personal data Comment approval is turned off by TypoScript option spamProtect requireApproval 0 the catcha question is turned off with spamProtect useCaptcha 0 In the screen shots below you see Rolwf Doog make a comment Add comment Gis le Wendl Let s add another comment amp x Like Dislike 29 minutes 37 seconds ago 1 person saw this tetrtrir 3 0 of 5 1 vote Your rating Oh yeah this is another comment but what about another b intelligent one b Email Notification F Submit eS Oh yeah 4 this is another comment but what about another intelligent one Daniel Klessa Hallo ich habe das Problem das meine TYPO3 Installation in einem Unterverzeichnis ist und toctoc_comments in den guin Pfaden zu den Bildern immer das root Verzeichnis einstellt ich denke das damit auch mein 2 Problem einhergeht Fs ict nicht m nlirh Rilder PNF commenting logged in step 1 TYPO3 v EXT AJAX Social Network Components toctoc_comments Introduction After submit Rowlf s comment is shown and hilighted Like Dislike Comment x Gis le Wendl likes this trtrtytrty 5 0 of 5 1 vote 4 people saw this since 13 09 2013 7 Add comment T
108. unter is maintained as sum of ratings and comments Ratings can be given more weight than views also comments can be weighted differently from views The top activities list can be configured Number of activities required Number of list items Days back to be considered and the target of the top activities specific records content comments or all of them In the screen shot we see the 5 news of a website with most activity Most active 5 News Activity in the last 14 days LJ ree i 35 since 19 08 2013 last activity 4 hours 41 minutes ago toctoc_comments 4 0 the ratings and emoji version 3 weeks 4 days ago Top ratings are available now ratings can now be scoped and put in categories many new configuration HA 15 since 19 08 2013 last activity 19 hours 20 minutes ago A Why AJAX Social Network Components 6 months 2 weeks ago In this interview Gis le Wendl explains why toctoc_comments has been coded why it s useful and she 13 since 19 08 2013 last activity 2 days 18 hours ago toctoc_comments 3 6 0 with application caching 3 months 3 weeks ago The caching concept has been improved with more support for TYPO3 page cache and with an internal application 4 B S 13 since 19 08 2013 last activity 2 days 18 hours ago i Petition for Edward Snowden awareness for the NSA 2 months 2 days ago There s a petition on avaaz org we consider important and like to invite you to sign At the same tim
109. using the same comments on both detail and a list search or latest view then it it s necessary to add the list view search or latest page to TS setup option additionalClearCachePages or additionalClearCachePagesLocal If detail page should not be refreshed then add it as well There s a little logic which tries to find the detail page and cleans its cache on changed data But this does not work in every configuration Only one detail page must exist and the plugin on this page must be set up normally not injected by TS in TemplaVoila FCE 80 TY P03 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions tx_news The same functions as for t _news are also available for tx_news The implementation is different With x_news use the ViewHelpers provided in folder Classes ViewHelpers Social community In extension community it is possible to use toctoc_comments in the user profile page and on the user wall The user wall of tx_community still can not be mixed with toctoc_comments but the plugins can be displayed aside On the user profile t octoc_comments allows new comments only for friends of the user profile owner Only comments made on the user profile are displayed Users who are not friend see the comments on the user profile but they can not make comments themselves You ll need this Plugin to table map prefix tx_community table fe_users showUi
110. webpagePreviewNumber int Number of images in webpage previews 10 OfImages The number of images shown influences the performance during scanning of webpages remarkably Values between 4 and 25 are possible webpagePreviewScanMin int Minimal file size for an image while scanning webpages 1500 imalImageFileSize Value in Bytes 300 6000 webpagePreviewScanMin int Minimal Height and Width for an image while scanning webpages 40 ImageSize Value in Pixel 30 100 webpagePreviewScanMa intt Maximal Height and Width for an image while scanning webpages 450 xImageSize Value in Pixel 300 1280 useLikeDislikewebpagePr int Minimal Height and Width for a logo image while scanning webpages 30 eviewScanMinLogoSize Value in Pixel 20 70 webpagePreviewScanMa intt Maximal Pictures scanned if logo has been found already 40 xImageScans Values are 20 to 100 higher values result in longer scan time webpagePreviewScanMa intt Maximal Pictures scanned if logo has not been found already 55 xImageScansForLogo Values are 30 to 150 must be higher than webpagePreviewScanMaxImages to make sense webpagePreviewScanMa intt Maximal allowed x to y relation for scanned images 5 xHorzizontalRelation The integer value when dividing width by height a scanned image may have Values between 1 and 5 are possible webpagePreviewScanma intt Maximal allowed y to x relation for scanned images 3 xverticalrelation The integer value when dividing height
111. width for an preview image after upload Value in 100 Pixel 50 150 picUploadMaxDimX int Maximal width for an image after upload Value in Pixel 100 900 800 picUploadMaxDimY int Maximal height for an image after upload Value in Pixel 100 1200 900 picUploadMaxDimWebp int Maximal dimensions for an image for display in the comments list 470 age 200 800 picUploadMaxDimYWeb int Maximal height for an image for display in the comments list 200 300 page 800 picUploadMaxfilesize int Maximal file size for image upload Value in KB 10 100000 2500 pdfUploadMaxfilesize int Maximal file size for pdf upload Value in KB 10 100000 3000 Options only available in the plugin but could be set from TypoScript as well useTopWebpagePreview int ID of the webpage preview to show on top of the plugin P Attachments Optional webpage preview on top topWebpagePreviewPictu int Index of preview picture for the webpage preview to show on top of re the plugin P Attachments Index of preview picture must exist default is 0 recentcomments All options are setup only no constants Property Data type Description Default listCount int Number of comments shown in the list 3 P General Recent Comments Number of recent comments to display sorting string Sorting of recent comments uid DESC anchorPre string Anchor prefix used when highlighting comments after clicking on a tx tc ct link linkComments boolean If se
112. y their IP address So the format for anonymous users is IP 0 example 184 126 45 22 0 Edit TocToc Userstats 188 154 55 98 0 on page Comments TocToc UserID Commenter s initial first name Commenter s initial last name Commenter s initial IP Commenters initial IP resolved udsl 188 154 55 98 adslplus ch Commenter s initial email Commenter s initial web site Commenter s initial location _ ee Commenter s current last name Commenter s current email Commenter s current web site Commenter s current location gisele wendl toctoc ch SS a Last update 13 40 24 01 2013 average rating value number of votes number oflikes number of dislikes E number of comments Date of confirmed opt in COI Email used for COI IP used for COI 39 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Top Ratings At the base of top ratings are statistics gathered by the users of your rating system The detail records for the statistics are in table TocToc user rating Considerations The statistics at the base of top ratings are correctly maintained from the moment on you install toctoc_comments Ratings of versions of toctoc_comments older than 4 0 are also considered if you expand the time interval beyond this moment but it s fuzzy The moment when then rating or iLike has been made can t be distinguished Also former ratings are only considered after a
Download Pdf Manuals
Related Search
Related Contents
試運転説明書 363KB - JICA Home Decorators Collection 1236020280 Installation Guide publicação - Câmara dos Deputados Aspire Digital 7230 Laptop User Manual Toastmaster TRST18 User's Manual Copyright © All rights reserved.
Failed to retrieve file