Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: InebriatedChaos - heinäkuu 24, 2014, 03:02:34 IP

Otsikko: Change what happens when a board is moved
Kirjoitti: InebriatedChaos - heinäkuu 24, 2014, 03:02:34 IP
I was wondering if there was a way to change permission on a board when it is moved from one board to another.

Example;
I have an archive on my forum, I dont delete anything, which I move all all posts to when they get old or out of hand. Is there a way to change the post so when it gets moved that it de-stickies or/and unlocks it once its moved?

I know the permissions them selves dont need to be changed, I have configure permissions on the board its moving to already.

Thanks in advance
Otsikko: Re: Change what happens when a board is moved
Kirjoitti: Justyne - heinäkuu 24, 2014, 03:09:29 IP
I am struggling to follow this.

You want to unlock and de-sticky when topics are removed from the archive and restored to a different location on the forum?

What has that to do with permissions?
Otsikko: Re: Change what happens when a board is moved
Kirjoitti: InebriatedChaos - heinäkuu 24, 2014, 06:21:44 IP
Maybe permissions isnt the best word. When I move locked posts or old posts into the Archive, I would like it to automatically unlock the post once its placed into the Archive.
Otsikko: Re: Change what happens when a board is moved
Kirjoitti: mashby - heinäkuu 24, 2014, 10:10:16 IP
Why unlock it if it's going to the Archives? Is your Archives board set to read-only thus locked anyway?
Otsikko: Re: Change what happens when a board is moved
Kirjoitti: Kindred - heinäkuu 24, 2014, 10:13:55 IP
And no, there is no simple way to do that..