Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-12-17 18:17:09
- _n
- Member
- Registered: 2005-07-13
- Posts: 44
multiple user question...
Hi,
I’m looking for some possible resources and I thought maybe this forum might provide me with some good advice or links. I know its possible to set up multiple users with different privelages on textpattern. I was wondering if its possible to set it up so that one user can only see / edit articles and content associated with one particular section.
Here’s what I’m doing just for some context, its a webcomic site, but there are different comics hosted, so each creator wants to manage their own area (to a degree) but still have collective blogging abilities for things like news, podcasts etc. I’ve already set that up, but I’d like it so that when each of them logs in they don’t have to sift through all the sections and categories for images / articles / some css management etc.
I’m looking through some other textpattern resource sites, but if anyone can point me to something helpful i would really appreciate it.
Thanks!
Nadine.
Offline
Re: multiple user question...
It’s not limiting authors to a particular section, and it’s also not part of the standard installation but… there is a modification* to the core files that allows a logged-in author to view only their own articles, images etc. You can use that to in effect, give each author their own blog. The main admin can still see all the files. If you set up your site with a section per author, then each author has their own showcase section. They can still post to other sections, such as a ‘communally’ used section.
Here’s the thread with patch to a slightly older version of txp.
*modification means unsupported and not so easy to update but otherwise functionality is unaffected.
TXP Builders – finely-crafted code, design and txp
Offline
#3 2007-12-18 16:46:39
- spacewalk
- Member
- Registered: 2007-12-18
- Posts: 11
Re: multiple user question...
This sounds like it may also be the only answer to a noob question I was just about to ask:
I want each user on my site to log-in and see a listing of file downloads intended only for them (large PDFs of private design work done for clients of the business).
Would this hack indeed be the best way to accomplish this? Or is there a way to restrict specific file downloads to a specific user without modifying TXP core?
For reference, the only possible non-hack solution I have found in these forums is here.
Thanks very much.
jakob wrote:
It’s not limiting authors to a particular section, and it’s also not part of the standard installation but… there is a modification* to the core files that allows a logged-in author to view only their own articles, images etc. You can use that to in effect, give each author their own blog. The main admin can still see all the files. If you set up your site with a section per author, then each author has their own showcase section. They can still post to other sections, such as a ‘communally’ used section.
Here’s the thread with patch to a slightly older version of txp.
*modification means unsupported and not so easy to update but otherwise functionality is unaffected.
Last edited by spacewalk (2007-12-18 16:54:33)
Offline
Re: multiple user question...
spacewalk: no, I think in your case you want give clients access to your files, rather than that they can present themselves, or their work, through your site. I think in your case the ign_password_protect method that you linked to is better.
TXP Builders – finely-crafted code, design and txp
Offline
#5 2007-12-18 22:09:46
- spacewalk
- Member
- Registered: 2007-12-18
- Posts: 11
Re: multiple user question...
Yes, your summary of my situation is correct: the clients download only, not post. Very good. Thanks for the response.
jakob wrote:
spacewalk: no, I think in your case you want give clients access to your files, rather than that they can present themselves, or their work, through your site. I think in your case the ign_password_protect method that you linked to is better.
Offline
Re: multiple user question...
@ _n:
It’s very crude but if security isn’t an issue you could do what the textpattern.org site does and add a link at the top of the list of articles that performs a search based on the logged-in user’s name.
e.g. go to the Articles tab, select Author from the search dropdown and type in an author. Hit ‘Go’ and look at the address bar. If you can somehow add &step=list&search_method=author&crit=authorNameGoesHere
or inject said link into the top of the page (depends how dirty you want to get in terms of coding, but jQuery can help with that) then it might be a quick and dirty solution for you.
Someone must have done it for the textpattern.org site. Dunno who though, sorry.
Last edited by Bloke (2007-12-18 22:12:54)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#7 2007-12-20 00:52:31
- _n
- Member
- Registered: 2005-07-13
- Posts: 44
Re: multiple user question...
Hmm. OK I will look at these two solutions and see if they work out.
Thanks for the posts. :)
There wouldn’t happen to be just a plugin that does what the mod does would there?
Offline
Pages: 1