[2.0.10] Disallow editing replied posts

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
10
56%
Very Good
3
17%
Good
4
22%
Fair
1
6%
Poor
0
No votes
 
Total votes: 18

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28936
Joined: Sat Aug 16, 2003 7:36 am

[2.0.10] Disallow editing replied posts

Post by Extensions Robot »

MOD Name: Disallow editing replied posts
Author: markus_petrux
MOD Description: Disallows editing replied posts, except for Admins and Moderators.

MOD Version: 1.0.0

Download File: disallow_editing_replied_posts_mod_1_0_0.zip
mods overview page: View
File Size: 1058 Bytes

Security Score:
Last edited by Extensions Robot on Mon Apr 30, 2007 12:28 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Validated/Released

Notes:
With this MOD, when new reply are made to a topic, authors (except admin and moderator) cannot edit their earlier replies.
Regnbue
Registered User
Posts: 2
Joined: Tue Sep 14, 2004 2:26 am

Post by Regnbue »

Just what I've been loking for :)

Thank you phpBB Mod crew.

Just about to request it, but I suppose someone beat me to it.
Works like a charm too.
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Notes:

If you are using the User Class MOD, try looking at this:
http://www.phpbb.com/phpBB/viewtopic.ph ... 00#2166200



Original post follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks, ycl6. Your job is much appreciated. :)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This MOD was requested by Jacobus here:
http://www.phpbb.com/phpBB/viewtopic.php?t=223802

However, it might be of interest for someone else. So, I did it. :)
Last edited by markus_petrux on Mon Jun 05, 2006 6:58 pm, edited 2 times in total.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Regnbue: Glad you find it useful. :)


.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
User avatar
electronikus
Registered User
Posts: 102
Joined: Tue May 18, 2004 11:41 am

Post by electronikus »

Thanks, works great!
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Your welcome.

Feedback is always appreciated. :)
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
Claudio Trendo
Registered User
Posts: 21
Joined: Wed Jan 14, 2004 1:32 pm
Location: São Paulo - Brasil
Contact:

Post by Claudio Trendo »

Hello,

Sorry my bad english. :oops:

As it said functioned without problems, to put when the user is not defined as moderator but is part of a group who is moderator, this user does not obtain to edit the topic.

Thanks.
[]s
Claudio Trendo
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Indeed, this MOD does a really simple check for moderators. It's based on the user_level field of the phpbb_users table.

I believe (but I'm not completely sure atm), this field is set to 2 when the user is set as moderator for one or more forums, but NOT if the user is connected to a moderator group. I should investigate this further, though.

If there are enough requests it might be a good reason to enhance this MOD in that direction.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
Claudio Trendo
Registered User
Posts: 21
Joined: Wed Jan 14, 2004 1:32 pm
Location: São Paulo - Brasil
Contact:

Post by Claudio Trendo »

Hello markus_petrux,

I understand.

It is that I have some users who are not moderators of sections specifically. E I formed moderator teams of sections that gostuman to be invisible.

I understand that the necessity does not exist to change mod without some order, to put would be possible that you it sent me this alteration?

I do not understand very of programming.

Thanks so much
[]s
Claudio Trendo
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Post by stickerboy »

looks like a great MOD markus. but I have a small question/request :lol:
is it possible to make this definable by forums? i.e. only have certain forums where you can't edit after a reply is made?

I would like to see if this is possible. no sweat if it's not. :wink:
I have not yet added your mod, so I will wait and see what can/can't be done :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

cherokee red wrote: is it possible to make this definable by forums? i.e. only have certain forums where you can't edit after a reply is made?

If I have the time, I'll try to figure out how to extend the forum permissions with a new setting for this feature. ie. something like:

VIEW - READ - POST - REPLY - EDIT - EDIT REPLIED - DELETE ...

Also, with support for the Forum Permissions List MOD. That would be the ideal solution for everyone, I believe.

Please, bump this topic if time passes, though. I'm currently busy...
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
Muas
Registered User
Posts: 124
Joined: Wed Sep 17, 2003 7:57 pm

Post by Muas »

Great MOD! It'll definetly be helpful. Is there a way I can modify this MOD to allow users to add text to a post while restricting them from editing the past text?
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Muas wrote: It'll definetly be helpful.

Well, definetively on queue. 8)
Muas wrote: Is there a way I can modify this MOD to allow users to add text to a post while restricting them from editing the past text?

I believe, there's another MOD somewhere with that functionallity. It might be interesting to merge both features in a single MOD. Anyone have a pointer for this at hand?
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Post by stickerboy »

markus_petrux wrote:
cherokee red wrote:is it possible to make this definable by forums? i.e. only have certain forums where you can't edit after a reply is made?

If I have the time, I'll try to figure out how to extend the forum permissions with a new setting for this feature. ie. something like:

VIEW - READ - POST - REPLY - EDIT - EDIT REPLIED - DELETE ...

Also, with support for the Forum Permissions List MOD. That would be the ideal solution for everyone, I believe.

Please, bump this topic if time passes, though. I'm currently busy...

Great thanks, i'll keep an eye on this topic then :)
as I said, no rush :wink:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Post Reply

Return to “[2.0.x] MOD Database Cleanup”