MS – MileStone – work unstable version for testers
[+] 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
[+] 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 (-
[+] 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!
[+] 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
but not cheking banners for ending of views
[+] 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 ST
[+] Add full text of just submitted story in the administrator notification email
[+] Increase story title length to
[+] Add navigation between story with big number of comments (Thanks for Nifus)
[+] New options in admin area ( FYI: see build 20070
[+] Add new template for block (simple.php & simple_li.php)
[+] 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)
[-] 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