I'm sure it could be done, but to be honest it's not very likely. Right now I have a whole lot of other projects that must take precedence.DJ Skitzo wrote:Hello,primehalo wrote:Open includes/prime_trash_bin.php and change SHOW_PLACEHOLDER to false.
I have noticed that when you change SHOW_PLACEHOLDER to false within includes/prime_trash_bin.php, if you then have a whole page within a topic of deleted posts it still allows the user to visit that page number in the topic but then doesn't show any posts.
Is it possible to change this behaviour so that when they view the topic it only loads the results for the appropriate posts, therefor showing the correct pagination and post count?
Thanks
Perhaps you could try installing it manually.aleingang wrote:Anybody have any helpful ideas to help me out with the problems in the last post?
I have patience, take as long as you needprimehalo wrote:I'm sure it could be done, but to be honest it's not very likely. Right now I have a whole lot of other projects that must take precedence.DJ Skitzo wrote:Hello,primehalo wrote:Open includes/prime_trash_bin.php and change SHOW_PLACEHOLDER to false.
I have noticed that when you change SHOW_PLACEHOLDER to false within includes/prime_trash_bin.php, if you then have a whole page within a topic of deleted posts it still allows the user to visit that page number in the topic but then doesn't show any posts.
Is it possible to change this behaviour so that when they view the topic it only loads the results for the appropriate posts, therefor showing the correct pagination and post count?
Thanks
Code: Select all
if (!empty($row['topic_deleted_time']))
I don't know, I use the board's function to build that list of forums.wowfans wrote:Hi. Prime.
I installed your mod, it worked fine, but only one problem, Under General > Board Settings > Trash Bin Forum, when I click it, it would show all my forums, but I can't select anyone of those, I only can setup to "Don\'t use a trash bin" option, How I need to do more?
Thanks.
wowfans.
1. You mean all at once? No, nothing like that.animalitosweb wrote:Hello,
It's a great MOD for administrators.
I have a few questions:
1. The MOD have any option to see all post that were deleted?
2. The MOD have an option to send a post to Trash Bin?
I will appreciate any answer
Best Regards
Alfredo
Only topics can be set to delete to the trash bin forum. Posts remain inline where they are in the topic.Ephemeraboy wrote:does it only moves the topic to trashbin..??
not the post..??
i've tried deleted some post, but, it doesn't shown it trashbin
Code: Select all
<?php
/**
*
* @package phpBB3 Soft Delete Install
* @copyright (c) 2007 EXreaction, Lithium Studios
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
// Stuff required to work with phpBB3
define('IN_PHPBB', true);
$phpbb_root_path = ((isset($phpbb_root_path)) ? $phpbb_root_path : './');
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('common');
$user->add_lang('mods/soft_delete');
if ($user->data['user_type'] != USER_FOUNDER)
{
trigger_error('FOUNDER_ONLY');
}
include($phpbb_root_path . 'includes/db/db_tools.' . $phpEx);
include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
$auth_admin = new auth_admin();
$db_tool = new phpbb_db_tools($db);
$db_tool->sql_column_add(POSTS_TABLE, 'post_deleted', array('UINT', 0));
$db_tool->sql_column_add(POSTS_TABLE, 'post_deleted_time', array('TIMESTAMP', 0));
$db_tool->sql_column_add(TOPICS_TABLE, 'topic_deleted', array('UINT', 0));
$db_tool->sql_column_add(TOPICS_TABLE, 'topic_deleted_time', array('TIMESTAMP', 0));
$db_tool->sql_column_add(TOPICS_TABLE, 'topic_deleted_reply_count', array('UINT', 0));
$db_tool->sql_column_add(FORUMS_TABLE, 'forum_deleted_topic_count', array('UINT', 0));
$db_tool->sql_column_add(FORUMS_TABLE, 'forum_deleted_reply_count', array('UINT', 0));
$permissions = array(
'local' => array(
'm_harddelete',
),
'global' => array(
'm_harddelete',
)
);
$auth_admin->acl_add_option($permissions);
$cache->purge();
trigger_error('SOFT_DELETE_INSTALL_COMPLETE');
?>