Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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,331
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
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,373
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.
- fixes error messages in server log
- 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,373
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
- Registered: 2004-10-01
- Posts: 752
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
#41 2011-06-30 07:58:06
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
jpdupont wrote:
with TXP 4.1.1, on tab “article”, impossible to insert a note.
Message :get_off_my_lawn: article, create
I haven’t been able to test adi_* with the new TXP “Fort Knox” yet. On hols until end of July, so will look into it then.
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi.
Seems French Textpack translation isn’t complete.
Here is a new one:
$adi_notes_gtxt = array( 'adi_add_note' => 'Ajouter une note', 'adi_add_private_note' => 'Ajouter une note privée', 'adi_add_public_note' => 'Ajouter une note publique', 'adi_convert_textile' => 'Convertir en Textile', 'adi_custom' => 'Personnalisé', 'adi_display_convert_option' => 'Afficher les options de convertion Textile', 'adi_edit_private_note' => 'Editer la note privéé', 'adi_edit_public_note' => 'Editer la note publique', 'adi_footer' => 'Footer', 'adi_header' => 'Header', 'adi_install_fail' => 'Installation impossible', 'adi_installed' => 'Installé', 'adi_minimal' => 'Minimal', 'adi_not_installed' => 'Non installé', 'adi_note_delete_fail' => 'Impossible de supprimer cette note', 'adi_note_deleted' => 'Note supprimée', 'adi_note_editing_private' => 'Edition de la note privée', 'adi_note_editing_public' => 'Edition de la note publique', 'adi_note_markup' => 'Editeur', 'adi_note_public_edit_privs' => 'Privilèges associés à l\'édition de la note publique', 'adi_note_save_fail' => 'Impossible de sauvegarder la note', 'adi_note_saved' => 'Note sauvegardée', 'adi_note_tabs' => 'Onglet Note', 'adi_notes' => 'Notes', 'adi_nothing_to_do' => 'Rien à effectuer', 'adi_position' => 'Position', 'adi_pref_update_fail' => 'Echec de mise à jour des préférences', 'adi_red' => 'Rouge', 'adi_textpack_fail' => 'Echec d\'installation du pack de langue', 'adi_textpack_feedback' => 'Textpack feedback', 'adi_textpack_online' => 'Textpack est également disponible en ligne', 'adi_tiny_mce_dir_path' => 'Chemin du dossier TinyMCE', 'adi_tiny_mce_hak' => 'TinyMCE (hak_tinymce)', 'adi_tiny_mce_javascript' =>'TinyMCE (Javascript)', 'adi_tiny_mce_jquery' => 'TinyMCE (jQuery)', 'adi_uninstall' => 'Désinstaller', 'adi_uninstall_fail' => 'Impossible de désinstaller', 'adi_uninstalled' => 'Désinstallé', 'adi_update_prefs' => 'Mettre à jour les préférences', 'adi_upgrade_fail' => 'Impossible de mettre à jour', 'adi_upgrade_required' => 'Mise à jour requise', 'adi_upgraded' => 'Mis à jour', 'adi_width' => 'Largeur', 'adi_yellow' => 'Jaune', ); # --- END PLUGIN TEXTPACK ---
Cheers,
Last edited by Pat64 (2011-06-30 09:51:48)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#43 2011-06-30 16:18:43
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Merci beaucoup.
Offline
#44 2011-08-02 10:01:15
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Offline
#45 2011-08-02 12:41:35
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: adi_notes - leave notes for Textpattern users
Thanks Adi !
Offline