Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: adi_notes - leave notes for Textpattern users
Adi
I saw your email yesterday as I was flying in and out of my office. Today when I went to read and answer it, it was gone (Very strange — I even flagged it for a reply). Please feel free to resend it. Sorry for the inconvenience
Mike
Offline
#26 2009-05-12 00:03:39
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Version 1.0 released. See post #1 for details & download.
Please take note of the upgrade instructions. Take an independent copy of your notes before performing upgrade – just in case!
Some major enhancements:
- Footnotes – ability to add notes into all TXP admin pages
- Public/Private notes – public notes visible to all, private notes only for individual users
- “In situ” editing – no need to visit extensions tab to edit notes
Textpattern 4.0.9 dev users: I’m working on enhancements to adi_notes that’ll provide tooltips for edit fields – e.g. when you hover over a field name, such as Title or Body, a note will appear. If anyone wants to have a play with this then give me a shout.
Let me know how you get on.
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi. Like the enhancements. Very nice.
I have one minor problem. I am running with an SVN version of TXP.
Installing the latest version of your plug-in adds an “Option” option under the existing “Help” and “Edit” options on the plug-in listing page. When I click on this I get the following notice:-
Notice: Undefined variable: message in /home/content/l/e/v/levikensing/html/textpattern/lib/txplib_misc.php(580) : eval()’d code on line 308
Other than that it seems to be working just fine.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#28 2009-05-18 22:24:07
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
thebombsite wrote:
Hi Adi. Like the enhancements. Very nice.
Good, thanks.
I have one minor problem. I am running with an SVN version of TXP. Installing the latest version of your plug-in adds an “Option” option under the existing “Help” and “Edit” options on the plug-in listing page …
By “an SVN version” I assume you mean a dev version of 4.0.9? The plugin contains code to add the Options link but I haven’t quite figured out how to get it to put the admin stuff (install/uninstall) in Options for 4.0.9 and in Extensions for 4.0.8 & below. Software support excuse #27: “The error message is expected behaviour”. Sorry, I should’ve mentioned this in the upgrade instructions.
Offline
Re: adi_notes - leave notes for Textpattern users
OK no problem. As I mentioned the plug-in is working just fine, it’s only the new “Options” that seems to have a problem with that notice. I should mention that the “admin stuff” does appear when clicking on “Options” but with that notice at the top of the page and getting in the way it throws the page design out.
I’ll leave you to work on that. :)
Last edited by thebombsite (2009-05-19 08:48:00)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi,
do you have any quick hack to make the notes on “Notes” tab to be editable by any user?
Currently, plugin help says that they just can be edited by Admin users (and also stated in plugin help, it seems that an “admin” user, for adi_notes, it’s a user who has “publisher”, “manager” or “designer” privileges).
I’ve tried to fiddle the plugin code, but couldn’t find the way to extend the privileges to Staff Writers.
Thanks.
Offline
#31 2009-09-21 04:39:52
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
maniqui wrote:
do you have any quick hack to make the notes on “Notes” tab to be editable by any user?
Hi Julián. I’m sure I could probably find one. Could you confirm what versions of TXP & adi_notes you’re using?
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi,
thanks for the reply.
I’m using latest version of adi_notes on TXP 4.2.0.
Offline
#33 2009-09-21 22:10:56
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Julián,
The following line is near the top of the plugin code:
$admin_user = has_privs('tab.extensions');
change 'tab.extensions'
to be 'article.publish'
This’ll give Publishers, Managers, Copy Editors & Staff Writers sufficient privileges to edit the Notes tabs.
If you want to admit Designers into the edit club as well then use 'file'
.
I can’t really think why edit mode should be restricted to “Admin” users but perhaps it could be a configurable option in the future.
Cheers,
Adi
Offline
Re: adi_notes - leave notes for Textpattern users
Thanks, Adi.
It seems to have worked like a charm!
Offline
#35 2010-11-01 12:09:44
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,302
Re: adi_notes - leave notes for Textpattern users
after plugin installation i get this error:
Warning: BLOB/TEXT column 'note' can't have a default value CREATE TABLE IF NOT EXISTS adi_notes ( `id` INT(11) NOT NULL AUTO_INCREMENT, `name` VARCHAR(64) NOT NULL DEFAULT '', `type` VARCHAR(8) NOT NULL DEFAULT '', `user` VARCHAR(64) NULL DEFAULT '', `privs` VARCHAR(22) NOT NULL DEFAULT '1,2,3,4,5,6', `visible` TINYINT(1) NOT NULL DEFAULT '0', `last_mod` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `last_mod_user` VARCHAR(64) NOT NULL DEFAULT '', `note` TEXT NOT NULL DEFAULT '', PRIMARY KEY(id) ); in H:\HostingSpaces\EST282\kumei.ee\wwwroot\textpattern\lib\txplib_db.php on line 85Textpattern
webserver is ms-iis/7.0
Offline
#36 2010-11-06 23:09:02
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Hi Gallex,
Apologies for the delay in replying. It looks like there’s an inconsistency between MySQL on Windows & Linux – I found this.
However, the cause of the warning may well be due to the plugin anyway. I’ll look at it in a future release.
Am I right in thinking adi_notes still installed OK, despite the warning?
Offline