KJM Admin-merknader

Beskrivelse

Gi beskjed til dine WordPress-brukere uten problemer! Opprett, behandle og vis hyggelige, egendefinerte og avvisbare merknader til admin-brukere og besøkende.

KJM Admin-merknader hjelper deg kommunisere med dine nettstedbrukere og besøkende ved å tilby en komplett måte å behandle og vise hyggelige merknader på ditt nettsted og inne i WP-adminpanelet.

Egenskaper:

  • Opprett, behandle og vis til hyggelige, eventuelt avvisbare merknader til admin-brukere og besøkende.
  • Vis merknader på forsiden til besøkende.
  • Hver merknad kan gis utseende basert på de 4 (+1) innebygde WordPress-merknadene: info blå), skusess (grønn), advarsel )gul), feil (rød) + standard (grå).
  • Tilpass merknadsbakgrunn og tekstfarge.
  • Velg hvilke brukerroller du ønsker å vise eller sende merknad.
  • Merknader er avvisbare av brukeren, pr. bruker.
  • Tildel stikkord, kategori, forfatter og publiseringsdato til dine varsler.
  • Kortkoder: 3 hendige kortkoder er tilgjengelige som plassholdere i tittelen eller meldingskroppen: [kjm_website_domain], [kjm_display_name] og [kjm_admin_login].
  • Epost-varsling: Send varslene med epost til dine brukere. Send en kopi til administrator.
  • Planlagte publisering av merknader: Planlegg dine annonseringer på forhånd og publiser dem senere.
  • Du kan tilmed aktivere kommentarer til dine varsler for å gjøre dette til et system for samarbeid!
  • Lagre generell systeminformasjon sammen med hver merknad: WordPress-versjon, aktive utvidelser, tema og versjon, dattertema og versjon.

Skjermskudd

  • Merknader på forsiden med tilpassede farger.
  • Admin Notices backend display.
  • Side for innstillinger.
  • Side for å redigere merknad.
  • Side for oversikt av inneholdstype

Installasjon

  1. Upload kjm-admin-notices to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings -> KJM Admin Notices’ to review the available global options.
  4. Start creating your notices by going to ‘Manage KJM Admin Notices’ and have fun!

FAQ

Admin Notices don’t get sent by email?

First, make sure the ‘Send Email’ option is on. Same thing on your notice edit screen, make sure the ‘Send Email’ option is checked. Also make sure you checked relevant roles in ‘ Show Notice to Roles’. Since version 1.0.8, notices are sent on the first time the notice is published. You will see a big gray button in the ‘Sent’ column which shows to how many people the notice has been sent.

Hvordan bruke kortkoder

Det er for iden 3 forskjellige kortkoder tilgjengelige i KJM Admin-merknader.

  1. [kjm_website_domain] will be replaced with the base website domain name. Eg. ‘domain.com’. Can be used in title and content.
  2. [kjm_display_name] will be replaced with the user Display Name. Eg. ‘John Doe’. Can be used in title and content.
  3. [kjm_admin_login] will be replaced with the login URL to your website. Eg. ‘http://domain.com/wp-login.php’. Can be used in content only.
Are there some future improvements planned?
  • Angi dato og tid for automatisk tidsutløp av merknaden.
  • Add readmore management with JS in notices display. Eg : «Show More» toggle.
  • Add an AJAX notes system on notices (different plugin?).

Vurderinger

26. april, 2020
The whole idea behind this plugin is just very good. When notice is read by other logged in user they can dismiss it. Very flexible, using levels, with or without title, athor, date etc. May be sent as email may be front viewable, may even have comments, as a full custom post type. Well coded and maintained.
4. desember, 2018
This plugin truly deserves 5 out of 5 stars. You know those update notifications that plugins and wordpress serves on the admin panel? This plugin allows you to create your own! Perfect for an intranet or membership site. You can choose different colors, and also show different notifications by user role. Definitely a plugin I always hoped and dreamed for!
29. august, 2017
Just what I needed. I used this to embed a 'project color guide' at the top of admin pages for a client who likes to use off the wall clashing colors.
17. oktober, 2016
It does the job, it works as it should according to the description. If you're looking to send notices to other users on your site, this plugin will help you do exactly that.
Les alle 5 vurderinger

Bidragsytere og utviklere

“KJM Admin-merknader” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere

“KJM Admin-merknader” har blitt oversatt til 2 språk. Takk til oversetterne for deres bidrag.

Oversett “KJM Admin-merknader” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

2.0.1

New version 2.0.1 : Bugfixes, small improvements and new option to Hide Dismiss Button.

Better session management

  • Bugfix: prevent session to interfere with REST API and loopback requests. Thanks to @knutsp for his tips!
  • Enhancement : close session on login and logout.

Better handling of some metaboxes

  • Bugfix: Better handling of «Show Notices to Roles» checkboxes display;
  • Bugfix: Prevent custom fields values to be overrided on update when checkboxes
    are disabled. Thanks to @koullis for reporting the problem;

New feature : Hide Dismiss Button

  • Added option to hide the Dismiss Button. Note : If both Dismiss Link and
    Dismiss Button are hidden, then the Notice will not be dismissable by the user.
  • Better Edit Link positionning to prevent overlap when the Notice is small.

Others fixes

  • Fixed PHP Warning: _() expects exactly 1 parameter, 2 given in
    includes/class-kjm-admin-notices-shared.php on line 320.
  • Updated languages strings.

2.0.0

New version 2.0.0 : Front-end publishing and many new features!

New features and improvements

  • Ability to post notices on the public site
  • Selection of custom colors for notices background and text
  • Track views statistics
  • New status for archiving a notice
  • Alternative update system for beta releases

Languages

  • Support for rigth-to-left (RTL) languages
  • Addition of 3 languages: Arabic and two Indian languages

Interoperability

  • Compatibility list with supported plugins
  • Implementation of multiple WordPress hook filters

See this blog article for more details

1.1.12

[Beta Release] New version 1.1.12 : Bug fixes on the new Beta version.

  • Fixed PHP Warning: NOTICE: UNDEFINED INDEX: KJMNOTICE IN
    CLASS-KJM-ADMIN-NOTICES-PUBLIC.PHP ON LINE 236
  • Set variable $kjm_cookie only if $_COOKIE[‘kjmnotice’] is set.
  • Fixed JS Error TypeError: $(…).wpColorPicker is not a functionCode
    The ‘wp-color-picker’ library needs to be loaded before the script so I added
    it as a dependency.
  • Fixed PHP Warning: Declaration of Kjm_Admin_Notices_Admin should be compatible
    with Kjm_Plugin_Admin_Base_1_0 by adding parameter $hook to method
    enqueue_scripts($hook)

Specials thanks to Francisco for his work on this version!

1.1.11

[Beta Release] Beta version with many new features.

  • Frontend notice publication.
  • Custom color selection for notices.
  • Added options to exclude superadmin and/or notice author from views stats.
  • Added settings sections with supported plugins compatibility list;
  • Added compatibility code for plugin Archive Post Statuss;
  • Updated plugin-update-checker to the latest version.
  • Change in the class name used for plugin-update-checker.
  • Added Arabic and two India langs;
  • Added RTL support;
  • And many more! Full changelog will be added to the stable version.

1.0.10

Verified compatibility with WP 5.0.

  • Tested plugin with WordPress 5.0 intallation;
  • Fixed wrong action name preventing a link to the settings page to display on the plugins list page;
  • Changed a constant name.

1.0.9

Two bugs fixes, one styling issue and one bug on checkboxes introduced in version 1.0.7.

  • Improved custom fields save and update handling.
  • Fixed post meta new value was not taken in account when un-checked checkboxes.
  • Fixed some plugin styles that was not properly isolated.

1.0.8

Bug fixes for notice email sending and notice admin display.

  • Fixed Notice duplicate ID causing display error in some cases.
  • Fixed Send Email behavior, emails are now sent on the first save.
  • Fixed Send Email on planned publication.

*** Thanks to @koullis for pointing us the issues! ***

1.0.7

New EN and FR translations, bug fixes for auto-publish WP feature and email metabox display.

  • Fixed planned Notices was not displaying on auto-publish.
  • Fixed email metabox should not appear if send email plugin option is off.
  • Added English (US and CA) translations.
  • Added French (CA) translations.
  • Updated French translations.

*** Thanks to @koullis for pointing us the planned publication issue! ***

1.0.6

Improvements and bug fixes. Verified compatibility with WP 4.9

  • Added ability to define users roles or capability who are allowed to send notices.
  • Added a «Debug» metabox for debugging purposes.
  • Implement local-settings file loading.
  • Fixed Global Param «Child Theme» value.

1.0.5

Many small changes, improvements and bug fixes and verified compatibility with WP 4.7

  • Compatibility check test with WP 4.7.
  • Updated languages files. Replaced «Modify Notice» by «Edit Notice» in translation strings.
  • Only call save_metaboxes() method on kjm_notice CTP. Thanks to «Cesar» for reporting this bug 🙂
  • Prevent a PHP Strict Standards message to display.

1.0.4

  • Corrected typos in README.txt file.
  • Moved away extra code not intended for this plugin in an external file.
  • Versionned admin base class to prevent conflits between plugins.
  • Removed unused files and deactivated some unused code.

1.0.3

  • Added an alternate updater to update from custom servers instead of WP.
  • Removed local settings data.

1.0.2

Added possibility to customize display of notices, hardened security, and a lot of new features.

  • Only display notices to those in the targeted roles.
  • Allow hiding title, metas and dismiss link.
  • Updated languages strings. Added language strings to .pot file. Added FR traduction.
  • Only send notice to selected user roles.
  • Added option to allow Comments system on Notices CPT.
  • Added metabox to display global application params : WP version, active plugins, themes.
  • Added checkbox on CPT to allow sending a copy to admin email.
  • Added «Manage KJM Admin Notices» in the plugin options page.
  • Force Notice CPT to be in Private mode (for comments to be private too).
  • Added metaboxes and function to manage roles to send / display notices.
  • Enhancement of the get_items() admin base method.
  • Added filter «kjm_plugin_admin_base_get_items» to allow external modification.
  • Cleaning in class-kjm-plugin-admin-base.php
  • Do not display «Manage KJM Admin Notices» if CPT isn’t activated.
  • Js for «show to all / none» toggling in admin edit CPT screen.
  • Corrected bugs in send_email_notice() function.
  • Reinitialize variables $to, $subject and $body to prevent reuse of data.
  • Added role «none» to exclude from emailing notices.
  • Added nonces to securize requests. Done on options page and AJAX calls.
  • Added an upgrade version automatic detection and process.

1.0.1

  • Fix : Dont send email notice to some users roles (subscriber, contributor, customer).

1.0.0

  • Initial release of kjm-admin-notices.
  • Refactorized to WordPress Plugin Boilerplate 3.0.