Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2005-05-28 15:08:09
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_public_notepad
Ok that’s actually good. I’m envisioning a two-tabbed interface (public/private), like that used on the article composition textarea, and a list (pulldown?) on each. There needs to also be an easy way to delete an article, so it might be more along the lines of the forms page.
Offline
Re: [archive] ajw_public_notepad
First, love this plugin. Thanks Andrew for your work on it.
Second, I’m running RC5 on a multi-author site, and the notepad is inaccessible (a “restricted area”) for everyone who doesn’t have Publisher-level privileges. I know the notepad should be as “available” as the tab it’s under, but RC5 seems to have broken something.
Any ideas? We use it primarily to leave notes for each other (nothing critical, in other words), but I’m not wild about making everyone a Publisher just for that.
Offline
#27 2005-08-13 15:05:36
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_public_notepad
I’m currently in Colorado without geek access, but I can check it out when I get back in town on Monday.
Offline
Re: [archive] ajw_public_notepad
It is probably because of this:
http://forum.textpattern.com/viewtopic.php?pid=64600#p64600
It’s just one line (per event) that has to be added: a call to add_privs(). See my post in the other thread.
Offline
#29 2005-08-22 04:40:29
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_public_notepad
Actually, doesn’t the privileges for the parent (top-level) tab trump whatever you set for the admin plugin? Even if I upped the permissions for the plugin by default, if the Extensions tab were set to only display for 1,2,3 – then whatever displays under that tab would also carry that restriction.
So for the time being you could get away with editing the source of the plugin so that the tab becomes a subtab of Content rather than Extensions. This is accomplished by just changing the line (about 7 lines down) from register_tab("extensions", "notepublic", "notepad");
to read register_tab("content", "notepublic", "notepad");
In the time being, I’m trying to come up with a solution for adding multiple notes and adding both public and private notes. This might take a while though; it’d be a lot easier if the register_page_extension()
functionality were complete in Textpattern, but I’ll see if there’s a way around it. For some reason this one’s been sorta taking me a while and I apologize. I’m just trying to not have to reinvent the wheel again once that functionality is added into the Txp core.
Offline
Re: [archive] ajw_public_notepad
Sounds good to me. I’m just glad this thing exists. Liked it as a hack, really like it as a plug-in.
One thing: Mine is already set to be subtab of Content. I don’t have an Extensions tab (which worries me a bit, but I’ll save that for another day). The notepad just always showed up as a subtab of Content.
Offline
#31 2005-08-23 01:57:15
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [archive] ajw_public_notepad
Yeah, I just noticed that myself on another site of mine that has the notepad installed. Sorry about that. For now, you can add the line add_privs('notepublic','1,2,3,4,5,6');
(or whatever permissions you choose to allow) on the line just preceding the register_tab line I just mentioned.
Offline
#32 2005-08-23 02:29:24
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: [archive] ajw_public_notepad
And just so you don’t feel like you’re going crazy – if none of the installed plugins create an admin interface under the extensions tab, it won’t be visible.
Then again, I don’t know if that has any bearing on whether you’re going going crazy.
And then my dog ate my badger, and the love was lost.
Offline
Re: [archive] ajw_public_notepad
That fix works, Andrew. Thanks.
Offline
Re: [archive] ajw_public_notepad
Thanks, this is useful even in its limited state.
Edit: Just a note though – it does not take advantage of the Time Zone admin setting – ie, it uses the server’s own setting, not the overridden version.
Last edited by NikLP (2006-06-01 12:26:55)
Offline
Re: [archive] ajw_public_notepad
Hi all.
Does this work safely in 4.0.4? :D
I mean, I have to create tables and all that stuff… I’m not afraid, but just taking some precautions :D
Thanks in advance.
Offline
Re: [archive] ajw_public_notepad
maniqui wrote:
Hi all.
Does this work safely in 4.0.4? :D
I mean, I have to create tables and all that stuff… I’m not afraid, but just taking some precautions :D
Thanks in advance.
a year late but works fine for me in 4.0.5 :)
Last edited by iblastoff (2007-12-31 11:50:37)
Offline