RUNCMS 1.6MS1 (build 20070323)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

MS – MileStone – work unstable version for testers

 

http://downloads.sourceforge.net/runcms/runcms_1.6ms1_NOT_STABLE_20070323.zip?use_mirror=osdn

 

****************************************************************************************

[!] This version for testers only, please don't install it on yours public web-servers!!

 

CORE KERNEL

~~~~~~~~~~~

[+] Add 4 new classes - XoopsObjectHandler, XoopsModuleHandler, XoopsUsersHandler, XoopsGroupsHandler - from XOOPS

[+] improved CACHING of many parts of RunCMS saves more SQL queries - It is gave RunCMS more speed

ššš * modules

ššš * users

ššš * blocks

ššš * smilies

ššš * ranks

ššš * groups

 

[+] Add 3 new defines RC_MOD_DIR ('modules' by default), RC_MOD_URL & RC_MOD_PATH - url & path for modules directory

[+] Add new function rc_cal_monthsfull_select() for render SELECT with month's full names

 

[+] Core -> API: SQL-inject & ABUSE checking move from common.php to core_api class as methods

 

[+] Core -> XoopsModule: added ->url() & ->path() methods

[+] Core -> XoopsModule: remove optionaly RC_MODULES_CACHING - permanently ON

[+] Core -> XoopsModule: added ->rewrited_link() method which return mod_rewrite'd url for module's page. Tnx for LARK

 

 

[+] Core -> MyTextSanitizer: add getAllSmilesFromDB() method, cache result on diskš (-1 SQL query on every page with smiles)

 

[+] Core -> XoopsTopic: rewrite getTopic() method for SQL cachig

 

[+] Core -> XoopsDownload: new methods and extends it from XoopsObject

 

[+] Core -> MySQL/debug: counter for cached sql queries on page

[+] Core -> MySQL/debug: add trace() method for show SQL queries on debug

[+] Core -> MySQL/debug: show cached queries as normally SQL log if debug mode is ON

 

[+] Core -> XoopsBlock: added render() method

[+] Core -> XoopsBlock: start BLOCKS CACHING by cache_time field in DB table. Files with content of the block and time for next update

ššš saves to runcms/cache/system/block_(BLOCK_ID).php file.

 

ššš [!] Any block can be cached, but HIGHLY RECOMENDED use this feature

ššššššš carefully - better cache the block with rather static content for all users - such as "BEST LINKS" or "TOP DOWNLOAD"

ššš [!] DO NOT USE BLOCK CACHING for user-dependent blocks such as "Personally information"!

 

[+] Core -> XoopsGroup: add defines RC_GROUP_TYPE_ADMIN, RC_GROUP_TYPE_USER, RC_GROUP_TYPE_ANONYMOUS, RC_GROUP_TYPE_CUSTOM

ššš instead use ofš string "Admin", "User", "Anonymous", "Custom"

 

[+] Core -> modulesadmin: some code moved to 2 new functions module_submit() & module_confirm();

 

[+] Added phpDocumentor labels in RunCMS files for auto generating of documentation.

 

ššš [!] FOR RUNCMS DEVELOPERS:

ššššššš PLEASE, USE PHPDOCUMENTOR FORMAT OF COMMENTS FOR ALL PHP-CODE YOU WRITTEN!

ššššššš LET'S STOP THIS UNDOCUMENTED HORROR IN RUNCMS SOURCE CODE ASAP!

 

BANNERS 1.4

~~~~~~~~~~~

[+] rewrite some code for optimization, added menu in admin area, remove more SQL queries

[+] all banners shown on the same page updated by the one SQL query

[+] all bannres CTR in admin area recalculated by one SQL query

[+] added $xoopsConfig['not_ending_banners'] option. If it set to 1 than save 1 SQL query for every banners block on page,

ššš but not cheking banners for ending of views

 

 

MYDOWNLOADS

~~~~~~~~~~~

[+] renaming function for mydownloads_OLDNAME

[+] optimizing topten.php for removing many SQL queries (isAccesible method)

 

ššš [!] NOTE FOR DEVELOPERS!

ššššššš IT IS RECOMENDED TO NAME ALL FUNCTIONS OF YOU OWN MODULES STARTS FROM NAME OF MODULE FOR AVOIDING DUBLICATED FUNCTION NAMES!

 

NEWS

~~~~

[+] Add full text of just submitted story in the administrator notification email

[+] Increase story title length to 100 symbols

[+] Add navigation between story with big number of comments (Thanks for Nifus)

[+] New options in admin area ( FYI: see build 20070130 changelog ) + hidden option $newsConfig['comments_on_page']

 

HEADLINES

~~~~~~~~~

[+] Add new template for block (simple.php & simple_li.php)

 

WHOSONLINE

~~~~~~~~~~

[+] Show current module for every logged user

 

THEMES & CSS:

~~~~~~~~~~~~

[+] you can create your own design for admin area

š * by using your_theme/style/admin.css & your_theme/style/admin_menu.css. By default - files from style/*.css are used.

š * your_theme/menu/admin.css & your_theme/menu/default.css can be moved to your_theme/style/admin.css as another theme's CSS

[+] RC_IMG_POINTER can be defined in your_theme/theme.php

[+] added .rc_warning class

[+] 2 different CSS files for LTR & RTL languages (see runcms/style/style_*.css)

 

BUGFIXES:

~~~~~~~~~

[-] Core: not store module ID in session table

[-] Core -> debug: not shown errors on missed SQL cache files

[-] Core -> installer: not renewed year in copyrighted footer

[-] Core defines _MD_ERROROCCURED and _MD_COULDNOTQUERY moved to core level form newbb_plus - they are alos used in other modules

 

[-] MyDownloads: don't show HOMEPAGE, PLATFORM, and VERSION of files if they are empty strings

 

[-] News: case sensitive usage of [PAGEBREAK] (only lower case was handled)

[-] News: wrong gluing of intro and extended text in print view

[-] News: no need recounting of number of comments

 

[-] Messages: some using of non-checked varaibles

 

--

Best wishes, Michael Neradkov