dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on October 25, 2016, 11:17:37 AM

Title: Modify Posts At Anytime Permission
Post by: Chip on October 25, 2016, 11:17:37 AM
http://custom.simplemachines.org/mods/index.php?mod=4033

MPAAP - Modify Posts At Anytime Permission

- For SMF 2.0.x
- Fully using hook, no file modification.

1. Please do your own backup though every installation is backed up automatically.
2. By default, forum members are usually not allowed to modify their post after certain time.
3. This mod will allow user from group(s) with this permission to modify their post beyond that time.
4. Permission is on board basis and is assignable by forum admin at the permission page.

Intended for privileged/trusted members to freely edit their posts anytime.

Not installed or tested yet.
Title: Re: Modify Posts At Anytime Permission
Post by: Esoteric Anhydride on October 25, 2016, 11:52:23 AM
I think this is a good idea.

I never understood lil johnny and other admin's refusal to allow people to edit posts after 5 minutes -- sometimes people have very good reasons for wanting to change something they've posted.
Title: Re: Modify Posts At Anytime Permission
Post by: Chip on October 25, 2016, 12:17:43 PM
I have set one hour for most people but this is for you and the other trusted people.

Mu also can make good use of it.

I was about to spend hours figuring out how to code it and then the nice guys at Simple Machines gave me this. No file modifications, it just hooks in somehow ... the SMF logic is very complex but the guys have given me their debug tools so it's worth exploring.

http://wiki.simplemachines.org/smf/Integration_hooks

This is an educational experience for me as I delve deeper into php. I am blown away by the sophistication of this OO language - my background is in Assembler and this is the other extreme. I need to understand this.
... anyway...

I want people to be able to revise their posts but only certain people.

I'm glad you think it is of benefit.
Title: Re: Modify Posts At Anytime Permission
Post by: andrew on October 26, 2016, 01:17:24 AM
installed and permissions set for the SA_Chat+ membergroup.
Title: Re: Modify Posts At Anytime Permission
Post by: Jega on October 26, 2016, 05:12:06 AM
Not only do I think it is of benefit but I love this idea!

I agree in saying I never understood johnny's short time thing and all thing time I came back and reread a post and wanted to make spelling change or little change and never could.
SimplePortal 2.3.6 © 2008-2014, SimplePortal