Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Restrict authors to posting in a particular section
Hi
I am creating a website where I would like an author to only be allowed to post new articles in only one section. Are there any plugins which already provide this functionality? I’ve had a look on http://textpattern.org/ but couldn’t find anything of use.
Thanks,
Clinton
Offline
Re: Restrict authors to posting in a particular section
I’ve built a plugin for this. It lacks an interface where you can assign people to sections but if you’re not afraid of editing the plugins code, it’s perfectly useable. :)
Let me know and I’ll send you a copy.
Offline
Re: Restrict authors to posting in a particular section
Hi
Yes, that would be perfect! I’m perfectly happy modifying plugins so that would be brilliant!
Offline
Re: Restrict authors to posting in a particular section
oh, sorry, email address might help!! It’s clinton@slightlymore.co.uk :)
Offline
Re: Restrict authors to posting in a particular section
Hi Sven,
Can I have a copy too? Although I’ve never messed behind-the-scenes with plugins before…
Offline
Re: Restrict authors to posting in a particular section
Post that puppy. Sounds like a goodie.
Offline
#7 2008-11-24 20:42:26
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Restrict authors to posting in a particular section
Seriously sounds great.
Kevin
(graphicpush)
Offline
Re: Restrict authors to posting in a particular section
Could do with that here too!
Offline
Re: Restrict authors to posting in a particular section
DISCLAIMER: I’m not a plugin developer and I’ve hacked this together real quick. Still, it suits my specific needs just fine. It certainly isn’t very safe as it solely relies on hiding the various options in the section and category select from the user via JS. Also, it needs a lot of editing in the plugin’s code as there is no interface. Last but not least, jquery.selectboxes plugin is required.
Having that said, here you go: see_restrict_v0.1
Last edited by sthmtc (2008-11-25 19:38:01)
Offline
Re: Restrict authors to posting in a particular section
Brilliant, thanks Sven. A few tweeks and this is just what I’m after! I hope that the other people also find it useful
Offline
Re: Restrict authors to posting in a particular section
I totally have no idea how plugins are written, am just a front-end guy. I have a similar need for restricting authors to particular sections only. Anybody has the plugin that doesn’t require any modification in the code?
Cheers,
Husain
Offline
Re: Restrict authors to posting in a particular section
I know i enter this late but ied_hide_in_admin could indirectly do the job.
- specify the section you want for your writers and check “Selected by default” in the sections tab
- use ied_hide_in_admin to hide the sections in the write tab for users with particular privileges.
caveat: Not sure if the plugin still works
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline