Home
EXT: AJAX Social Network Components - SVN
Contents
1. 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 32 TYPO3 amp 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 commentsShowCount boolean Show total number of comments In comments listing on top the total number of comments is shown reverseSorting boolean Shows last comments first and reverses sorting order to show last 0 comments on level 0 invertBrowser boolean Invert comment browser position Puts comments browser on top or 0 bottom of comments list allowHTMLtTIagsInCom boolean Allows HTML Tags in comments If set to 1 then HTML Tags can be 0 ments used to for
2. empty webSite_stdWrap array Wrap for Web site field wrap location_stdWrap array Wrap for Location field wrap content_stdWrap array Wrap for Content field wrap 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 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 smilies array Array with all available smilies defined smile tongue P p P Syntax wink filename string string2 Smilies are a mix from facebook like smilies and the smilies from the original smilie extension Smilies gisele Gis le Wendl Roman and Jacqueline are just like the famous developer Putnam from facebook dedicated to the related living persons who contributed to this extension grin D D D curlylips 3 kiss grumpy glasses 8 B sunglasses 8 8 B B upset o O confused 0 0 O o shark gasp O 0 pacman v squint _ devil 3 unsure frown cry putnam putnam robot heart h angel O kiki _ penguin p gisele g jacque j
3. 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 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 40 TY P03 4 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
4. General Options Includes Resources Access Include Static Templates After Basis Templates E Include static from extensions Selected Items Available Items AJAX Social Network Components toctoc comme IP blocking for comments comments_ipbl Comments report bad comment comments_repc Google Analytics General Setup rsgoogleanalyti Prone TO oser Mara genirentt LUatarninits_ Te User y WEC Staff Directory old template wec_staffdire 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 jj Default TS form Social Network Components toctoc comme D hlackina for comments feormmente inbly PILI AIEI e 26 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 remains 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
5. HTML5 File uploading Comments List Sorting on first hierarchy level by date ascending or descending by Plugin option Links in comments are converted to clickable links can be turned on and 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 first name last name gender email homepage and location Change place of comments browser from top to bottom or inverse Comments counter Supports leading spaces in Comments Display 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 TY P03 4 EXT AJAX Social Network Components toctoc_comments Introduction Exclusion of fe_user comments from public is possible Comments administration Options for visible expanded levels and possible levels of comment replies Set the required maximal and cropping length for comments Close comments ratings after predefined period or immediately Select an alternative fe_users image field Ratings 3 designs for 2 types of ratings star system and iLike system Display of iLikes and iDisli
6. 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 Users manual EL Element am TypoScript Constants field_content2 ie Configuration Data processing TypoScript Code global 10 USER usergroup 10 USER_INT global globalString _GET tx_toctoccomments_ pil 10 USER_INT 10 lt plugin tx_toctoccomments pil Update Cancel Close oG 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 TY P03 vv EXT 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 I
7. 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 picUploadMaxDim Webp intt Maximal dimensions for an image for display in the comments list 470 age 200 800 picUploadMaxDimYWe int Maximal height for an image for display in the comments list 200 300 bpage 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 Recent Comments gt RECENTCOMMENTS All options are setup only no constants Property Data type Description Default listCount int Number of comments shown in the list 3 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 set 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 Report bad Comment gt COMMENTSREPORT All options are setup only no constants only one plugin instance on a page is possible Property Da
8. 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 intt Number of levels of comments on comments values 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 showFeUsercommentsO boolean Show comments for FE Users depending of the user groups For logged 0 nlyInSameUserGroup 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 1 enabled the commentators are identified as per their IP address if they
9. Caching a cecssscccnsacidsteteacccesctesbscteacadestesetcesscisdessoteonsestees 27 Using AJAX Social Network Components in other TYPO3 page CACHE s sssssssssssssssssssssssssssssssssesssesesssssen 27 ERENS OSes 51 Plugin Celie ticansvinnsvevstedsvencnerasentesesdostbavenscsnccoeetsen 7 CE NEWS anen EE E A EERE 51 REC ORMIIGT BHO REENEN 27 COMAUN Yis iniii 52 Configurationisucinracinnriamaniaimnannnanammes 28 CWt_COMMUMItY ssesssssssrrsnsesesneseensseessesessessssnseseeennnssesnsins 52 Main CONT gUratiOn vaca antcwuminnsenecnaaun 28 Known PrODleMs ssssssseeseeeeerrreesnsnnnnrerseccecnesnnnnanesses 54 Advanced options gt ADVANCED FAAEA 31 Hooks csscccoscoocoocooccosococosocosocoosocesoscosococssccooscoosocsoesseosososos 55 Spam protection gt SPAMPROTECT 34 Interoperability Overview with other comments Ratings gt RATINGS o r 35 extensions aa eaaseeaeseeeyeesaess pediidec fered eeina 56 Attachments gt ATTACHMENTS ssessccssssssssssssssssssses 36 Translating the extensSion seessssssesessssesessssoseesssesse 56 Recent Comments gt RECENTCOMMENTS 37 ESDA E EE T A TS 57 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 AJ
10. and associated properties The properties can 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 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 can use them for examples Syntax 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 bo
11. are wuffwuff logged in wufF E Demo 20 hours 28 minutes ago Well Rowlf is really pollution the list with his underexposed Your name E mail Enter the captcha wba y u If you can t read the word click here ES 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 12 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 j
12. comments 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 x Plugin Options General dvanced Rating options nti spam Attachments Mode Normal x Triggering prefix o amp Plugin to table map Trigger optional Record x A All tables Store records at page RIE 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 this 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
13. 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 Community extensions community 1 You need to create the following Plugin to table map prefix tx_community table fe_users showUid parameter user cwt_community y You need to create the following Plugin to table map prefix tx_cwtcommunity_pil table fe_users showUid parameter action getviewprofile amp uid Al TYPOQ3 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 Default CSS TypoS cipt Konfiguration Boxmodeller toctoc_comments Colormodeller Final CSS JavaScript modeller JavaScript constants Overview By default the extension uses CSS file res css tx tc30 css As soon as you add TS options which change the layout a modified version of res css tx tc30 css with file name tx tc30 system css will be generated on plugin run time in folder res css boxmodels css These options can be call
14. on Startup times useDebug must be 1 and 0 useDebugFeUserld set to correct fe_users uid 39 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 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 e 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
15. 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 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 Ge AJAX Social Network Components 434 Social Network Components for content elements and records news 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 TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments 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
16. 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 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 by 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 Commenter s initial web site Commenter s initial location See Commenters current last name Commenter s current email Commenter s current web site Commenter s current location gisele wendl toctoc ch EEE Last update 13 40 24 01 2013 average rating value number of votes number of likes number of dislikes E number of comments Date of confirmed opt in COI Email used for COI IP used for COI 010001 01 1970 E 24 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual FAQ After installation the plugi
17. the comments Possible In TemplaVoila flexible content elements FCE plugin identification is achieved with OptionalRecordIDs TemplaVoila Shortcuts to plugins on other pages work Can be used in FCE as TypoScript Only Object TY P03 vv EXT AJAX Social Network Components toctoc_comments Introduction 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 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 Commenting form Set fields as required or optional 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 or as Unicode BB Codes 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 Uploads Picture and PDF attachments Configurable presentation in frontend scaled and cropped images as well as a nice jQuery Lightbox
18. 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 TY P03 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 Users manual Plugin Options General Advanced Rating options Anti spam Attachments Mode gt Recent comments X Number of recent comments to display 8 Restrict to triggering prefix All 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 Recent comments mode option Custom prefix In this mode the options of the other tabs are not relevant Also the pages and records are not relevant It s this mode you need if you want to display the recent comments about News Plugin Options General Advanced Rating options Anti spam Attachments Mode Recent comments X gt Number of recent c
19. video preview Flash and HTML5 1 w videos in are shown Whenever the webpage scanner finds a video 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 webpagePreviewDescript int Character length of the webpage preview description 200 ionLength Values between 50 and 500 are accepted by the system webpagePreviewDescript int Minimal character length of the webpage preview description 5 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 webpagePreviewNumb
20. AX 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 This extension can import comments from extension comments it is an UPDATE This extension is presented to the TYPO3 community by TocToc Internetmanagement www toctoc ch Features The extension offers almost all of the possible features that are needed for commenting rating and sharing 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 top 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 Components for sharing and rating and commenting can be all enabled disabled What can be commented rated or shared Comments Ratings Sharing Pages NA NA 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
21. Check 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 Notice users will have to reload the page to vote again additionalCSS string Allows to change the appearance of ratings without changing template Typically ratingImageWidth needs to be changed too W ratings TemplateFile string Template file for ratings shown in the plugin Accepts either site EXT toctoc_com relative path or extension related path EXT prefix ments res templa te toctoccommen ts_ratings html useMyVote boolean Show the vote of the user 1 use Votes boolean Shows the rating stars and enables voting if checked 1 useLikeDislike boolean Show Like and Dislike Features if checked both are active 1 useDislike boolean Show Dislike Features makes only sense in connection with 1 useLikeDislike 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 on top of the plugin 1 35 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Attachments gt AT TACHMENTS Configuration Property Data type Description Default use WebpagePreview boolean Use attachment feature web page preview Web page previews are 1 allowed use WebpageVideoPrevie boolean Use attachment feature web page
22. Data type Description Default additionalClearCachePag es list Additional pages where the cache should be dropped when adding or deleting toctoc_comment data Comma separated list additionalClearCachePag esLocal list Locally needed pages that should extend additionalClearCachePages This is needed for cloned views on comments LIST and DETAIL views as well code string Operation mode of the commenting component COMMENTS FORM First comments list then the form FORM COMMENTS First the form is shown then the comments list COMMENTS Only Comments list is shown COMMENTS FORM pluginmode int Empty Comments and Form Sharing and Ratings 1 Recent comments mode 2 Report bad comment mode Empty 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 pr
23. Extensions For some language dependent strings and some config values language dependent JS files are written and handled during run time Files like tx tc dejs or tx tc en js are generated automatically by the extension They contain language specific data for use in JavaScript 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 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 resouces if you need one in the frontend jQuery tools jquery tools min js is present in folder res js CSS CSS is used excessively in this extension CSS files are in directory res css For TS option dependent CSS changes like when you change the UserImageSize a specific config dependent CSS file is handles automatically by the extension Fontsizes CSS works with size inheritance from the HTML document font sizes are specified in percent like font size 90 File tx tc co
24. JAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions 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 foctoc_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 showUid parameter user On the profile page it s needed to run toctoc_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 toctoc_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_p
25. TYPO3 EXT AJAX Social Network Components Extension Key toctoc_comments Language en Version 3 6 0 Keywords forAdmins forAdvanced Commenting Rating Sharing Attachments Copyright 2012 2013 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 v EXT AJAX Social Network Components toctoc_comments EXT AJAX Social Network Components Table of Contents EXT AJAX Social Network Report bad Comment gt COMMENTSREPORT 37 Theme gt THEME isco ssisscbsnstscscsdesstsesdesssssiesunteatesessess 38 COMPONENLS sscssecserserseeseeseeseeseerseeseesee Debug SDEBUG fs stesssavsesccrssteyssiensscistvcstrebtets in 39 Introductio Mssari 3 Comments and ratings on records of other What doe Kli hdo aaa 3 EXTOMSIONS scscssesssscssssesssscasessaseesaseesaseesaseesaseeseseasons 40 Re atu resissusduisatssssiussissiscosssdantecesdaceveassutsessdssssiasseaseniodensbes 3 When is a plugin to table map needed 0000 40 SCPEEN SNOUS ssissssnctisnssassseiesteseetasdineeteenierienesiacivents 7 Adding entries to table Plugin to table map 40 Different look for logged in USEFS sssssssssssssseeseeeeen 12 Designing the Plugitsisssscessecersscessesossecsevesssssesocsssnesseee 42 Acknowledgments sss
26. 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 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 w Optional webpage preview on top IAE g Comment Attachments 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 22 TY P03 vv EXT AJAX Social Network Components toctoc_comments User
27. ack and red theme as examples for customized themes Both for sites with white text either on black or red 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 can be setup up in TS but it s an option as of the first implementation in version 3 2 0 that can t be applied to single plug in instances because it s a CSS style sheet which is valid for the entire webpage 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 49 TYPOQ3 vv 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 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 101 i Border submit oolidao D Color sr_freecap clone Captcha texts ono P Color Reset button static iLike Text 201e1f D Color Dialog Message 292a2d D Background Submitbutton 5475c3 D Background Dialogtitel 5475c9 D Border Prev Next web page preview Color of voting text comment count comment date 8b8c90 EE Colo
28. aptcha would typically apply for logged in users Comment 2 comments available Fozzy Bear Am I logged in Yeeees 2 months 2 days ago 2 Reply l Rowlf Doog Yes you are wuffwuff logged in wuff iy 1 month 3 weeks ago 23 Reply Please resolve this Captcha Let s add another comment Submit Reset First name Gis le Last name wendi am ry Email gisele wendI toctoc ch Location Email Notification E Notify me on new comments Enter the captcha W 9 ny win E Ag After posting a comment the useCaptcha option brings the captchas security question Here the plugin uses an internal clone of sr_freecap Note On a page the plugin can be inserted several times TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Introduction Comment No comments Notice your message has been recorded and will appear as soon as it is approved by moderator 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 TYPOQ3 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 toctoc_comments Administration Your Logo Comment approval New comment was posted t
29. 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 html 31 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration ages Property Data type Description Default 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 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 T
30. 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 and their venue is planned for near future are these Mulitple ratings per record like Hotelservice Restaurant Price use of a Gravatar Upload videos as attachments Topratings Comment based Sharings So feel free to contribute new ideas on www toctoc ch toctoc_comments_featuretalk html TYPO3 vv EXT AJAX Social Network Components toctoc_comments New in this Manual e New chapter about caching Added new TS Options Screen shots There are screen shots also in other sections of this manual Normal Mode Introduction This is the plugin operating in normal mode It displays comments ratings and sharing options Unlike Share 0 Srivierrry 4 5 of 5 2 votes Your rating 5 0 You like this This screenshot shows the plugin with sharing iLike and voting enabled The following screen shots show how to make an entry of a comment and then the approval process Note that comments can be entered without captcha check and without approval The setting without c
31. ctoc 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 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 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
32. e 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 4 EXT AJAX Social Network Components toctoc_comments Introduction 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 Force all messages to pass approval by administrator localized approval and notification email BB Tags and attachments are shown in HTML emails as well TYPO3 features Multilanguage Support concerning labels and 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 1 jQuery Uses jQuery 1 7 or newer Textareas with watermark using jQuery Tooltips and Image presentation with jQuery UITools Sharingcomponent sharrre is made implemented with jQuery Community With community extensions cwt_community and community toctoc_
33. e used in the present theme color 1 and the reference color code of the default template color 0 Description colorl color The rules for the fields of the record are lt text gt lt space gt lt colorl gt lt space gt lt color0 gt 48 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 tx tc30 theme css in themes subfolder css For this purpose toctoc_comments picks up the default theme prepares it according the themes color definitions and only writes the new CSS file of the theme when differences were found Changing a theme file theme theme txt If you change a colorl in the themes theme txt file the changes will trigger an update of file tx tc30 theme css in themes subfolder css file default css tx tc30 theme css When you add new selectors in tx tc30 theme css of the default theme these additions will be propagated to the other themes The update happens on first use in the frontend This automatism works for every theme apart from the theme named custom There is an empty folder in the themes folder for the custom theme The custom theme will never be impacted by the theme automatism Files in the custom folder will never be replaced when you update the extension Red and black theme We included a bl
34. ed system css options in tx tc30 css leave existing CSS selectors intact Leave properties with empty values intact selector selector2 pseudo class 42 TY P03 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin property value property2 value2 zal comment These elements are needed as soon system css options are active 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 The work theme is never overwritten when updating toctoc_comments 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 Already when you apply system css options a specific system box model is used to set up tx tc30 system There are several boxmodels included in folder res css boxmodels Selection of a boxmodel is made with TS option theme selectedBoxmodel boxmodel txt 43 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin Boxmodels A box model is a CSS abstraction layer It allows to give speaking names to groups of CSS selectors
35. efix 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 Example tt_news_72 preventDuplicatePosts boolean If set prevents duplicate posts on the same page 1 requiredFields list of values Comma separated list of fields to be required for comments Available values firstname lastname email homepage location content 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 Minimum recommended and default Firstname lastname content email 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_comment s pil locallang xml error amp 32 lt span gt 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 29 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default email_std Wrap array Wrap for E mail field wrap
36. emplaVoila if used where the field_content comments plugins goes Check your TemplaVoila page template W UseMainColPos int tt_content Column colPos with comments plugins 0 Columnposition colPos where the comments plugins go Can be left on 0 most of the times W 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 image user pic W useSharing boolean Use of Share Links for social networks like Facebook Google and 1 Twitter useSharingDesign int Use Design with default or without buttons 0 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 boolean Use of Share Link for Facebook is suppressed 0 k dontUseSharingGoogle boolean Use of Share Link for Google is suppressed 0 dontUseSharingTwitter boolean Use of Share Link for Twitter is suppressed 0 dontUseSharingLinkedI boolean Use of Share Link for LinkedIn is suppressed 1 n dontUseSharingStumble boolean Use of Share Link for Stumbleupon is suppressed 1 upon recentcommentsPluginp 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
37. er 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 webpagePreviewScanMi int Minimal file size for an image while scanning webpages 1500 nimalImageFileSize Value in Bytes 300 6000 webpagePreviewScanMi int Minimal Height and Width for an image while scanning webpages 40 nImageSize Value in Pixel 30 100 webpagePreviewScanMa int 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 int Maximal Pictures scanned if logo has been found already 40 xImageScans Values are 20 to 100 higher values result in longer scan time webpagePreviewScanMa int 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 int 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 int Maximal allowed y to x relation for scanned images 3 xverticalrelation The integer value when dividing height by width a scanned image may ha
38. hat 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 20 TY P03 vv EXT AJAX Social Network Components toctoc_comments Users manual Rating options tab General Advanced Rating options Anti spam Attachments enable only Ratings Yes Enable ratings Yes v Template file for ratings use voting and show rating stars Yes X use My vote Yes use iLike AND iDislike Yes v use or don t use iDislike Yes l Page Content 10621 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 voting 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 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 21 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
39. heme 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 2 full 1 half 2 third 3 boxmodelLabelWidth int Width of labels 50 200 134 boxmodelInputFieldSize int Size of Form Input fields 12 40 35 38 TY P03 vv EXT AJAX Social Network Components toctoc_comments Configuration Debug gt 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 showStartupDetails boolean Show details
40. il advanced wallExtension 1 J 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 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 52 TY P03 vv EXT AJAX Social Network Components toctoc_comments Using AJAX Social Network Components in other extensions showUid parameter action getviewprofile amp uid On the user wall configuration option changes to wallExtension 2 53 TY P03 vv EXT AJAX Social Network Components toctoc_comments Known problems Install requires 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 Known problems 54 TY P03 vv EXT AJAX Social Network Components toctoc_comments Hooks Hooks Since the original version of toctoc_comments comments 7 5 the extension has not been tested with all the hooks comments 7 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 clas
41. ion useSessionCache 0 Plugin cache dramatically reduces load times to values around 3ms to 12ms Recommendations Use the new caching behavior with settings advanced activateClearPage 0 and advanced useSessionCache 1 In this case consider additionalCachePages und additionalCachePagesLocal to be setup correctly 27 TYPO3 Configuration EXT AJAX Social Network Components toctoc_comments Configuration Plugin configuration is explained in User manual This section talks about TypoScript 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 Property Data type Description Default storagePid int Page uid where comment records will be stored empty Current page if empty externalPrefix string See Triggering prefix in User guide pages templateFile string Template file for the plugin Accepts either site EXT toctoc_c
42. is available since version 3 2 0 in the developers manual manual developer swx in folder doc You ll find more info about available translations on www toctoc ch toctoc_comments_Il html 56 TY P03 vv EXT AJAX Social Network Components toctoc_comments To Do list To Do list Scoped ratings Multiple ratings per record Update dates in comments on cached pages by JavaScript if displayed in new style format Emoij and Smilies selection popup 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 and create a developer interface like for pil based extensions see manual developer chapter Use in other extensions TYPO3 Forge toctoc_comments 57
43. is 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 rromeno oser ranagenem oaas Teuser 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 Wj Default TS form AJAX Social Network Components toctoc comme IP blocking for comments comments_ipbl 4 Comments report bad comment comments_repc c El x v Google Analytics General Setup rsqoogleanalyti 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 to
44. kes with facebook like info about the users who liked 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 Sharing Supported platforms are Facebook Twitter Google LinkedIn StumbleUpon and with Add This all the rest 5 designs are available Localized design 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 4 CSS color themes selectable by TS option for easy change of colors used in the plugin 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 2 boxmodels and 2 color themes for a look like DISQUS and Google are included Optional additional CSS file is possible 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 us
45. mat 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 ents Visibility Enables visibility of comments on users community profile page replyModelInline boolean Replies on comments are entered under the comment replied on 1 Slows down bit performance replyModelInlineOpenFo boolean reply mode inline with open form Form for Replies on comments is 0 rm 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 useMultilingual boolean Make Plugins multilingual 0 If set to 0 TYPO3 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 u
46. mportant 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 TypoScript 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 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
47. n has to big font size How can change this and where If you use a boxmodel then change it in the boxmodelfile 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 30 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 tooltip tooltip font size nn For the confirmation pop ups ajust confirm container this confirm container font size nn line height mm If you use a boxmodel look out for the same selectors they are already present in boxmodel txt Ask in TYPO3 Forge toctoc_comments 25 TYPOQ3 vv EXT AJAX Social Network Components toctoc_comments Administration Administration Adding TypoScript template The extension s TypoScript template must be added to 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
48. nf css is generated by the extension Themes All CSS selectors for the Plug ins colors are in sub directory themes Several theme directories are present Directory custom is empty so you can place your own CSS color theme On updates of toctoc_comments the files in custom won t be overwritten Images The folders for images used in the frontend are res images and res css themes nnn img nnn is the name of the theme Images used in e mail templates are in folder res templates mailimg Templates Templates for E Mail and for HTML pages generated by eID the plugins main template and the template for ratings are in folder res templates 46 TY P03 vv EXT AJAX Social Network Components toctoc_comments Organization of files 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 47 TY P03 vv EXT AJAX Social Network Components toctoc_comments Code Concepts Code Concepts Extension architecture This extension is still build in the classic approach as pil Extension It does not use ye
49. o http www toctoc ch toctoc_comments_demo html It requires your approval to appear on the web site It got 0 spam points First name Gis le Last name Wendl E mail gisele wend l toctoc ch Posted from IP 188 154 55 98 Response to the comment as administrator Content Let s add a 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 Gis le Wendl www toctoc ch Fal gisele toctoc ch gisele wendl toctoc ch Comments 32 Ratings 39 Average rating 4 44 Likes 34 Joined 3 months 1 week ago Last activity 0 seconds ago xdsl 188 154 55 98 adslplus ch E Mail generated by TYPO3 Extension toctoc_comments As the admin clicks on approve comment in this screenshot he did it a second time as one can see 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 toctoc_comments Administration LOOO _ Your Logo amp Comments administration Comment has already been approved Processing finished TocToc Internetmanagement www toctoc ch Notification webpage generated by TYPO3 Extension toctoc_comments Many other scenarios apply TYPO3 vv EXT AJAX Social Network C
50. obs related to implementations of toctoc_comments See www toctoc ch for more information Special thanks go to e 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 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 thanks 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 th
51. 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 Also 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 also then Plugin caching in PHP Sessions can be activated It will be active if you leave TS Option useSessionCache unchanged 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 useful when you have more then 1 plugin on a page When data in one plugin changes on the next page load the other plugins take their data from 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 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 Opt
52. omments 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 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 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 userEmailUC boolean This option enables display of the email of the 0 commenting user in usercards userLocationUC boolean This option enables display of the users location in 1 usercards userStatsUC boolean This option enables display of statistics in usercards 1 userIPUC boolean This option enables display IP information about O the user in usercards timeoutUC int Time in seconds for display of a usercard Values 9 between 3 and 15 are ok HTMLEmail boolean e mail are sent in HTML Format 1 or Text format 1 0 HTMLEmailFontFamily string Font Family for HTML E Mail tahoma verdana arial sans serif Options from setup txt 28 TYPO3 amp EXT AJAX Social Network Components toctoc_comments Configuration Property
53. omments to display 8 Restrict to triggering prefix Custom prefix w Custom triggering prefix for recent comments tt_products x O A Plugin to table map 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 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual General Advanced Rating options Anti spam Attachments Mode Report bad comment w Options for reporting bad comments are all set by TS Advanced tab General Advanced Rating options Anti spam Attachments Close commenting after Commenting closed for this plugin instance Use TypoScript setting w use Sharing Use TypoScript setting w 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 Use TypoScript setting v don t use Sharing for Stumbleupon Use TypoScript setting w Sl Page Content 10621 Close commenting after allows to automatically disable commenting if record is older than specified time period Time period is a number followed by suffix Suffix can be A hour m month y year or d day Comments extension takes care to change page caching time so t
54. omponents toctoc_comments Introduction Recent Comments Mode In mode recent comments the plugin looks like follows Neues te Kommentare Rowlf Doog Yes you are wuffwuff logged in wuff Demo Yor 19 Stunden 9 Minuten Gis le Wendl We started with tests for version 3 1 you have a recent comments list now see homepage and the f A toctoc_comments 3 0 Yor 3 Tagen 23 Stunden Ivan P Nice piece of work E Home Vor 1 Woche 3 Tagen 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 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 Fa Fozzy Bear Am I logged in Yeeees Yor 1 Woche 5 Tagen 5 Antworten E Rowlf Doog Yes you are wuffwuff logged in wuff Vor 20 Stunden 15 Minuten 55 Antworten TYPO3 vv EXT AJAX Social Network Components toctoc_comments Introduction 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
55. put file on which the boxmodel file is applied is the basic CSS file tx tc30 css The used output file is in sub folder boxmodels css 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 tx tc30 css must be well formatted A leading space before and a leading tab before a CSS property are needed Recommended TS Options for included box models 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 Recommended TS Options for box model boxmodel_koogle txt UserImageSize 48 ratings ratingImageWidth 19 theme selectedTheme koogle themeFontFamily arial sans serif boxmodelTextareaLineHeight 18 boxmodelTextareaNbrLines 2 boxmodelLineHeight 18 boxmodelSpacing 10 selectedBoxmodel boxmodel_koogle txt boxmodelLevelIndent 1 45 TY P03 vv EXT AJAX Social Network Components toctoc_comments Organization of files Organization of files JavaScript There s one JS File for all the comment and ratings specific tasks it s included in the header of the page automatically from the template res js holds all the js files for the jQuery
56. r Labels 959697 Fy Border bottom in Userinfo Popups 959695 E Border Recaptcha area 999b99 Border 3 fortextarea a4asa7 F Border for highlighting comments adaeaf Border inputs and textarea adbece Border sharrre middle area bdbebf Border Recaptcha Textbox top border Commentsbrowser bdc6 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 50 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 describe 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 t_news The markers do not influence performance of tt_news if they are not used Comments Count with link to comments on News detail page This marker is for display of n
57. ring 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 emailTemplateIn fo 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 email address ments res templa te toctoccommen ts_template_emai 1_coi html 34 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default emailcoiTemplate string Text E mail template for confirmed opt im 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 1_coi txt useIPblocking boolean Enables IP Blocklists in frontend if enabled comments by blocked IPs 1 are evaluated as spam confirmedOptIn Enables Confirmed opt in COD 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
58. roman r 6 7 s s s 8 U 9 80 8 0 Bo 8 0 30 TYPO3 EXT AJAX Social Network Components toctoc_comments Advanced options gt ADVANCED Configuration 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 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 commentingClosed boolean Commenting can be totally suppressed 0 default or 1 0 When commenting is closed also rating is closed autoConvertLinks boolean If enabled will search for possible links in comment text and turn 1 them to links Specifically the following texts are searched
59. s manual Approving comments If a comment is set to not approved approved 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 disapproved comments have different icon in the List module l Ein Nebenaspekt unter WIMP sin 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 JI 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 23 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Users manual Email confirmation opt in COl If a comment is set to hidden it is because the Email confirmation opt in is active confirmedOptIn and the user did not yet confirm his email When confirmedOptlIn is
60. s 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 55 TY P03 vv EXT AJAX Social Network Components toctoc_comments Interoperability Overview with other comments extensions Interoperability Overview with other 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 extensions have not yet been tested or the interface in octoc_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 End of 2012 and at the release of this manual we encountered problems with the synchronization between translation server and TER This can happen and will be resolved soon For a first aid we deploy the language packs also over our website on www toctoc ch toctoc_comments_l html A help for translating the xml file pil locallang xml
61. seSessionCache boolean Use session based caching 1 If set to 1 and activateClearPageCache 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 1 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 33 TYPO3 amp Options from setup txt EXT AJAX Social Network Components toctoc_comments Configuration dateFormatOldStyle boolean Use old style 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 Spam protection gt SPAMPROTECT Property Data type Description Default requireApproval 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 checkTypicalSpam is set messages still can be set to disapproved state and notification is sent useCaptcha string Enables
62. ssssssssssssssssssssssssssssssssesetsssssssseees 13 OVE VIEW ssssisssissaissaiaina aaa Having QUEStIONS seesecseeseesseeseesecsecstecsecuecetensecseens 13 Boxmodels Users MAU l sissies Wesisassntasssstsexscssnctatactsatstaceas nA 14 Organization of files Installing and SCtUP sssssssssssssssssssssssssssssssssssesssssseeee 14 JavaScript sesieideatinieliuis anastasia Upgrading from comments 1 5 x 1 6 O essssssssssssseeseee 15 a E To E A A ATAN E EE Changing the folder of static data 15 CSS E sens anne A A A E A sasusassuse eas suanabaks Inserting AJAX comments to page 15 gate e EE E E EE EEE te epee terere eerste orrere rer Use in TemplaVoila FCE ec ssscccssecsseseesecseeseeseetes 16 Templates Customizing COMMEN Sanninina iurs 17 Fonts for the CaptchasS s sssssssssssrstrtserrerserserrrsrrerseres 47 Plugin comfiguration sssssssssssssssssssssssssesssssssssssssseeees 18 NIMS E E E A EE 47 Approving COMIMENES ioscan dnsniinnenananou 23 Other Extensions adapted for toctoc_comments 47 Email confirmation opt in COl 24 Code CONE pts iscieeieecisv ni necansiiend ing etecideste 48 User Statisti C Sansemanedaan mosa 24 Extension architeCture vseeessserseesssrseeennsseeesmensstee 48 rei Sen sat ipa E 25 AJAX EVemts cssssssssseceeesssssseseeeestanseceeeesennnnneeenssannnnnen 48 Administrations 26 S_SESSION Variables ssssssssssesssssseeesssnnnsseeestinnsnseee 48 Adding TypoScript template ssssecesereseeeeeeeenes 26 THEMES ss 48
63. 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 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 Ratings gt 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 ratingsOnly boolean Enable ratings only Use plugin as rating only version 0 min Value 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 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 ratingImage Width 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 disableIp
64. t Fluid and Extbase nor a domain model We re working on that and maybe in a future release the architecture will change 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 creates 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 cod
65. ta 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_emai Ltxt 37 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default HTMLemailTemplateFil string HTML template to use for notification email to administrator EXT toctoc_com e ments res templa te toctoccommen ts_template_repo rtcomment_emai Lhtml 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 sourceEmail string E mail to send notifications from destinationEmail string E mail to send notifications to Theme gt THEME All theme options are valid per webpage W Property Data type Description Default themeFontFamily string Font Family for theme used for textareas tahoma verdana arial sans serif selectedTheme string Selected color theme CSS default Basic color palette that is used by the extension in frontend Options Default default White on Black T
66. umber 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 TTNEWS_COMMENT_COUNT_SUB subpart in the template tt_news marker is typically included after more link Plug in display This marker has been introduced with version 3 2 0 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 using the same comments on a 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 51 TY P03 vv EXT A
67. 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 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 informationEmail string Notify administrator about posted comment without approval by e mail fromEmail string E mail address to send notifications from 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 l html emailTemplate st
68. ve Values between 1 and 4 are possible 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 36 TYPO3 W EXT AJAX Social Network Components toctoc_comments Configuration Property Data type Description Default 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 width for an preview image after upload
69. xmodel block has the following syntax Boxmodel Identificator for new boxmodel Borderradius small used everywhere in the plugin 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 if no Rules are present Rules 10 2 3 10 will be calculated as 2 3 5 In the evaluation part vaiables 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 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 44 TYPO3 vv EXT AJAX Social Network Components toctoc_comments Designing the plugin The in
Download Pdf Manuals
Related Search
Related Contents
Inspired living 電気蓄熱暖房器ユニデール 取扱説明書(保証書付) もくじ BID_DOCS_ITB_020_13_Second_Bidding Carburetor & Choke Cleaner HP AlphaServer GS1280 Quinsair, INN-levofloxacin Manual de instrucciones Manual de instrucciones C650PW Folding Power Wheelchair le contrat d`apprentissage - lycée agricole Mirande/Riscle Gladiator GAGB262DBG Instructions / Assembly Copyright © All rights reserved.
Failed to retrieve file