Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-24 12:18:20

cmontague
New Member
From: Oxford, England
Registered: 2008-11-24
Posts: 4
Website

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

#2 2008-11-24 13:08:04

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

#3 2008-11-24 13:10:41

cmontague
New Member
From: Oxford, England
Registered: 2008-11-24
Posts: 4
Website

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

#4 2008-11-24 14:13:42

cmontague
New Member
From: Oxford, England
Registered: 2008-11-24
Posts: 4
Website

Re: Restrict authors to posting in a particular section

oh, sorry, email address might help!! It’s clinton@slightlymore.co.uk :)

Offline

#5 2008-11-24 16:07:04

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

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

#6 2008-11-24 16:49:34

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#8 2008-11-25 10:17:43

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

Re: Restrict authors to posting in a particular section

Could do with that here too!

Offline

#9 2008-11-25 19:36:41

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

#10 2008-11-26 14:54:01

cmontague
New Member
From: Oxford, England
Registered: 2008-11-24
Posts: 4
Website

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

#11 2010-06-12 05:36:29

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

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

#12 2010-06-12 06:28:38

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,251
Website GitHub Mastodon Twitter

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.

  1. specify the section you want for your writers and check “Selected by default” in the sections tab
  2. 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

Board footer

Powered by FluxBB