Changelog ========= This is a non-exhaustive (but still near complete) changelog for phpwcms starting with 1.2.7. My thanks to all those people who've contributed bug reports and code fixes. 1.3.3 ===== 2007-05-02 [FIX] Problem solved (hope everywhere) for newsletter recipients import and CSV files made on Mac. Mac uses different linbreaks and default setting for PHP is 'auto_detect_line_endings' set Off. You will need PHP 4.3.0+. For older PHP convert your CSV file to have UNIX or Windows linebreaks. [FIX] For all phpwcms charsets different from 'iso-8859-1' and 'iso-8859-15' FCKeditor setting "FCKConfig.ProcessHTMLEntities" set to false. [ADD] Display if article pagination enabled in article content part listing (backend) and on which subsection (page) content part will be positioned. 2007-05-01 [FIX] Small fix for file list description textarea - empty lines will not trimmed or removed anymore. [FIX] Error message for failed captcha check in content part "guestbook" was missing. Use: [ERROR_CAPTCHA]{ERROR_CAPTCHA}/or whatever[/ERROR_CAPTCHA] [ADD] Pagination for content parts is supported now. Each content part has additional fields which can be edited only if content part is selected for rendering in main column (CONTENT) and if article has been selected for "content part pagination". You can define different templates for summary display of page 1 and how to render article summary for paginate page > 1. Default template is located here "template/inc_default/article_summary_paginate.tmpl". Custom article summary templates have to be stored under same name as custom template but inside subfolder "template/inc_cntpart/articlesummary/article/paginate". To get to know how replacment tags and sections are defined open "article_summary_paginate.tmpl". At the moment only [1][2]...[n] (class: a.cpPaginate, a.cpPaginateActive) and [Prev][Next] are supported. 2007-04-30 [FIX] Enhanced PDF creation libs for handling of unknown image types and images having not set height or width. [FIX] PDF creation failed for images having set absolute paths like src="/img..."; this is solved. [FIX] For PHP releases having not defined function "file_get_contents()" workaround function was named "_file_get_contents()" (old way to handle the problem, but obsolete). Solved by removing leading "_". [FIX] Rewriting URLs optimized a bit. 2007-04-29 [ADD] Additional select field in structure level form to choose an alternative config file from which overwrites template default settings while frontend rendering. [FIX] Text for content part field "comment" was not displayed after saving. [ADD] It's possible now to edit sorting value of content part. There is a new field "sort value" available. Then it is much easier to change sorting of content part. [ADD] Content part global form enhanced by new field for subsection (paginate) title. Might be useful in case content part has no title or subtitle but and paginate content part function is used to generate in-page menu. Is visible only for articles having selected "paginate content part". [ADD] Content part global form enhanced by new field for set number of subsection. Is used to group subsections. [ADD] It's possible now to jump into edit mode of article or structure level from inside a content part form. Might be useful (sometimes). [FIX] Some changes on how article and structure level data are fetched for content part (backend form). 2007-04-28 [FIX] Frontend rendering for glossary -> false template section for list_footer was set. [CHANGE] Glossary template class names changed a bit. [ADD] Content part "plain text" enhanced by template select menu - default template "plaintext.tmpl". [CHANGE] Content part "plain text" -> empty lines and spaces remains at text start and end. [FIX] Some layout fixes for filebrowser.php - and DOCTYPE XHTML Strict removed. [ADD] Additional select field in template form to choose an alternative config file from which overwrites template default settings while frontend rendering. [FIX] {NAV_LIST_UL} fixed in case of parent mode and no sublevel available. 2007-04-27 [FIX] Feeds.php had a missing debug output - sorry for that. Removed. [FIX] Several fixes while encoding html entities. [FIX] Some more fixes to solve problems with PDF creation. But it is not 100% UTF-8 safe - specialchars are still a problem because missing in font. [FIX] New content part for "mod glossary" could not be safed. 1.3.2.1 ======= 2007-04-26 [FIX] Charset problem fixed in case of use of htmlentities and phpwcms charset is different from ISO-8859-1. [FIX] Frontend user login check against frontend user setting in backend user administration. 1.3.2 ===== 2007-04-25 [ADD] New content part "images
" enhanced by option to center an image horizontally and vertically based on thumbnail size. Only available when thumbnail's height AND width are set. [ADD] Based on idea and hack/patch of new option to print page to PDF was included. Use GET value "&print=2" or replacement tag [PRINT_PDF][/PRINT_PDF]. Check template file "template/inc_default/pdf.tmpl" where you can define some special settings and layout. 2007-04-24 [ADD] New content part "images
" - same as images but with custom templates and additional rich text. 2007-04-23 [FIX] Default [bbcode] style replacement tags usable for lightbox captions. 2007-04-23 [FIX] While opening ?aid=123 or ?alias check missing if article or category are active. [FIX] HTML entities were lost in case of save and re-save. [ADD] New template field "FE login url" - put in frontend login form page url here. 2007-04-21 [FIX] Path problem on Windows for FCKeditor fixed. 2007-04-20 [FIX] Content part teaser enhanced by another missing array check - no result in case of level based selection and no when no article was selected manually. 2007-04-18 [ADD] Content part teaser enhanced by new field for allowed tags used in summary text (sample: ). [FIX] Content part teaser missed unserialize in case no image replacement tag is found. 2007-04-17 [ADD] Bookmarklet script "linkme.php" enhanced for show in article details only. Use additional markup tag "" inside [LINK_ME][/LINK_ME]. 2007-04-12 [FIX] Should solve problem with file date in case wrong create date is given for content pat "filelist". 2007-04-10 [FIX] Another fix for content part "multimedia" -> classid for Windows MediaPlayer plugin was not working. 2007-04-09 [FIX] Function "getCleanSubString()" optimized for better char based substring lengths. It is able to process char count for html entities too. [ADD] New external library "htmlfilter.php" for future usage - can sanitize HTML. 2007-04-08 [UPDATE] FCKeditor 2.4.2 [FIX] FCKeditor should work with relative paths too. Absolute path section "/subdir" has to be reoved by yourself. [ADD] Content part "teaser/link article" enhanced for setting to avoid duplicate listing f teaser entry. Use it to split same kind of teaser listings (maybe for ad block or different templates). This is rendered from top to bottom. So think twice when using it. 2007-04-07 [FIX] Reworked content part multimedia and how to play Real media - but seems not to work without embed in Mozilla browser. Optimized a bit... [ADD] {NAV_LIST_UL} enhanced by "parent" setting which - additional modes: P, FP, HCSSP, VCSSP; working the same as modes without "P". Default class name is "sub_parent". If mode *P enabled parent structure level rendered as first
  • . 2007-04-06 [FIX] Some more layout fixes regarding valid code. [FIX] Reworked content part multimedia and different handling of object tag fo Mozilla and IE. Should result in valid code always. 2007-04-05 [UPDATE] Content part multimedia converted from string based storing to serialized array. Run setup/upgrade_multimedia.php!!! [ADD] Bookmarklets enhanced for Reddit.com, Newsvine.com and Ma.gnolia.com. [ADD] Simple PHP based browser detection implementd; returns short browser name and browser version, like "msie", "7.0" 2007-04-04 [ADD] Bookmarklets enhanced for Google Bookmarks. [UPDATE] French translation by Marcos Peebles, www.piezo.be 2007-04-02 [FIX] Smaller fix for cotent part multimedia - but some more changes necessary to handle object and embed in valid form. [FIX] makeEmailSpamSave.php fixed to handle additional attributes. Failed in case of such: [ADD] New db table "crossreference" which should be used to store cross references which are better used on per entry base rather than as serialized values. 2007-04-01 [ADD] Changed setting for pagelayout: possible to choose order of segements of pagetitle and pagetitle segments spacer. Spacer input field supports prefix/suffix spaces. [FIX] Some smaller layout fixes for pagelayout form. 2007-03-31 [FIX] Background-image url() - quotes removed. Normally no problem, but for some it seems to be... [ADD] New settings for guestbook comment. It's possible to allow posting or gb listing for logged in users only. [ADD] New setting for guestbook to disable remote URL validation. Might result in timeout on some systems when PHP cannot connect to remote servers. [FIX] Profile data form fixed. 2007-03-29 [FIX] linkme.php Bookmarklet-Script fixed in case no article title/summary defined. [FIX] Constant VISIBLE_MODE was set at wrong place, 2007-03-27 [FIX] DynCalendar layer CSS class gt higher z-index. [FIX] Content Part teaser query to search for an article enhanced by live and kill date. [ADD] Glossary detail link enhanced by glossary title. [FIX] It's not possible to switch content part type "module". 2007-03-26 [CHANGE] Default guestbook template now located under "template/inc_default". [ADD] Additional settings for frontend user login to enable/disable against which user db login should be verified. 2007-03-25 [ADD] New field "notice" in backend of content part edit form. This is not used in frontend - you can leave notices in it for others or for yourself. [CHANGE] Some smaller changes in login.php. Updated license information. [ADD] Content part listing enhanced by small icon for TOP-Link and Anchor setting. 2007-03-24 [FIX] Frontend login optimized a bit. Should load faster now. To cancel fe login send POST or GET value "feLogout". [FIX] Some changes for checking registered_only setting in structure level editor to allow access to logged-in users only [CHANGE] Moved some functions out of front.func.nc.php for faster loading in case content part "text/image" or "images" is not used for page rendering. [ADD] New contant "FEUSER_LOGIN_STATUS" for having easy access to frontend user login status. [FIX] Function cut_string still alias function for the better getCleanSubString(). [ADD] Frontend login implemented as content part. [FIX] When alias guestbook/comment is used path to uploaded images was set false. 2007-03-23 [ADD] First step of frontend users implemented. 2007-03-22 [ADD] New config value $phpwcms['SESSION_FEinit'] in conf.inc.php to enable/disable session_start() in frontend. [UPDATE] FCKeditor 2.4.1 [ADD] "No caption for preview images" setting for content part "text/image" implemented too. 2007-03-21 [FIX] Change for FCKeditor paths in wysiwyg.editor.inc.php, changed from PHPWCMS_BASEPATH to PHPWCMS_URL. Might help in case userdirs are used "mysite.tld/~usrdir" which does not correspond with real server paths. [FIX] If no FILE_IMAGE replacement neccessary do not check or build thumbnail in frontend when possible for content part files. [ADD] Additional forms on backend HOME to set count of max listed articles and/or content parts. Values are stored in cookies. [ADD] JavaScript check in login.php and some HTML source code optimizations. [FIX] phpwcms.php fixed a bit - charset was not set correct - maybe based on autmatic DOCTYPE setting... [FIX] Removed file sp1.gif replaced by default spacer GIF leer.gif. Now all file lists looking good again. [FIX] Frontend render script "day_based_counter.php" fixed. [ADD] "Duplicate content part" button implemented in article edit list view. [ADD] If special article teaser image is available it is shown in article edit list view (in head section). It is dimmed by 50% if available but article image is the preferred. 2007-03-20 [ADD] New setting for content part images" to hide captions for thumbnails. It's useful in combination with lightbox. [FIX] Some template fixes and backend enhancements. 2007-03-19 [ADD] New language pack: Slovenian, thanks to Boris Jerenec [FIX] Slovakian language (SK) string corrected - false translation was used. [FIX] When sending newsletter subscription (content part newsletter) and email send error (phpMailer) happens, no error message was displayed. [ADD] New template default value "$template_default['article']['imagelist_spacerrow_class']" - use this to style spaer row for galleries having multiple rows [ADD] Image list table enhanced for fixed classes based on selected alignment 2007-03-18 [FIX] Splitting strings for counting words was buggy - commas were removed too and not only white space chars. [ADD] {URL:...} enhanced for caching fetched content. Use {URL:http://myurl.tld/ CACHE=TIMEOUT} where TIMEOUT is set in seconds, e.g. CACHE=3600 means update hourly. [ADD] New default values for modules to enable/disable module frontend_render/frontend_init (to speed up rendering process a bit). [FIX] Feeds.php SQL query fixed and optimized for regonly and non-active structure levels too. [FIX] Feeds.php fixed for better validation - author and editor name enhanced by feed's email. [FIX] Feeds.php and [RSS ID/alias] fixed too. Now you can open "feeds.php?feed=43,alias,50" 2007-03-17 [FIX] SQL query for retrieving article alias was false. 2007-03-16 [FIX] cnt22.article.inc.php line 158 fixed in case link var is not set. [FIX] image_zoom.php optmized [FIX] Missing attribute "summary" in tag "table" implemented whereever found... [UPDATE] Spaw2 2.0.3 [UPDATE] Popup calendar enhanced for browser language detection and some default languages included. [FIX] Paginate setting for articles in structure level could fail in case maxlist value was empty (division by zero). 2007-03-14 [ADD] New settings for default image width/height implemented (article, gallery, text/image). 2007-03-13 [ADD] Lightbox JavaScript implemented for smooth "in-page" zoom images and gallery. OK, same day update and replaced Lightbox by Slimbox which loads much faster. 2007-03-12 [FIX] Additional cleanup for DOC_ROOT implemented - there seems to be a lot of default ending slashes for $_SERVER['DOCUMENT_ROOT'] which is always removed now. [FIX] Wherever possible htmlentities is replaced by html_specialchars. 2007-03-10 [FIX] Little fix for Spaw2. [ADD] CSSHOVER.HTC implemented for backend too. Doctype fix for backend, now :hover should be available for older releases of IE too. 1.3.0 ===== 2007-03-06 [ADD] Plug-In Glossary. It can be used as sample plugin. 2007-03-04 [FIX] A problem solved for content parts edit form and when custom vlocks are defined solved - content part values could be overwritten. [ADD] Simple Plug-in API implemented. Will be enhanced and need more test. But seems to work... 1.2.10 ====== 2007-03-02 [FIX] Some layout fixes for struct level list and also article listing. [FIX] Small workaround to avoid error messages for date display in newsletter section - only neccessary on some Win systems. [FIX] Problem for guestbook listing solved in case email is set to hidden. [FIX] Fix for empty RSS feed description in "cnt22.article.inc.php". [FIX] In print mode get parameter "print" is removed from URL. Also fixed missing "?" when no additional GET param available. [FIX] SET NAMES for setting correct charset for db connection also working for MySQL 4.0.x. 1.2.9 ===== 2007-03-01 [FIX] Structure level alias was set wrong when empty alias field was sent. [ADD] Content part "link article" enhanced to "teaser/link article". Very easy way to build teaser listings of manual selected articles or based on create/change date. Custom templates for listing and also possible to limit summary words and change teaser image size. 2007-02-28 [FIX] Woraround to fix possible missing constant "PHPWCMS_INCLUDE_CHECK" for upgrade process. 2007-02-27 [FIX] makeEmailSpamSave.php enhanced to avoid replacing email adresses in and