Soft Delete

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Post by EXreaction » Sun Mar 09, 2008 3:36 am

Soft delete does not edit there. That is the location where the quick reply should be.

jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: Soft Delete

Post by jmjm003 » Sun Mar 09, 2008 6:32 am

Thanks EXreaction for ruling your mod out..
My problem is now solved. (I think)
No matter how much I test there are always bugs that will get by me. It doesn't help when you find them 6 mods later.

jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: Soft Delete

Post by jmjm003 » Sun Mar 09, 2008 4:03 pm

REMOVED - Not an issue

malcomxar
Registered User
Posts: 3
Joined: Wed Mar 19, 2008 7:35 am

Viewtopic.php

Post by malcomxar » Fri Mar 21, 2008 12:03 am

I keep getting this error after trying to see a topic (obviosuly :p)

Parse error: syntax error, unexpected T_STRING, expecting ')' in /www/*******/htdocs/viewtopic.php on line 925

I believe the problem must be about here

Code: Select all

FROM'		=> array(
		USERS_TABLE		=> 'u',
		POSTS_TABLE		=> 'p',
	),

	'LEFT_JOIN'	=> array(
		array(
			'FROM'	=> array(ZEBRA_TABLE => 'z'),
			'ON'	=> 'z.user_id = ' . $user->data['user_id'] . ' AND z.zebra_id = p.poster_id'
		)
	),

	'WHERE'		=> $db->sql_in_set('p.post_id', $post_list) . '
		. (($auth->acl_get('m_harddelete', $forum_id) || $auth->acl_get('m_delete', $forum_id)) ? '' : (($auth->acl_get('f_delete', $forum_id)) ? " AND (p.post_deleted = 0 OR p.post_deleted = {$user->data['user_id']})" : " AND p.post_deleted = 0"))
	AND u.user_id = p.poster_id'
));

$result = $db->sql_query($sql);

$now = getdate(time() + $user->timezone + $user->dst - date('Z'));

// Posts are stored in the $rowset array while $attach_list, $user_cache
// and the global bbcode_bitfield are built
while ($row = $db->sql_fetchrow($result))
{
	// Set max_post_time
	if ($row['post_time'] > $max_post_time)
	{
		$max_post_time = $row['post_time'];
	}
Probably this is the line

Code: Select all

. (($auth->acl_get('m_harddelete', $forum_id) || $auth->acl_get('m_delete', $forum_id)) ? '' : (($auth->acl_get('f_delete', $forum_id)) ? " AND (p.post_deleted = 0 OR p.post_deleted = {$user->data['user_id']})" : " AND p.post_deleted = 0"))
Can you check it for me plz?
I can't find the error :(

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Post by EXreaction » Fri Mar 21, 2008 12:46 am

Reload your backup file and try to reinstall the mod again on that file.

As I said in my first post:
I will no longer be giving support for this mod at phpbb.com or any site other than http://www.lithiumstudios.org

User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Soft Delete

Post by A_Jelly_Doughnut » Thu Apr 03, 2008 2:08 pm

MOD Updated to version 1.0.10
See first post for Download Link
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25318
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Soft Delete

Post by Paul » Sat Apr 05, 2008 11:08 am

EXreaction: Does it log when you soft delete, or unsoftedelete a message?
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Post by EXreaction » Sat Apr 05, 2008 3:18 pm

Yes, it adds a moderator log for it if the poster is not the same as the deleter/poster is not the same as the un-deleter.

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25318
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Soft Delete

Post by Paul » Sat Apr 05, 2008 4:06 pm

Ah, ookay. That was the reason why it wasnt in my logs :mrgreen:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25318
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Soft Delete

Post by Paul » Wed Apr 09, 2008 6:17 pm

MOD Updated to version 1.0.11
See first post for Download Link
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

p858snake
Registered User
Posts: 10
Joined: Wed Mar 12, 2008 5:20 am
Location: Queensland (Australia)

Re: Soft Delete

Post by p858snake » Fri Apr 11, 2008 6:36 am

I might of missed this whilst reading in the but when a thread is soft deleted is it just hidden from users in the same forum or does it move it to a special "rubbish bin" forum

User avatar
primehalo
Former Team Member
Posts: 2828
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Soft Delete

Post by primehalo » Fri Apr 11, 2008 8:49 am

p858snake wrote:I might of missed this whilst reading in the but when a thread is soft deleted is it just hidden from users in the same forum or does it move it to a special "rubbish bin" forum
It keeps it in place, hiding it from users.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
FaresNB
Registered User
Posts: 271
Joined: Tue May 22, 2007 11:50 am
Location: Syria
Name: Fares Alnaeb
Contact:

Re: Soft Delete

Post by FaresNB » Wed Apr 16, 2008 7:36 pm

Thank you for the great Mod

I can soft delete posts and topics
and I can Undelete posts and topics

But I didn't finde out how to delete posts permanently .... i.e hard delete :(

IS THERE ANYTHING in ACP to look on ?

or MCP .... ??? :?

User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Soft Delete

Post by A_Jelly_Doughnut » Mon Apr 21, 2008 11:15 pm

MOD Updated to version 1.0.12
See first post for Download Link
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish

Silverdown
Registered User
Posts: 176
Joined: Thu Jun 08, 2006 6:31 pm
Location: USA

Re: Soft Delete

Post by Silverdown » Sat Apr 26, 2008 1:08 pm

Sweet IM gonna update :D

*edit*
Updated from 1.0.6 (yes never new about 8-11) went successfully , Thank you EXreaction for a nice modification! :)
My Extentions: None
PHPBB Fan since: 2.0.6 Version Using: phpBB 3.2.3
Dev Version Using: phpBB 3.2.3

Locked

Return to “[3.0.x] MOD Database Releases”