Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-09 15:42:37

Plaz
Member
From: Minnesota
Registered: 2004-06-02
Posts: 33

Display only users own posts in admin area?

I would like to set up the back end admin area of textpattern to display only each users own articles. I am putting together a site that will have many users that don’t need to see what others are posting or the rest of the site’s content articles— and I would like to have each person see only the articles that they are in charge of.

I have searched the forums and FAQ and couldn’t find anything… although I could have sworn that I ran across this a few years back (when I wasn’t looking for it.)

Can someone point me to instructions on how to do this?

Thanks.


If you want something you have never had, then you must be willing to do something you have never done.

Offline

#2 2008-03-09 16:02:29

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Display only users own posts in admin area?

Put a copy of textpattern/include/txp_list.php in a plugin and hook that into the callback event that occurs before the normal txp_list.php is included. That way you can override the normal txp_list.php functionality.

Offline

#3 2008-03-09 16:20:05

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

Re: Display only users own posts in admin area?

ruud that sounds like it would open up for a lot of crazy things i’ve always wished for! i’ve requested such a plugin before… care to elaborate a bit further on how something like this would be done? or maybe take a shot at building it and put it up for ransom…? :)

Offline

#4 2008-03-09 16:20:54

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Display only users own posts in admin area?

ruud’s is the more elegant solution.

There is a hack modification to the core which adds author-only restrictions for images and files and makes sure that next/prev in the write tab also only work for the author’s own articles etc.


TXP Builders – finely-crafted code, design and txp

Offline

#5 2008-03-09 17:35:24

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Display only users own posts in admin area?

I wrote this plugin a while back.

Offline

#6 2008-03-09 23:59:33

Plaz
Member
From: Minnesota
Registered: 2004-06-02
Posts: 33

Re: Display only users own posts in admin area?

The plugin that variaas mentioned sounds great and is exactly what I am looking for. Variaas – are you using this or is anyone else out there using it that could comment on how well it works? I just want to be sure that it is stable- the post containing the plugin sounded a little unsure of it.

Thanks for the quick reply. If your solution works well it will be exactly what I need!


If you want something you have never had, then you must be willing to do something you have never done.

Offline

#7 2008-03-10 02:56:49

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Display only users own posts in admin area?

So I’m using it and it works great for me, and I’m more than willing to work with you if you have any issues.

Offline

Board footer

Powered by FluxBB