From: <be...@us...> - 2014-08-29 16:17:58
|
Revision: 12756 http://sourceforge.net/p/xoops/svn/12756 Author: beckmi Date: 2014-08-29 16:17:43 +0000 (Fri, 29 Aug 2014) Log Message: ----------- updates, work in progress Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/online.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.category.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.forum.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/plugin/userlog.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/post.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/rate.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/read.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/report.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/stats.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/text.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.renderer.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/tree.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/type.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/uploader.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/user.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/userstats.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xmlrss.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xoopsformloader.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/footer.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/header.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.forum.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.post.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.config.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.forum.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.ini.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.language.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.read.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.recon.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.render.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.rpc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.session.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.stats.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.text.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.time.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.topic.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.user.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.welcome.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/module.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/notification.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.dist.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.tag.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/search.inc.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/vars.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/search.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/seo_url.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/blocks/newbb_tag_block_cloud.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/blocks/newbb_tag_block_top.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_index.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_search.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewall.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewforum.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewpost.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewtopic.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/css/language/english/style.css XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev10095.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev10109.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev9883.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_author.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_post.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_text.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_topic.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_cloud.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_top.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_edit_post.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index_menu.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_notification_select.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_online.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_results.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_view.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_rss.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_search.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_searchresults.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_thread.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewall.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_menu.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_subforum.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewpost.tpl XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewtopic.tpl Removed Paths: ------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev9883.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_author.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_post.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_text.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_topic.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_cloud.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_top.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_edit_post.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index_menu.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_notification_select.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_online.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_results.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_view.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_rss.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_search.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_searchresults.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_thread.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewall.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_menu.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_subforum.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewpost.html XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewtopic.html Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -53,7 +53,7 @@ { $target = str_replace("..", "", $target); // http://www.php.net/manual/en/function.mkdir.php - return is_dir($target) or ( newbb_admin_mkdir(dirname($target), $mode) and mkdir($target, $mode) ); + return is_dir($target) || ( newbb_admin_mkdir(dirname($target), $mode) and mkdir($target, $mode) ); } function newbb_admin_chmod($target, $mode = 0777) Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -11,7 +11,7 @@ * @package module::newbb */ -defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); if (defined('LIST_TOPIC_DEFINED')) return; define('LIST_TOPIC_DEFINED',true); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -28,7 +28,7 @@ // URL: http://xoopsforge.com, http://xoops.org.cn // // Project: Article Project // // ------------------------------------------------------------------------ // -defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); +// defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); // irmtfan use full path because block maybe used outside newbb include_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.ini.php"; Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -10,7 +10,7 @@ * @package module::newbb/tag */ -defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); +// defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined'); /**#@+ * Function to display tag cloud Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt 2014-08-29 16:17:43 UTC (rev 12756) @@ -1,40 +0,0 @@ -date: 2012-08-25 -================================================ -1- Extra new lines removed from php files. -newbb/votepolls.php, newbb/include/notification.inc.php, newbb/class/permission.forum.php, newbb/admin/admin_groupmod.php - -2- Apply Alfred Id in the head of php files: -newbb/class/xoopsformloader.php, newbb/votepolls.php, newbb/class/tree.php, newbb/topicmanager.php, newbb/class/readtopic.php -newbb/class/readforum.php, newbb/class/read.php, newbb/ratethread.php, newbb/class/rate.php, newbb/class/newbbtree.php -newbb/blocks/newbb_block_tag.php, newbb/index.php, newbb/admin/*.php, -newbb/include/sitemap.plugin.php, newbb/include/search.inc.php, newbb/include/notification.inc.php, newbb/include/functions.user.php, -newbb/include/module.v100.php, newbb/include/module.v220.php, newbb/include/module.php, newbb/include/functions.ini.php -newbb/include/form.forum.php, -newbb/notification_update.php, newbb/report.php, newbb/reply.php - -3- Change the status of module to RC4. -newbb/xoops_version.php - -4- Solve SEO (replace files from Alfred) -newbb/viewpost.php, newbb/viewtopic.php, newbb/blocks/newbb_block.php - -5- Add do_latestedit config to display the latest edit (do_latestedit=0) or all edit (do_latestedit=1) by Alfred -newbb/class/post.php, newbb/include/plugin.php - -6- Replace files from Alfred (better code, bug fixes, merge and develop): -newbb/class/permission.php, newbb/class/forum.php, newbb/sql/mysql.400.sql, newbb/rss.php, newbb/admin/admin_permissions.php -newbb/include/functions.image.php, newbb/include/form.post.php, newbb/viewforum.php -newbb/seo.php, newbb/post.php, newbb/search.php, newbb/docs/changelog.txt, newbb/language/german/*.php - -7- Add new language definitions. -newbb/language/english/admin.php, newbb/language/english/main.php, newbb/language/persian/admin.php, newbb/language/persian/main.php, -newbb/docs/lang_diff.txt - -8- Fix Undefined variable: pseudo_height (Cesag/irmtfan) -in newbb/include/functions.image.php line 86 - -9- Change the default syncOnUpdate value to false. It is dangerous because it will delete all pending and deleted posts/topics/forums from database on update. -newbb/include/plugin.php - -10- easier group getting - reduce queries - use Xoops API instead of directly access to db (irmtfan) -newbb/class/user.php Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt 2014-08-29 16:17:43 UTC (rev 12756) @@ -1,634 +0,0 @@ -date 2013-08-27 -=================================== -1- bug fix: Notice: Undefined index: fct in file /modules/newbb/xoops_version.php line 767 (Cesag) - -date 2013-08-24 -=================================== -1- bug fix: check if xoops poll module is available in newbb/admin/index.php (Cesag) -2- bug fix: single quotes inside language definitions break onClick event (Cesag/Irmtfan/Mamba) - -date 2013-05-28 -=================================== -1- improve: rewrite topic synchronization function. add pid sync and remove hard-code db access in newbb/class/topic.php -2- improve: rewrite forum cleanOrphan function. add parent_forum and cat_id orphan check in newbb/class/forum.php -3- enhance: rewrite admin > sync and recon functions. remove hard-codes access to db. in newbb/admin/admin_synchronization.php and newbb/include/functions.recon.php -4- improve: irmtfan - move cleanOrphan to synchronization function in newbb/include/functions.recon.php and newbb/class/topic.php -date 2013-05-25 -=================================== -1- improve: add $formtype = "hidden" | "select" for poll_module config to be effect in Onupdate process. in newbb/xoops_version.php -2- improve: findPollModule function: just select needed "poll_id" field from topic table in newbb/class/topic.php - -date 2013-05-23 -=================================== -1- add: findPollModule function to 'NewbbTopicHandler' class to find poll module that is in used in the current newbb installtion. in newbb/class/topic.php -2- improve: add getActivePolls function to 'NewbbTopicHandler' class to get all active poll modules in the current xoops installtion. in newbb/class/topic.php -3- add: add getPoll function to 'Topic' class to get a poll object from a poll module. in newbb/class/topic.php -4- enhance: add a $pollModule dirname of the poll module to loadOldPoll function in 'Topic' class to Load functions needed for old poll module. in newbb/class/topic.php -5- add: special check to find and save the used poll module on the newbb update process. in newbb/xoops_version.pp -6- add: special check to find and save the used poll module on the newbb saving preferences process. in newbb/xoops_version.pp -7- change version to 4.33 RC7 in newbb/xoops_version.php - -date 2013-05-22 -=================================== -bug fix: in topic merge: the old topic will be deleted if user input a not exist new topic in newbb/topicmanager.php -improve: in topic merge: less query to update new topic_views in newbb/topicmanager.php -fix: in topic merge: new forum should be synchronized after merge in newbb/topicmanager.php -improve: in topic merge: better method for delete the old topic and synchronize the new topic, old forum and new forum in newbb/topicmanager.php -add: in topic merge: if old topic has a poll and new topic has not a poll, move poll from old topic to new topic in newbb/topicmanager.php -fix: in topic merge: update vote data instead of deleting them in newbb/topicmanager.php -improve: add deletePoll function to 'Topic' class to use with ease in newbb/class/topic.php, newbb/class/post.php, newbb/topicmanager.php -add: better poll module display link and version in admin index. in newbb/admin/index.php - -date 2013-05-21 -=================================== -1- poll_module: force user to only select poll module once in preferences in newbb/xoops_version.php -2- bug fix: poll_module handler in newbb/class/post.php - -date 2013-05-19 -=================================== -1- add: poll_module: rewrite polls.php to accept xoopspoll 1.4 by zyspec and all old xoopspoll and umfrage versions and all clones. -in newbb/class/topic.php and newbb/polls.php , newbb/votepolls.php , newbb/viewtopic.php , newbb/class/post.php , newbb/topicmanager.php -and newbb/templates/newbb_poll_results.html , newbb/templates/newbb_poll_view.html -and newbb/templates_fulldiv_opacity/newbb_poll_results.html , newbb/templates_fulldiv_opacity/newbb_poll_view.html - -2- add: $xoopspoll in header for backward compatibility. in newbb/header.php -3- improve: priorities for default poll module : 1- xoopspoll 2- last element in array 3- if no poll module => 0 in newbb/xoops_version.php - -date 2013-05-19 -=================================== -1- add poll_module config to avoid writing hard-code poll dirname (eg: clones) in newbb/xoops_version.php and newbb/header.php and newbb/admin/index.php -2- change version to 4.32 in newbb/xoops_version.php - -date 2013-05-14 -=================================== -1- add: itemId($item_name) plugin: any module can define a plugin to get its itemId based on item_name. now newbb: - In newbb > viewtopic.php the topic_id is not always in the URL $_REQUEST. - in newbb/class/plugin/userlog.php (2013/05/14) - -date 2013-04-23 -=================================== -1- add last_login to viewtopic.php (Mamba) in newbb/viewtopic.php and newbb/class/user.php and newbb/templates/newbb_thread.html and newbb/templates_fulldiv_opacity/newbb_thread.html - -date 2013-04-20 -=================================== -1- bug fix: remove ALTER TABLE `bb_posts` DROP INDEX `approved`; and add to mysql.php and change version to 431 in newbb/sql/mysql.430.sql and newbb/sql/mysql.php and newbb/xoops_version.php -2- improve: add check version in user database to dont run update script if user has the latest version. in newbb/include/module.php -3- Change status to RC6 -4- add: forum name in newbb/moderate.php -date 2013-04-17 -=================================== -1- bug fix: should not ban the user in forum who is moderator of that forum. in newbb/include/form.post.php and newbb/class/moderate.php -2- bug fix: uid=0 for anonymous users in newbb/class/moderate.php -3- bug fix: if forum=0 should return true in any forum in newbb/class/moderate.php -4- bug fix: should not show quick reply for suspend users otherwise they can post in newbb/viewtopic.php -5- add: forum select box for admins to be able to suspend users in any forum or all forums in newbb/moderate.php -6- bug fix: only show all bans for module admin - for moderator just show its forum_id bans in newbb/moderate.php - -date 2013-04-15 -=================================== -1- improve: add anon users to topic poster and last poster in NewbbTopicRenderer class (used in block and list.topic.php) -newbb/class/topic.renderer.php, newbb/xoops_version.php, -newbb/list.topic.php, newbb/blocks/list_topic.php - -date 2013-02-11 -=================================== -1- improve: add multi topic poster and multi last poster to NewbbTopicRenderer class (used in block and list.topic.php) -newbb/class/topic.renderer.php, newbb/xoops_version.php, -newbb/list.topic.php, newbb/blocks/list_topic.php - -2- improve and fix: multi status and multi display header in NewbbTopicRenderer class -newbb/class/topic.renderer.php, newbb/list.topic.php, newbb/blocks/list_topic.php - -date 2013-02-07 -=================================== -1- improve: enhance the advance block. add more sorts: lastposttime, lastposter, lastpostmsgicon . add more display mode: attachment, read, pagenav -newbb/class/topic.renderer.php, newbb/xoops_version.php, - newbb/blocks/list_topic.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html - newbb/language/LANG/main.php, newbb/docs/lang_diff.txt - -2- change default from sticky to lastpost -newbb/class/topic.renderer.php - -3- bug fix: read status: read topics do not show for readmode = 1 in list.topic.php -newbb/class/topic.renderer.php - -date 2013-02-06 -=================================== -1- bug fix: Undefined variable: forumCookie revert last change - use global instead of include_once -in newbb/footer.php - -2- bug fix: Undefined index: newbb config in blocks activated in some modules like profile -in newbb/class/post.php - -3- bug fix: dont show topic title in list.topic.php -in newbb/class/topic.renderer.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html - -date 2013-02-05 -=================================== -1- bug fix: when update the type for a specific forum it delete other forum's types too.(important) -in newbb/class/type.php - -2- bug fix: t.topic_rating to t.rating in viewforum and topic renderer pages -in newbb/viewforum.php, newbb/class/topic.renderer.php - -3- bug fix: dont add sort to criteria if sort=null eg: /list.topic.php?sort= will cause db error -in newbb/class/topic.renderer.php - -4- bug fix: if user set post_excerpt = 0 in preferences, there is no join in criteria and Undefined index: join error occured. -in newbb/class/topic.renderer.php - -5- feature add: NewbbTopicRenderer class can accept multiple status. more status and sort is added. - status supproted: all(by default), sticky, digest,lock, poll, voted, viewed, replied, read, (UN_) , active, pending, deleted (admin) -in newbb/class/topic.renderer.php - -6- feature add: add "topic_title_excerpt" setting. render topics with the specific title length. 0 = dont excerpt and show the whole topic title. -in newbb/include/plugin.php, newbb/class/topic.renderer.php - -7- feature add: a new block for topics using NewbbTopicRenderer class. - users can drop old "Recent Topics" and "Recent Replied Topics" block and use this block instead. -in newbb/xoops_version.php, newbb/language/LANG/main.php, newbb/language/LANG/blocks.php, newbb/language/LANG/modinfo.php, newbb/docs/lang_diff.txt -newbb/list.topic.php, -add: newbb/blocks/list_topic.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates/js/language/english/newbb_validation.js - newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/js/language/english/newbb_validation.js - -8- fix: remove hardcoded items from topic_icon and topic_folder smarty and add sticky, digest, poll, lock, publish time and rating smarty -in newbb/templates_fulldiv_opacity/viewall.html, in newbb/templates/viewall.html - -9- bug fix: remove hardcoded access to database for creating forum selection box (multiple and single) in admin prune. -in newbb/admin/admin_forum_prune.php - -10- fix: change $xoopsUser to $GLOBALS["xoopsUser"] because $xoopsUser is not defined in admin side -in newbb/include/vars.php - -11- bug fix: Undefined variable: forumCookie -in newbb/footer.php - -12- fix: _MD_NEWBB_GOTOLASTPOST already defined -in newbb/blocks/newbb_block.php - -13- change the status to RC5 -in newbb/xoops_version.php - -date 2012-12-26 -=================================== -1- bug fix: Warning: xoopsOption[template_main] should be defined before including header.php in file /footer.php line 59 -in newbb/edit.php, newbb/header.php, newbb/index.php, newbb/list.topic.php, newbb/newtopic.php, newbb/post.php, newbb/reply.php, -newbb/search.php, newbb/topicmanager.php, newbb/viewforum.php, newbb/viewpost.php, newbb/viewtopic.php - -2- improve: use addScript instead of xoops_module_header to add toggle script because some themes are not standard -in newbb/header.php, newbb/footer.php - -3- bug fix: assign default values to variables to fix some notices -in newbb/search.php - -4- bug fix: use addScript before include header.php -in newbb/viewpost.php - -date 2012-12-25 -=================================== -1- bug fix: when vote in polls it should save user ip to db -in newbb/votepolls.php - -2- bug fix: user is not allowed to vote when the poll is expired -in newbb/viewtopic.php, newbb/votepolls.php - -3- bug fix: in edit poll page topic_id is missing in restart this poll url -in newbb/polls.php - -date 2012-11-19 -=================================== -1- bug fix: in viewforum.php?forum=XXX . moderator have all access over the forum regardless of his/her group access. -in newbb/class/forum.php - -date 2012-11-14 -=================================== -1- feature add: add pdf and print permissions. fix html and signature permission in new install. -Important Note: you must set permissions for each group and each forum in newbb -> admin -> set permissions otherwise only newbb admins have permissions. -in newbb/class/post.php, newbb/class/permission.forum.php, newbb/makepdf.php, newbb/print.php, - newbb/language/LANG/main.php, newbb/language/LANG/admin.php, newbb/docs/lang_diff.txt - -2- FAQ add: after submit in newbb => admin => permissions it said "Sorry, you don't have the permission to access this area" -in newbb/docs/readme.txt - -date 2012-11-12 -=================================== -1- bug fix: in full div templates set: in smarty replace: replacing tr/td to span was incorrectly done -in newbb/templates_fulldiv_opacity/newbb_edit_post.html - -2- bug fix: in newbb/search.php: add selecthtml=0 to the next search link -in newbb/search.php - -date 2012-11-08 -=================================== -1- bug fix: in viewforum.php?forum=XXX : change sort fields u.uname => t.topic_poster | t.topic_time => t.topic_id | "t.topic_ratings"=>_MD_RATINGS, | p.post_time => t.topic_last_post_id -in newbb/viewforum.php - -date 2012-11-07 -=================================== -1- bug fix: in XOOPSCORE/search.php $xoopsModuleConfig and $xoopsModule is not set -in newbb/include/search.inc.php - -date 2012-11-06 -=================================== -1- bug fix: in view all topic page: a typo "all" instead of all when the status is not set -in newbb/class/topic.renderer.php - -date 2012-10-28 -=================================== -1- bug fix: getRead_cookie should return array. (important) -in newbb/class/read.php - -2- improve: add LAST_INSERT_ID to enhance the mysql performances -in newbb/class/topic.php - -3- improve: set IP as COOKIE prefix for anonymous users -in newbb/include/vars.php, newbb/viewpost.php, newbb/class/forum.php, newbb/class/topic.renderer.php - -4- bug fix: increment topic_views only if the topic is unread (important) -in newbb/viewtopic.php - -date 2012-10-22 -=================================== -1- bug fix: viewpost.php?status=new AND viewforum.php?forum=FFF&status=unread and list.topic.php?status=unread when read_mode = 1 (cookie) -in newbb/viewpost.php, newbb/class/forum.php, newbb/class/topic.renderer.php - -2- improve: change the read_mode = 2 (db) to read_mode = 1 (cookie) for anonymous users -in newbb/include/functions.ini.php, newbb/include/plugin.php - -3- minor bug fix: <{$lastvisit}> smarty variable is added for all users (members and anons) it was wrongly only for members -in newbb/index.php, newbb/templates/newbb_index.html, newbb/templates_fulldiv_opacity/newbb_index.html - -date 2012-10-20 -=================================== -1- bug fix: wrongly do not count sub forum posts/topics when count_subforum = 1 -in newbb/class/forum.php - -2- bug fix: $criteria_post and $criteria_count only for users -in newbb/viewpost.php - -3- improve: add topic_read = 0/1 and forum_read = 0/1 smarty variables -in newbb/class/forum.php, in newbb/class/topic.renderer.php, -newbb/templates/newbb_index.php, newbb/templates/newbb_viewall.php, newbb/templates/newbb_viewforum.php, newbb/templates/css/language/LANG/style.css - -4- add: hack XOOPSCORE/search.php to use MODULE_NAME/search.php file instead of XOOPSCORE/search.php -in XOOPS255/search.php - -5- add : new fulldiv template set (opacity) -in newbb/templates_fulldiv_opacity/*.* - -date 2012-10-17 -=================================== -1- improve: add startlag, length, striptag=true/false, strip tages excludes in search form. -in newbb/search.php, newbb/include/functions.text.php, newbb/templates/newbb_search.php, newbb/language/LANG/main.php, newbb/docs/lang_diff.txt - -2- improve: in search form: dont show (skip) the result if both (post text) and (post subject) are empty. -in newbb/search.php, newbb/include/functions.text.php - -3- improve: in search fucntion: ability to create criteria for both since and search topic -in newbb/search.php - -4- comment add: the comment in class read about read_expire values was wrong -in newbb/class/read.php - -5- improve: add default path for themes/default and themes/YOUR_THEME (images, css, js) -in newbb/class/icon.php - -date 2012-10-15 -=================================== -1- bug fix: viewpost.php?status=new AND viewforum.php?forum=FFF&status=unread and list.topic.php?status=unread criteria was wrong when read_mode = 2(important) -in newbb/viewpost.php, newbb/class/forum.php, newbb/class/topic.renderer.php - -2- bug fix: in view all topic page: if empty($_GET(status)) it will show all topics include deleted and pendings. - the last solution removed in list.topic.php and move to topic.renderer.php because the last solution cause double query and error. -in newbb/list.topic.php, newbb/class/topic.renderer.php - -3- bug fix: add read_item_uid indexes to avoid duplicate (read_item, uid) when submit a post (very important) -newbb/sql/mysql.sql, newbb/sql/mysql.430.sql - -4- bug fix: add clearDuplicate function for clear duplicate rows in bb_reads_topic and bb_reads_forum tables. old newbb users should click on "Read Data" in newbb -> admin -> syncronization page. (very important) -in newbb/class/read.php, newbb/admin/admin_synchronization.php, newbb/language/LANG/admin.php, newbb/docs/lang_diff.txt - -5- improve: add read_expire = 0 => no clean up reads tables -in newbb/class/read.php, newbb/include/plugin.php - -date 2012-10-11 -=================================== -1- bug fix: viewpost.php?status=new was wrongly return the new posts and new posts counts based on read_mode=1 (cookie) when the read_mode=2 (database) (important) -in newbb/viewpost.php and newbb/class/post.php - -date 2012-10-10 -=================================== -1- bug fix: in list.topic.php: remove empty arrays in getStatus function -in newbb/class/topic.renderer.php - -2- bug fix: add template smarty variables to search.php to save the user inputs in submit. move select boxes from template to php file -in newbb/templates/newbb_search.html, newbb/search.php - -3- bug fix: in search.php (previously in newbb_search.html): wrongly the andor value="all" (it should be value="AND"), change default andor="OR" to andor="AND" to be like XOOPS CORE setting -in newbb/search.php - -4- bug fix: wrongly p.post_time = since (should be >= since) -in newbb/class/topic.renderer.php - -5- bug fix: $hidvar should be <{$hidvar}> smarty. Improve $hidvar and $hidval in template -in newbb/templates/newbb_viewall.html - -6- bug fix: we need old vars for selection boxes. -in newbb/class/topic.renderer.php, newbb/templates/newbb_viewall.html - -7- bug fix: remove name attribute from submit buttons when method=get -in newbb/templates/newbb_index.html, newbb/templates/newbb_viewall.html, newbb/templates/newbb_viewforum.html, newbb/templates/newbb_search.html - -8- bug fix: wrongly dont parse negative values (categories) when newbb_forumSelectBox is multiple. add a new getIdsByValues function to class/forum.php -in newbb/class/forum.php, newbb/include/search.inc.php, newbb/include/topic.renderer.php, - -9- bug fix: id="xo-pagenav" is hardcoded in the XOOPS Core 2.5.5 and 2.6 (mrphilong/irmtfan) -in newbb/templates/newbb_viewall.html, newbb/templates/newbb_viewforum.html, -newbb/templates/newbb_viewpost.html, newbb/templates/newbb_viewtopic.html - -10- feature add: add newbb_forumSelectBox multiple to list.topic.php -in newbb/class/topic.renderer.php, newbb/templates/newbb_viewall.html - -11- feature add: show search results: 1- post title 2- post text -in newbb/search.php, newbb/templates/newbb_search.html, newbb/templates/newbb_searchresults.html, newbb/language/LANG/main.php, newbb/docs/lang_diff.txt - -12- feature add: add "select text" and "highlighter" to search keywords. add a new file include/functions.text.php to handle text -in newbb/include/functions.text.php, newbb/include/plugin.php, newbb/class/post.php, newbb/include/search.inc.php, newbb/search.php -newbb/templates/css/language/LANG/style.css - -13- bug fix: remove hardcode database access, solve order issues, reduce queries, permissions issues. file include/search.inc.php is completely rewritten (important) -in newbb/include/search.inc.php - -14- feature add: add topic search to viewtopic and viewpost -in newbb/templates/newbb_viewtopic.html, newbb/search.php, newbb/language/LANG/main.php, newbb/docs/lang_diff.txt - -15- bug fix: in list.topic.php the topic_link is hardcoded. add topic_excerpt -in newbb/class/topic.renderer.php - -date 2012-10-02 -=================================== -1- feature add: jump to last post read in the topic when the post_id is not in the URL(kwaltman/irmtfan) -in newbb/viewtopic.php, newbb/include/plugin.php - -2- bug fix: add topic_page_jump_icon for list.topic.php and link to the last post in viewforum.php and list.topic.php -in newbb/class/forum.php, newbb/class/topic.renderer.php, newbb/templates/newbb_viewall.html - -3- bug fix: remove hardcode <a> </a> from blocks URLs. add topic url and topic last post icon smarty variables. -in newbb/blocks/newbb_block.php, newbb/templates/blocks/newbb_block.html, newbb/templates/blocks/newbb_block_post.html, newbb/templates/blocks/newbb_block_topic.html - -4- improve and fix: in list.topic.php add topic_folder_text for alt , add forum_folder_text for alt -in newbb/class/topic.renderer.php, newbb/class/forum.php - -5- improve: add alt key for rating -in newbb/class/topic.renderer.php, newbb/class/forum.php, newbb/viewtopic.php - -6- fix: _MD_POSTER to _MD_TOPICPOSTER and _MD_DATE to _MD_LASTPOSTTIME and add $smarty.const._MD_BY -in newbb/class/topic.renderer.php, newbb/templates/newbb_viewforum.html - -7- bug fix: many unneeded queries for newbb_isRead in viewforum.php, revise codes, move codes to a for loop(important) -newbb/class/forum.php - -8- bug fix: in newbb/list.topic.php?forum=XXX - wrongly return the forum_id only when the forum_id is the first allowed forum (important) -in newbb/class/topic.renderer.php - -9- improve: some modification in persian translation. -in newbb/language/persian/main.php, newbb/language/persian/modinfo.php, - -date 2012-09-29 -=================================== -1- bug fix: since value is hardcoded badly when since=1000 (From 1000 days ago) it return 0 (current time) -in newbb/include/functions.time.php - -2- bug fix: rewrite newbb_sinceSelectBox function. if the since array is empty do not show since select box. 0 and 365 had been hardcoded. -in newbb/include/functions.time.php, newbb/xoops_version.php, newbb/language/english/modinfo.php - -3- bug fix: in viewforum - if no since in the _GET it should be 0 (Roby78/irmtfan) -in newbb/viewforum.php - -4- bug fix: in search - not show the selected since entered by user in selection box. -in newbb/search.php - -date 2012-09-26 -=================================== -1- bug fix: move semicolon from php files to template files. 'block;' => 'block' AND 'none;' => 'none' -in newbb/index.php, newbb/viewtopic.php, newbb/templates/newbb_thread.html, newbb/templates/newbb_viewtopic.html, newbb/templates/newbb_index.html - -2- bug fix: Issue with javascript in redirect_header javascript:history.go(-1) -in newbb/action.post.php, newbb/action.topic.php, newbb/polls.php, newbb/post.php, newbb/ratethread.php, newbb/topicmanager.php, newbb/votepolls.php - -3- bug fix: add messages for redirect_header -in newbb/post.php, newbb/votepolls.php, newbb/admin/admin_report.php, newbb/language/english/main.php, newbb/language/english/admin.php, newbb/docs/lang_diff.txt - -4- fix and improve: add redirect header when no report is selected in admin_report.php in submit. -newbb/admin/admin_report.php, newbb/language/english/admin.php, newbb/docs/lang_diff.txt - -5- bug fix: user dont see "the topic is locked" if the show_reg was set to 0. revise forum_post_or_register smarty and assign 3 new smraty variables: forum_post, forum_register, topic_lock -in newbb/viewtopic.php - -6- bug fix: user can see rating when he dont have permission to post and/or reply. -in newbb/viewtopic.php, newbb/templates/newbb_viewtopic.html - -7- bug fix: innerHTML change only if the TAG is not img. - -date 2012-09-25 -=================================== -1- bug fix: change the method of adding stylesheet and scripts from overrighting xoops_module_header smarty variable to $xoTheme. -move codes from header.php to the new footer.php file. add local stylesheet and js for newbb blocks outside module space. -modify: -in newbb/action.post.php, newbb/action.topic.php, newbb/edit.php, newbb/header.php, -newbb/index.php, newbb/list.topic.php, newbb/newtopic.php, newbb/polls.php, -newbb/post.php, newbb/action.post.php, newbb/ratethread.php, newbb/reply.php -newbb/search.php, newbb/topicmanager.php, newbb/viewforum.php, newbb/viewpost.php, newbb/viewtopic.php -add: -in newbb/footer.php - -2- improve: move js files from include/js to templates/js/language/LANG. all js files inside language directory will be added to header. -move "style.css" file from templates/images/language/LANG to templates/css/language/LANG. -in newbb/class/icon.php, newbb/footer.php, newbb/templates/js/language/LANG/*.js, newbb/templates/css/language/LANG/style.css - -3- delete unneeded files: -newbb/include/pngbehavior.htc, newbb/include/newbb.htc, newbb/include/js/*.* - -4- bug fix: days should be changed to seconds. -in newbb/class/post.php, newbb/class/topic.php - -date 2012-09-19 -=================================== -1- bug fix: in post delete process: wrongly delete parent post before childs but the right way is deleting childs before deleting parent post.(reverse order deleting) -in newbb/class/post.php - -2- bug fix: solve nested forms issue when the pagenav type is select -in newbb/templates/newbb_viewall.html, newbb/templates/newbb_viewforum.html, -newbb/templates/newbb_viewpost.html, newbb/templates/newbb_viewtopic.html - -3- bug fix: xoops_module_header smarty variable is missing. -newbb/edit.php, newbb/newtopic.php, newbb/post.php, newbb/reply.php - - -date 2012-09-18 -=================================== -1- bug fix: in topic delete process: in view all and view forum: after delete selected topics all topics and their posts will be wrongly deleted from database.(very important) -in newbb/action.topic.php - -2- bug fix: in post restore process: it will not approve post if approved = -1 (deleted) (important) -in newbb/class/post.php - -3- bug fix: in post delete process: wrongly set new pid for not approved posts and set pid=0(very important) -in newbb/class/post.php - -4- bug fix: wrongly check topic is not object after set it as object (important) -in newbb/class/topic.php - -5- bug fix: in view all topic page: if empty($_GET(status)) it will show all topics include deleted and pendings. -in newbb/list.topic.php - -6- bug fix: sync topic not added after delete -in newbb/topicmanager.php - -7- bug fix: remove unneeded codes: manually approve posts after restore -in newbb/topicmanager.php - -8- improve: ability to restore a topic in viewtopic page -in newbb/topicmanager.php, newbb/viewtopic.php -newbb/language/english/main.php, newbb/docs/lang_diff.txt - -9- fix: slash "/" missing in URL -in newbb/topicmanager.php - -10- fix: add "mode" smarty variable in viewforum to see admin links -in newbb/viewforum.php - -11- improve: in view all topic page: show all admin links in admin mode in the initial page loading -newbb/templates/newbb_viewall.html - -12- bug fix: admin main sync wrongly delete all pending and deleted posts/topics (very important) -in newbb/admin_synchronization.php - -13- bug fix: admin main sync (misc) wrongly delete all pending and deleted posts/topics when the pending_expire=0 in newbb/include/plugin.php (very important) -in newbb/class/post.php, newbb/class/topic.php - -date 2012-09-16 -=================================== -1- improve: Add forum_post_prefix smarty variable to have unique Ids for posts. Add js function to scroll to current post in viewtopic.php links. -in newbb/templates/newbb_thread.html , newbb/templates/newbb_viewtopic.html - -date 2012-09-11 -=============================== -1- bug fix: viewtopic admin mode action incorrectly on the topic instead of selected posts of the topic.(important) -in newbb/templates/newbb_viewtopic.html -2- change some reletive URLs to Full URLs (Roby73/irmtfan) -in newbb/notification.inc.ini -3- bug fix: redirect was not correct in subdomain (value=xoops_url removed) -in newbb/templates/newbb_notification_select.html -4- advertise post should not have admin buttons. -in newbb/templates/newbb_thread.html -5- revoke the last change rev 10170 and revert to rev 10102 -in newbb/xoops_version.php - -date 2012-09-10 -=============================== -1- bug fix: notification not show in newbb/viewtopic.php?post_id=XXXX URLs -in newbb/xoops_version.php - -date 2012-09-10 -=============================== -1- back rank_image and rank_title to rank.image rank.title smarty variables to make consistency with old newbb versions. -in newbb/class/user.php, newbb/templates/newbb_thread.html - -2- change some reletive URLs to Full URLs (Roby73/irmtfan) -in newbb/viewforum.php, newbb/topicmanager.php, newbb/polls.php, newbb/templates/newbb_viewtopic.html - -3- add up and down icons smarty variables to templates. -in newbb/viewpost.php, newbb/templates/newbb_viewpost.html, newbb/templates/newbb_viewtopic.html - - -date 2012-09-09 -================== -1- some changes in persian language notifications. -language/persian/modinfo.php -2- add alt to down prev and next and change the templates -newbb/viewtopic.php newbb/templates/newbb_viewpost.html and newbb/templates/newbb_viewtopic.html -3- bug fix: js onclick xoopsCheckAll not work when polls is active in viewtopic admin mode. -newbb/templates/newbb_viewtopic.html - -date 2012-09-05 -================================================ -1- minor bug fix: mistype in viewtopic and viewpost admin mode submit button when admin dont select any action -in newbb_viewpost.html and newbb_viewtopic.html - -date 2012-09-01 -================================================ -1- add toggle $quickreply['expand'] to find quickreply hide/see -newbb/viewtopic.php - -2- add alt and title to text links - change <button> html tag to <span> class="forum_icon forum_button" to support IE7&8 -newbb/class/icon.php, newbb/templates/images/language/english/style.css, newbb/include/display.php (juct change help comments) - -3- improve ToggleBlockCategory js to change icon.id and use innerHTML instead of textContent to support IE7&8 -newbb/include/js/newbb_toggle.js - -4- remove unneeded gif persian images -newbb/templates/images/language/persian - -date 2012-08-30 -================================================ -1- add more and less icons - add t_qr_expand.png image and add show see definitions -newbb/include/display.php, newbb/include/images.php -newbb/templates/images/language/english/t_qr_expand.png -newbb/language/english/main.php, newbb/docs/lang_diff.txt - -2- improve ToggleBlockCategory js to recognize a IMG tag -newbb/include/js/newbb_toggle.js - -3- change all toggles in newbb to use ToggleBlockCategory - use newbb_displayImage function for all toggles - alt and title and text links supported -newbb/viewtopic.php, newbb/templates/newbb_viewtopic.html, newbb/templates/newbb_thread.html -newbb/index.php, newbb/templates/newbb_index.html - -4- some hardcodes removed (<small><{$topic_post.post_edit}></small> and signature line -newbb/templates/newbb_thread.html, newbb/templates/images/language/english/style.css - -date 2012-08-28 -================================================ -1- improve text link instead of buttons feature. Ability to set the display setting for each link in newbb/include/display.php -newbb/include/plugin.php, newbb/include/display.php, newbb/include/functions.render.php - -2- add id={$image} for <img> html tag -newbb/class/icon.php - -date: 2012-08-27 - 2 -================================================ -1- improve text link instead of buttons to only show text buttons when: a) alt key is set b)display is not set to true c)only buttons like reply, edit -newbb/include/functions.render.php, newbb/class/icon.php - -2- add alt key for quickreply button and remove one extra space ( ) and sort reply - addpoll - newtopic -newbb/viewtopic.php, newbb/templates/newbb_viewtopic.html - -date: 2012-08-27 -================================================ -1- remove icon_path and use newbb_displayImage -newbb/class/forum.php, newbb/templates/newbb_index.html, newbb/templates/newbb_viewforum_subforum.html - -2- remove icon_path and define anonym icon and use newbb_displayImage -newbb/viewpost.php, newbb/viewtopic.php, newbb/include/images.php, newbb/templates/newbb_thread.html - -3- simplyify infobox and add alt and title show/hide definitions and alt key -newbb/viewtopic.php, newbb/templates/newbb_thread.html, newbb/include/js/newbb_toggle.js, newbb/language/english/main.php newbb/docs/lang_diff.txt -newbb/templates/images/language/english/style.css -newbb/templates/images/icon/less.png - -4- a little correctness. dot removed -newbb/class/user.php - -5- feature improve: css3 text buttons introduced and used (DCrussader/irmtfan) -newbb/class/icon.php, newbb/templates/images/language/english/style.css class="forum_icon" id=$image_name - -date: 2012-08-26 -================================================ -1- merge with alfred. -newbb/votepolls.php, newbb/polls.php, newbb/print.php, newbb/seo.php - -2- bug in getting $op and typo: addmor -> addmore -newbb/polls.php - -3- better method for getting the customize/localize newbb style.css -newbb/header.php \ No newline at end of file Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev9883.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev9883.txt 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev9883.txt 2014-08-29 16:17:43 UTC (rev 12756) @@ -1,87 +0,0 @@ -Changelog from rev.9883 - -date: 2012-08-15 -================================================ -1- minor fix: double slash fixed in rpg url -in newbb/class/user.php - -2- hardcode removed in rpg image alignment - align="left -> class="icon_left" -in newbb/class/user.php - -3- some english/persian language definitions has been revised. All extra spaces/newlines have been removed. -All changed to end method windows(CR+LF).See docs/lang_diff.txt for detail. -in newbb/language/english/*.php, newbb/language/persian/*.php - -4- add lang_diff.txt -in newbb/docs/lang_diff.txt - -5- expand readme.txt add guides to get a backup from old images before update, introduce Image customization and some FAQ -in newbb/docs/readme.txt - -6- makepdf.php from black_beard - add RTL - remove unneeded TCPDF config language requirements - add multi-lang EMLH by GIJ and Xlanguage by phppp DJ. -Add Forum Index - cat - forum - sub forum - topic names to the pdf header. -in newbb/makepdf.php - -7- add local stylesheet (xoops_header) in print.php -in newbb/print.php - -date: 2012-08-06 -================================================ -1- hardcode fix: using header php command instead of redirect_header XOOPS function (deka87/irmtfan) -in newbb/search.php -(Also hardcoded in latest core in xoops2.5.5/htdocs/search.php) - -2- hardcode fix: icon_path smarty variable was hardcoded in viewtopic and viewpost and is not defined in class/forum.php (irmtfan) -in newbb/viewtopic.php, newbb/viewpost.php, newbb/class/forum.php - -3- hardcode icons and some hardcodes has been solved in templates: -in newbb/templates/newbb_thread.html, newbb/templates/newbb_index.html, newbb/templates/newbb_viewforum_subforum.html - -4- add readme.txt for install and upgrade -in docs/readme.txt - -5- a poll class misses in english style.css -in newbb/templates/images/language/english/style.css - -date: 2012-08-04 -================================================ -1- bug fixed: error in newbb/polls.php when the strtotime is not defined in XoopsLocal class (irmtfan) -solution: replace XoopsLocal::strtotime($end_time) by method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time) -in newbb/polls.php -2- more hardcodes in newbb/templates has been removed - -date: 2012-08-01 -================================================ -1- localization: input date localized (for other date systems like hegira) by replacing strtotime by XoopsLocal::strtotime -in newbb/polls.php - -2- customization&localization: newbb style.css is fully localized and customized and is not hard-coded anymore. -in newbb/header.php -file changes: --- deleted newbb/templates/style.css --- added newbb/templates/images/language/english/style.css --- added newbb/templates/images/language/persian/style.css -priorities: -if exist in themes/YOUR_THEME/modules/newbb/images/language/YOUR_LANG/style.css take it -else if exist in themes/default/modules/newbb/images/language/YOUR_LANG/style.css take it -else if exist in modules/newbb/templates/images/language/YOUR_LANG/style.css take it -else if exist in modules/newbb/templates/images/language/english/style.css take it -else if exist in modules/newbb/templates/style.css take it (for backward compatibility) - -3- many hardcodes in newbb/templates and style.css has been removed - -date: 2012-07-30 -================================================ -1- bug fix: edit not displayed when the reason is not filled (irmtfan) -2- bug fix: only the last edit is recorded. (irmtfan/alfred) -in newbb/class/post.php -3- bug fix: 'noapprove' permission incorrectly recorded in database. (irmtfan) -in newbb/class/permission.php -4- bug fix: load user ranks has been hardcoded. it works in old/upgraded websites but not works in new installed websites. a new getting rank introduced. (black_beard/irmtfan) -in newbb/class/user.php, newbb/templates/newbb_thread.html -5- minor bug fix: mysql 5.1 was incorrectly needed (irmtfan) -in newbb/xoops_version.php -6- hardcode: some style.css color hardcodes has been removed. (irmtfan) -in newbb/templates/style.css -7- feature added: text links instead of buttons. (deka87/irmtfan) -in newbb/class/icon.php , newbb/include/functions.render.php , newbb/include/plugin.php \ No newline at end of file Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -10,9 +10,7 @@ * @package module::newbb */ -if (!defined("XOOPS_ROOT_PATH")) { - exit(); -} +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); class Category extends XoopsObject { Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -17,9 +17,7 @@ * @version $Id$ */ -if (!defined("XOOPS_ROOT_PATH")) { - exit(); -} +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); class Forum extends XoopsObject { Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -10,9 +10,7 @@ * @package module::newbb */ -if (!defined("XOOPS_ROOT_PATH")) { - exit(); -} +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); /** * Set forum image Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -10,9 +10,7 @@ * @package module::newbb */ -if (!defined("XOOPS_ROOT_PATH")) { - exit(); -} +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); /** * A handler for User moderation management Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php 2014-08-29 13:19:01 UTC (rev 12755) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php 2014-08-29 16:17:43 UTC (rev 12756) @@ -29,9 +29,7 @@ // Project: Article Project // // ... [truncated message content] |