[ABD] Override Post Edit Time Limit in a forum 0.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Galaxy21
Registered User
Posts: 111
Joined: Mon Aug 13, 2007 12:03 am
Location: Dresden, Deutschland
Contact:

[ABD] Override Post Edit Time Limit in a forum 0.0.1

Post by Galaxy21 » Fri Jun 19, 2009 8:57 pm

Modification Name: Override Post Edit Time Limit in a forum
Author: Galaxy 21

Modification Description: This mod gives you the option to override the boardwide edit time limit on a per forum basis. This allows you to limit the edit time on your board but still have certain forums, where users can always edit their posts (e.g. introduction or meeting forums). You can also use it vice versa to allow editing on most forums and only have certain forums limited by the board setting "edit time limit".

Modification Version: 0.0.1

Translations: German included

Screenshot:
Image

Modification Download: forum_allow_edit_0.0.1.zip

I'd appreciate some feedback for this mod. ;)

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by azzurri » Mon Jan 25, 2010 9:30 pm

I have just installed this. Installation went fine. Now I have to evaluate it.

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by azzurri » Mon Jan 25, 2010 10:54 pm

Works like a charm. Thank you! I see you got no credit or comments so I'll let you know this is a very good mod that does the job!

updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by updown » Tue Jan 26, 2010 1:08 am

Thanks for this MOD - I won't need it right now, but definitely in the future

whocarez
Registered User
Posts: 139
Joined: Sat Apr 18, 2009 9:19 pm

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by whocarez » Thu Apr 15, 2010 12:04 pm

In 3.0.7pl1 it doesn´t work for me.

viewtopic.php

Code: Select all

'U_EDIT'			=> (!$user->data['is_registered']) ? '' : ((($user->data['user_id'] == $poster_id && $auth->acl_get('f_edit', $forum_id) && ($row['post_time'] > time() - ($config['edit_time'] * 60) || !$config['edit_time'])) || $auth->acl_get('m_edit', $forum_id)) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f=$forum_id&p={$row['post_id']}") : ''),
changed a little bit, but also after editing the right line in viewtopic.php

Code: Select all

($row['post_time'] > time() - ($config['edit_time'] * 60) || !$config['edit_time'])
it is not possible for users to edit their posts beside the board limit. "forum_allow_edit" is set and I already cleared all caches, including xcache.
Where to look?

bobbobagan
Registered User
Posts: 13
Joined: Fri Aug 14, 2009 4:50 pm
Location: Malaysia

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by bobbobagan » Mon Jun 07, 2010 8:25 am

Seems to be working fine for me on phpBB 3.0.7-PL1

dukof
Registered User
Posts: 17
Joined: Sat Dec 19, 2009 8:21 am

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by dukof » Mon Jun 28, 2010 5:34 am

Could anyone help how to restrict this to allow editing of only first post in any topic? It would be really great if that was also an option in the forum settings, that edit would be for either all or first post only..

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: [DEV] Override Post Edit Time Limit in a forum 0.0.1

Post by superj707 » Sun Oct 31, 2010 5:25 pm

dukof wrote:Could anyone help how to restrict this to allow editing of only first post in any topic? It would be really great if that was also an option in the forum settings, that edit would be for either all or first post only..

I would like this also. please

User avatar
Derky
Development Team Member
Development Team Member
Posts: 4800
Joined: Sun Apr 10, 2005 9:58 am
Location: Netherlands
Contact:

Re: [ABD] Override Post Edit Time Limit in a forum 0.0.1

Post by Derky » Wed Nov 03, 2010 8:29 pm

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Thank you,
The phpBB Modifications Team

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: No registered users and 18 guests