Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-09-21 04:39:52

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

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

#32 2009-09-21 13:17:50

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#33 2009-09-21 22:10:56

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

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

#34 2009-09-21 22:52:18

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: adi_notes - leave notes for Textpattern users

Thanks, Adi.
It seems to have worked like a charm!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#35 2010-11-01 12:09:44

Gallex
Member
Registered: 2006-10-08
Posts: 1,109

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,225
Website

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

#37 2010-11-09 18:34:10

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 581
Website

Re: adi_notes - leave notes for Textpattern users

Adi,

Elsewhere you mentioned adding the capability to append notes to the Variables tab via this plugin — do you still intend to do so? This would be a great way to help my clients understand what different values are acceptable, and what they do.

Offline

#38 2010-11-11 22:06:19

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

Re: adi_notes - leave notes for Textpattern users

maruchan wrote:

Elsewhere you mentioned adding the capability to append notes to the Variables tab via this plugin — do you still intend to do so?

Done.

Version 1.0.2:

  1. fixes error messages in server log
  2. footnotes now available for adi_variables, adi_menu & adi_prefs tabs

Offline

#39 2011-05-24 06:48:59

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

Re: adi_notes - leave notes for Textpattern users

It’s been a long time, but version 1.1 is now available:

  • admin: moved install/uninstall etc to plugin options
  • embedded notes at top or bottom of page
  • embedded notes now available on all TXP admin pages
  • note tab for Home/Start tab
  • Textpack
  • TinyMCE support
  • new options: custom note style, note width, note edit privs
  • change: default note width now 900px (was 90%)

See post #1 for download/install/upgrade instructions.

Offline

#40 2011-06-30 06:32:55

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 752
Website

Re: adi_notes - leave notes for Textpattern users

Hello Adi,

with TXP 4.1.1, on tab “article”, impossible to insert a note.
Message : get_off_my_lawn: article, create

Offline

Board footer

Powered by FluxBB