[UPDATE 2006-09-05] phpwcms 1.2.8

Read me first before posting anywhere!
Post Reply
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

[UPDATE 2006-09-05] phpwcms 1.2.8

Post by Oliver Georgi »

[Do not download this. Check SourceForge for the most current release!]

Hi folks,

before I will release it on SourceForge - have fun testing the 1.2.8 for some days. It's always a long way - but I'm on the good one.

Full release 1.2.8 / 2006/09/05 + Patch-G
http://www.phpwcms.org/release/20060906 ... patchG.zip [21.8KB]
http://www.phpwcms.org/release/20060905 ... _1.2.8.zip [3.16MB]


To upgrade release 2006/08/25 use Patch-E and Patch-F.
Patch-F is just a small fix for release 2006/09/04 (please download again - updated 22:00)
(for older releases and patches see end of this post)

http://www.phpwcms.org/release/20060905 ... patchF.zip [112KB]
http://www.phpwcms.org/release/20060904 ... patchE.zip [697KB]



Please post bugs here and feature requests here.

And here are some more information:

1.2.8 2006/09/05
  • [FIX] Some corrections for unset vars and neccessary checks.
  • [FIX] Missing buggy function for content part guestbook fixed.
  • [FIX] Some spelling errors fixed.
  • [FIX] Array based translations are merged with default values.
  • [FIX] Wrong html entity encoding for HTML <title> tag fixed.
  • [FIX] Setting WYSIWYG editor for admin user set to FCKeditor by default while install.
  • [FIX] In SQL query for new search the db table prefix was missing.
1.2.8 2006/09/04
  • [FIX] Function buildGlobalGET() could return false GET values in case of no user session was initiated.
  • [CHANGE] Bookmarking should work in Firefox and Netscape too.
  • [FIX] For some PHP installs there seems to be a problem when a GET parameter was given without "=" or empty value like for an alias. A workaround that is able to parse $_SERVER['QUERY_STRING'] should handles this.
  • [ADD] Content part contact form was enhanced by very interesting feature. You can set sender and to email address based on field value. This allows to create forms for "link this site" emails.
  • [UPDATE] Spaw updated to release 1.2.
  • [FIX] Hide possible error messages for auto-logout which could prevent correct header redirect.
  • [FIX] Page <title> rendering as htmlentitis.
  • [ADD] Content part contact form enhanced. New: sender name. Error and Success can be text, html or redirect link. New tags for custom form template available: [IF_ERROR][/IF_ERROR], [ELSE_ERROR][/ELSE_ERROR]. New tags for email text: {FORM_URL}, {DATE:date_format}, {REMOTE_IP}.
  • [CHANGE] Much better download functionality implemented. It should be able to resume file downloads. In case of an error it returns a 404.
  • [ADD] The success text can be used in combination with form replacement tags. A dropdown select box allows to select such special tag based on form fields.
  • [ADD] phpwcms version check for the start screen implemented in the backend.
  • [CHANGE] Backend "phpwcms_template/inc_default/startup.php" is now empty by default.
  • [FIX] Spaw has some problems handling special chars when phpwcms is set to UTF-8. A language workaround is implemented now. Most common languages are converted to UTF-8.
  • [FIX] Check is var isset $GLOBALS['phpwcms']['bad_behavior_settings'].
  • [DELETE] Kicked function word_wrap(), htmlarea_lang()
  • [ADD] Content part search has 2 additional new values: "highlight" and "max words" for results. Value "-1" for "max count" means disable word cut. When empty value is given the default is 35 words.
  • [ADD] New comment based replacement tag "<!--SEARCH_HIGHLIGHT_START//-->...<!--SEARCH_HIGHLIGHT_END//-->" for template. Enclose tenplate section in such tags and highlighting will processed only there.
  • [ADD] New PHP constants: "On" a better readable value for "true", "Off" a better readable value for "false", "XHTML_MODE" set "true" or "false" based on "$phpwcms['mode_XHTML']".
  • [ADD] Generic JavaScript/PixelTracking code for phpMyVisites, Google Analytics, StatCounter and eTracker implemented - check: "phpwcms_template/inc_script/frontend_render/pixelTracking.php".
  • [FIX] Ranking works much better now.
  • [FIX] Search will not be processed for structure levels set as "not searchable".
  • [CHANGE] All sample scripts in "phpwcms_template/inc_script/frontend_render" are moved to "phpwcms_template/inc_script/frontend_render/disabled" and a bit more secure too.
  • [ADD] Content part search can handle the following replacment tags for the search result navigation: {PREV:<html>}, {NEXT:<html>} page #/##, result ###-####, {NAVI:123,spacer|prefix|suffix}, {NAVI:1-3,spacer|prefix|suffix}. Use htmlentities whenever possible. There multiple new settings available.
1.2.8 2006/08/25
  • [ADD] Additional setting for {NAV_LIST_UL} limiting the depth of rendered levels: {NAV_LIST_UL: [menu_type[, start_id[, max_level[, class_path[, class_active[, ul_id_name[,wrap_link_text]]]]]]]}. If max_level = 0 no limitation, max_level=1 limits to the first level - there will be no sub <ul> displayed and so on...
  • [REMOVE] Experimental Tidy functionality removed - was always inactive.
  • [CHANGE] Compression disabled - this is always better done by webserver.
  • [ADD] phpwcms version returned in HTTP header 'X-phpwcms-Release'.
  • [ADD] Page processing time returned in HTTP header 'X-phpwcms-Page-Processed-In'.
  • [ADD] Bad Behavior 2 included as module. This is in experimental mode at the moment. Will need some enhancement to access admin section or retrieve statistics.
  • [REMOVE] "phpwcms_template/inc_js/menubar.js" deleted - not in use.
  • [ADD] Very simple filter based on SQL query for guestbook implemented.
  • [FIX] Content part "Multimedia" can now handle ActiveX Plugin Activation in IE for Flash and Quicktime. JavaScript code is written in addition to normal object/embed code. Object/embed is now wrapped in <noscript>.
  • [ADD] Captcha verification also implemented for the old/deprecated form mailer.
  • [FIX] Click zoom image GET parameter is given as rawurlencoded string now. GET parameter is now built by a special function to have it more flexible.
  • [FIX] Default value for template in conf.indexpage.inc.php was set to 2 - a wrong value. Now set to 1 again which most times should be the default template ID.
  • [ADD] New replacement tag {SHOW_CONTENT:MODE,id[,id[,...]]} - the enhanced version of Jens Zetterström's mod.
    * CP - list of Content Parts | id = id of the content part, one or more possible, comma seperated.
    * CPA - ascending list of Content Parts but based on selected article | id = id of article, comma seperated
    * CPAD - same as CPA, but descending (this slows rendering)
  • [CHANGE] Some more optimizations...
1.2.8 2006/08/20
  • [ADD] New config settings in "conf.inc.php" to enable/disable special HTC CSS behaviors especially for IE < 7; $phpwcms['IE_htc_hover'] and $phpwcms['IE_htc_png'].
  • [FIX] Special additional check for GT MOD in combination with "$phpwcms['IE_htc_png']=1" and file format PNG -> image height and width will be detected too so that pngbehavoir does not hide those GT MOD images in IE < 7.
1.2.8 2006/08/17 (including patch-A/B)
  • [ADD] New sample frontend_render script which allows integration of JavaScript menus based on script from http://deluxe-menu.com/.
  • [FIX] Print CSS file is added as array element now - the original has set $block['css'] back to string which might result in an error.
  • [ADD] New function getImageCaption($caption[, $array_index='NUM'||'STRING']): returns an array containing all caption elements.
  • [CHANGE] Generating captions for content part images and text with image - now it's the same like for article image. Fixed for article listings too.
  • [FIX] All pipes in GET values will be sent raw-url-encoded "|" -> "%7C". Seems to be neccessary to fix possible web server problems.
1.2.8 2006/08/15
  • [FIX] If alias found using "$GLOBALS['_getVar']" delete it.
  • [ADD] New menu replacement tag {NAV_LIST_UL: [menu_type[, start_id[, class_path[, class_active[, ul_id_name[,wrap_link_text]]]]]] }. Creates a cascaded <ul><li> list which can be formatted by CSS. Menu type "F" renders in mode "active path unfolded" (like {NAV_TABLE_ROW}). For menu type "HCSS" (horizontal) and "VCSS" (vertical) sample CSS code is generated (check rendered source code).
  • [FIX] Frontend edit link corrected for article listings.
  • [CHANGE] Function "include_ext_php()" optimized.
  • [FIX] Setup "get_conf_file.php" optimized a bit - should deliver file as plain text now.
  • [FIX] All 'nowrap' converted to XHTML compatible 'nowrap="nowrap"'.
  • [ADD] Replacement tag {NEW:} enhanced by 2 new date sort options: ldate = sort descending by start/live date, kdate = sort descending by end/kill date
  • [FIX] Spelling mistake in function "buildGlobalGET() ... if($retun... -> if($return". The constant FE_CURRENT_URL wasn't built correctly - no GET parameter added.
  • [ADD] New configuration value: "$phpwcms['mode_XHTML']" Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional
  • [ADD] New configuration value: "$phpwcms['header_XML']" Content Type: 1 = application/xhtml+xml, 0 = text/html -> for non compatible browser a fallback to text/html is integrated. If you are not sure always set to "0".
  • [ADD] <![CDATA[]]> added for <style> and <script> - for DOCTYPE HTML the old comment style "<!-- //-->" is used.
  • [FIX] Content part email fixed for XHTML compatibility. If no cols value is given a default value of cols="20" is used.
  • [CHANGE] To avoid path problems CSS style "behavior:" for < IE7 is now written directly into the related <style> section. Solves the :hover and transparent PNG problem.
  • [FIX] Blank 1px GIF for pngbehavior.htc is loaded correctly. This allows the usage of PNG images with alpha channels.
  • [CHANGE] Function "headerRedirect()" moved from general.inc.php to default.inc.php.
  • [ADD] Replacement tag {NAV_LIST_UL} by default renders each <li> having no sub <ul> with class "sub_no" while each <li> beeing a node with class "sub_ul".
  • [CHANGE] Based on Peter Nederlof's example (http://blogger.xs4all.nl/peterned/archi ... 13565.aspx) CSS sample code for {NAV_LIST_UL} optimized.
  • [CHANGE] Small optimization for GT mod - array with GT information was loaded a bit too often. Now GT information is initialized only once.
  • [FIX] Spelling mistake in switchFontSize.php fixed: $GlOBALS -> $GLOBALS...
  • [FIX] There was an error in reasoning for {NAV_TABLE_COLUMN} in combination when starting at a deeper level than the root. A wrong counter was set to find the right template setting. Now it always starts with a count of 0.
  • [ADD] Replacement tag {NAV_LIST_UL} got an additional parameter which allows to wrap each sub <ul> in a <div> (might be neccessary for having correct z-index settings in IE). Values are: 0 = '', 1 = <div>, 2 = <div id="ul_div_ID">. Complete parameter: [menu_type[, start_id[, class_path[, class_active[, ul_id_name[, wrap_ul_in_div[, wrap_link_text]]]]]]].
1.2.8 2006/08/07
  • [FIX] Function "getArticleSortValue()" could return wrong sort value if a sort value ist higher than "(count of all articles within the structure + 1) * 10".
  • [FIX] GT Mod check integrated if a font really exists.
  • [ADD] Function "clean_replacement_tags()" enhanced by a new parameter which defines allowed html tags.
  • [FIX] Some functions deleted and some optimized.
  • [FIX] {NAV_LIST...} equalized - now only 1 function is responsible creating the UL list. CSS id is replaced by class and no <div> is given back - just the <ul>.
  • [ADD] New settings for MySQL charset and collation. In "conf.inc.php" manually add $phpwcms['db_charset'] and $phpwcms['db_collation'] at the moment. This will be integrated into the setup process (completely rewritten).
  • [ADD] Some additional information for setup script (MySQL Client version and GD information).
  • [FIX] Content part image list.
  • [CHANGE] Captcha has now 6 chars as default.
  • [FIX] Google Sitemap <lastmod> might be wrong depending on used MySQL release. Now SQL query always returns UNIX timestamp.
  • [FIX] Feeds <updateDate> might be wrong depending on used MySQL release. Now SQL query always returns UNIX timestamp.
  • [FIX] Search content part should work much better now. It's just a workaround but giving better results and CSS styled search result. Search result is sorted by rank. Future release will get better search implementation based on page content. The used search is too time expensive and less optimal for pagination.
  • [ADD] Search now searches for every given word: "word1 word2" will search for articles containing "word1" and/or "word2". So the more words the more results are given.
  • [ADD] Search now supports highlighting of search words. After clicking on a link in the search result highlighting will be tried on the target page also - works only when a user session exists.
  • [ADD] A new global array introduced "$GLOBALS['_getVar']" which contains all GET vars but reduced by PHP session ID. Use this new array to store all URL values neccessary for custom fiunctionality.
  • [ADD] Use function "returnGlobalGET_QueryString($format)" to build a formatted query string based on "$GLOBALS['_getVar']". String "$format" supports default '', 'htmlentities', 'urlencode' and 'rawurlencode'.
  • [CHANGE] All cache functionality removed from index.php. Was originally introduced for having a better search support but is outdated now.
1.2.8 2006/08/03
  • [FIX] Article sorting corrected. Now it's based on article's sort information from database.
  • [ADD] Article re-sorting in the case a sort value is set to "0" or not unique in same structure level. Re-sorting is automatically made based on structure level order-by setting when in article listing mode in the backend.
  • [FIX] Structure level order-by setting "manual" is now correct for Ascending and Descending.
  • [ADD] Google sitemap integration based on all public articles. Link Google sitemap service against "sitemap.php". Possible to include static URLs too (check sitemap.custom.ini).
  • [SEC] Database connection put inside a new include file "dbcon.php". No database connect done anymore when db connection not neccessary for a script.
  • [FIX] Unused functions removed from code.
  • [CHANGE] Frontend is XHTML compatible now.
  • [ADD] New config setting (array $phpwcms["BOTS"]) for user agents for whom no session should be started.
  • [FIX] {NAV_TABLE_COLUMN} works better again. Still problems in IE and for hidden structure levels possible.
  • [CHANGE] No <body onload="js()"> anymore. All JavaScript onLoad functions are placed inside "window.onload" in html <head> section.
  • [CHANGE] No additional styling information are placed in <body> - all colors are placed in <style> in the html <head> section.
  • [ADD] Fontsize setting routine implemented - check "switchFontSize.php". Some additional CSS files are placed in "inc_css/fontSize"
  • [ADD] HTC Fixes for IE <= 6 - csshover.htc and pngbehavior.htc
  • [FIX] Spaw 1.1 works pretty well now.
  • [UPDATE] FCKeditor updated to version 2.3.1, build 1062 (released on July 26, 2006)
  • [ADD] phpwcms optimized FCKeditor toolbars: "phpwcms_default" - most of FCKeditor functions enabled, "phpwcms_basic" - just basic functions.
  • [ADD] Templates can have multiple CSS files - the drop down select field is replaced by a multiple select list box. CSS files can be sorted there.
  • [ADD] Custom CSS definitions are now possible also direct from custom code - add a new array element to $block['css'] like "$block['css'][] = 'mycss.css'". The base CSS path is phpwcms_template/inc_css.
  • [FIX] False variable used for setting file size in "download.php" causes false set header information for filesize.
  • [FIX] Function list_articles_summary() - array for handling captions is now reset at correct point - could cause a PHP warning.
1.2.7
  • [SEC] Most comprehensive security update of phpwcms. All files possible infectable by remote code are secured.
  • [CHANGE] FCKeditor 2.0.3 integrated.
  • [CHANGE] RSS feeds are now processed by patched FeedcreatorClass. Link to "feeds.php". Feed settings can be made in feeds.ini.php. Support for RSS0.91, RSS1.0, RSS2.0, ATOM0.3, ATOM1.0.
  • [CHANGE] RSS content part optimized for all general RSS formats - should be able to process RSS0.91, RSS1.0, RSS2.0, ATOM0.3, ATOM1.0.
  • [ADD] Captcha for email forms and guestbook.
  • [ADD] Custom template for email form.
...lot of fixes....


Older releases and patches:
http://www.phpwcms.org/release/20060815 ... _1.2.8.zip [2.97MB] (excl. patches)
http://www.phpwcms.org/release/20060817 ... _patch.zip [62.7KB]
http://www.phpwcms.org/release/20060817 ... patchA.zip [34.4KB]
http://www.phpwcms.org/release/20060818 ... patchB.zip [13.1KB]
http://www.phpwcms.org/release/20060820 ... patchC.zip [17.2KB]
http://www.phpwcms.org/release/20060825 ... patchD.zip [132KB]


Oliver
Last edited by Oliver Georgi on Mon 5. Mar 2007, 16:32, edited 25 times in total.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Patch for phpwcms 1.2.8

Post by Oliver Georgi »

Small patch for release 1.2.8 available here:
http://www.phpwcms.de/forum/viewtopic.php?p=69745#69745

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Patch-A for phpwcms 1.2.8

Post by Oliver Georgi »

Additional Patch-A for release 1.2.8 available here:
http://www.phpwcms.de/forum/viewtopic.php?p=69745#69745

Hope it's not too experimental - solves a possible problems when pipes "|" in backend links are not raw url-encoded.

Oliver
Last edited by Oliver Georgi on Sat 23. Sep 2006, 08:53, edited 2 times in total.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Additional small Patch-C for release 1.2.8

Post by Oliver Georgi »

It was neccessary to implement 2 new config settings to have control to the special CSS behavior HTC files for IE < 7.

In combination of GT MOD and PNG images there was a problem too when the pngbehavior is enabled. All PNG files having no height or width attribute will be set unvisible. This is fixed too.

All information can be found here:
http://phpwcms.de/forum/viewtopic.php?p=69745#69745

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

phpwcms 1.2.8 (2006-08-25) released

Post by Oliver Georgi »

It's there: phpwcms 1.2.8 released on Aug. 25 2006. Some cool new functions and some more stuff...

Test Test Test!


Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

phpwcms 1.2.8 (2006-09-04) released

Post by Oliver Georgi »

And again - another release for testing. It has a much better search functionality and also enhancements for email content part.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

small bugfix for phpwcms 1.2.8 (2006-09-05) released

Post by Oliver Georgi »

Patch-F is just a small fix for release 2006/09/04

http://www.phpwcms.org/release/20060905 ... patchF.zip [60.1KB]

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply