Trying to import the exported JSON object but getting the following error:
[23-Nov-2021 17:51:19 UTC] PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /home/site/wp-content/plugins/client-documentation/client-documentation.php:830
It looks like you’re trying to json_decode on a PHP array instead of a string. Is there a fix for this?
The PHP related is:
$opt = $data[1]['data'];
foreach( $set as $st ){
if( !empty($opt[$st]) && $st == 'user_role' ) $this->settings[$st] = json_decode($opt[$st]);
elseif( !empty($opt[$st]) ) $this->settings[$st] = $opt[$st];
}
]]>
How to add images to Notes?
]]>It would be great if the code could be updated with a new version for compatibility with the current version of WP. It seems good still and is super simple, so likely doesn’t need much done to it but 2 years without an update makes WordFence complain about the plugin.
]]>Database table [prefix]wp_simpledocumentation
(wp_simpledocumentation
) is created without correct Collation/Characters encoding settings.
If my database is “latin” by default, then table will inherit DB all notes and saved texts will loose UTF-8 characters after saving! (e.g. ??��?��?��
symbols).
Please, update plugin with creating correct database table charset.
]]>EDIT2:
I’ve delete everything that I wrote before as the problem that I was having resolved on it’s own, except for this issue. When I enter “&” in the title, what comes out is “&”.
See the image:
]]>
Hello,
You might want to be careful storing the Simple Documentation table as a site option. I had to migrate a website from one environment to another, where the database prefixes were completely different.
Due to the plugin storing the Simple Documentation table, complete with the prefix, in the WordPress options table, the plugin kept trying to load data from a table that didn’t exist, and so aside from being unable to see all the content that migrated over, I was seeing database errors.
Old database table, probably from when this plugin was installed: wp_simpledocumentation
.
New table post-migration that this plugin couldn’t locate: local_simpledocumentation
.
I guess you probably have this logic in the client-documentation.php
file for compatibility as the plugin matured. But this turned out to be a problem during migration.
Thanks,
B
How do You change the language in the plugin?
]]>Hi,
This plugin looks like it could be really useful, however I’m wondering if there is a simpler way to install this plugin on multiple sites but with the same documentation?
The obvious way is to create the docs and export the settings, then manually import this in to ever site we need the docs on. Is there a quicker / better way? Could I somehow package this info with my own plugin and have that call the relevant function(s) to import the data? Or is it possible to have all the installed instanced pull the data from a central feed?
Thanks.
Phill
Hello,
your plugin looks good and I activated on the network. But it does not show on the admin of each website. Is there an extra step to be done?
thank you,
JB
Hello Mathieu,
I��ve a WooCommerce plugin. I��ve define some WooCommerce Role (custumer – shop vendor – shop manager �� ) and I can��t see your Documentation modul on my dashboard��
Do you have an idea about my problem ?
]]>Am I the only one having the following bug?
I create a new Simple Documentation item. I enter a title, attach a PDF document and save the item – no problem.
But when I try to edit the title later, I get an error message telling me that the file is missing. Since I only edit the title and want to keep the file that doesn’t make sense. The workaround is to re-attach the same file again, but then the link to the file in the WP dashboard reads “null”. You have to refresh the dashboard once more to bring the correct link text back.
Not a big deal, but still annoying.
]]>I know this is probably easy, but how is exporting accomplished.
I can see how importing is done, but when going to the export/import screen, there’s nothing in there to export.
Also, on the export screen, there’s a checkbox for “Include options ( if included, options will be overwritten ).”
What’s this for, and how can I use it to really screw things up? ??
Any hints?
]]>I realize that there is a separate screen for adding images in the latest version, which is cool, but I needed to combine images and text on the same screen. I’ve seen questions on this that were closed, so this is how I’ve done it.
1. Upload the image to use
2. Grab the url from the media library
3. In Simple Documentation, go to html mode and input a standard
<img class="aligncenter" src="https://your-domain.com/wp-content/uploads/2015/11/your-image.png" alt="" />
and add your text as needed.
Hope it helps.
]]>Very useful plugin for clients as well as techs who don’t have time to pour through code trying to remember what changes were made. (I wore my memory out years ago ??
Request: It would be even more helpful if the closing of a note wasn’t automatic, for those times when I’d like to copy part of a note. The way it works now, when you highlight a note to copy, it closes before copying can be accomplished. If set for admin, I realize I can just edit and copy from the edit screen, but if someone doesn’t have edit capabilities, it would be much easier if they had to manually “Close Note.”
Nothing major; just a suggestion.
]]>Just an fyi, there is a conflict between your plugin and the White Label CMS plugin.
When both are active, the edit pencil for Simple Documentation does nothing but open and close the panel. Will not open the editor.
As soon as I disabled WLC, Simple Documentation regained editing capabilities.
]]>Hi, i recently installed the plugin, and as far as i understand the only way we can display the help is with the use of the widget, apparently that is not shown in my install and is missing..
]]>Hey
I just downloaded your plugin and have to say that this looks really interesting!
A few thoughts…
To gain some money for your plugin you can add some nice thumbnail image ads in a grid right below the Information sidebar area inside the Documentation screen. Bluehost, SiteGround and other hosting companies might be interested in having an ad there. As it would give PR for beginner WP users a market they are likely very interested in.
Adding an image to a Note would be nice.
Adding the youtube url directly into the Visual content area would also be nice.
The dashboard Resources area shows up below the other dashboard areas. Having the option to remove some of the default Dashboard areas would be nice. Making it more visible. Perhaps even having the option to use the full width of the Dashboard area replacing the Welcome widget.
Btw check out these articles:
(I wrote this) https://easywebdesigntutorials.com/creating-a-custom-dashboard-widget/
https://markwilkinson.me/2015/03/using-the-wordpress-admin-for-lead-generation/
It shows ways in how to use the dashboard area.
Have a great day!
]]>Hello. I notice on my fresh and clean installation that whenever I go to edit an item, a backslash appears where ever I used ��quotation marks�� or an apostrophe in contractions (can��t, shouldn��t, etc.). If you do not manually clear those out, when you save the edit new backslashes will be added (presumably to escape out the backslashes that the plugin added in the first place. Is this a known issue?
]]>I would like to know if it is possible to add a screenshoot in a notes ? And how to do if it is ?
]]>Hi Matthieu
I am noticing something a bit weird and I am hoping you can help.
I have created 5 custom user roles in WordPress using the plugin User Role Editor.
The check boxes for all 5 roles are appearing ok in Simple Documentation edit screen.
However I can only link help topics to three of the roles.
There are two roles causing a problem. When I select their corresponding check boxes, simple documentation does not appear on their dashboard.
If there a vital permission required to get the Simple Documentation to show up on the Dashboard for users with these roles?
Let me know if this is not clear.
J
]]>Hey,
I really love the idea and how this plugin is setup! I would pay for it I guess if it works well. .. but honestly I had some big bugs using it:
– when I tried to change a title of a note in the documentation list, afterwards the whole note has disappeared.
– I added a note, somehow the content was not saved at all. Now when I go to “edit” and put the content in again it never saves it. Till now I am not able to put content into this new note.
I would be superhappy if you could fix that or give me infos how to fix it to be able to edit and safe notes. Moreover I would like to know more infos about what you wrote “for longer content use Links!” – when I want to add more content, I give which link? Make a post draft and link to that? That seems not to work because then the content is not displayed as its not published.
Thanks a lot!!
]]>Hi
This plugin is doing all the things I want but I can’t use it because it’s rendering the code like this
<a href="\"https://clickwp.com/\"">Click WP
</a>WordPress managed hosting on a provider like <a href="\"https://wpengine.com/\"">WP Engine
I wonder if there’s something amiss? I’m in the middle of redoing the whole documentation list becuase the links aren’t working due to the issue above, but I’d prefer to keep using your plugin rather than go through it all over again with someone else’s.
]]>Hi
Great plugin, its badly needed.
If I create a note and check the Author checkbox under “Limit to user role” option.
The note is still available to all roles.
I assumed that if you click on Author under “Limit to user role”, only the a user with the Author role could see that particular note.
Is this correct?
John
]]>Hi everyone,
I’m currently working on the version 1.2.
This future release will include a little bit of a redesign.
I get rid of the modal which don’t fit for every device.
Otherwise Drag & Drop and User role restriction will be part of the new features as I say in the plugin description.
As this topic is open, let me know if there is any issue or new feature you will be keen to see on the upcoming release.
You can be part of the new release by testing the alpha version and edit the translations files, add new languages or report me any specific issue you got.
This alpha version is not ready yet but I keep working on it.
I want this release to be a good quality one. There is nothing more annoying than updating a plugin thousand of time before being truly stable.
Mathieu.
]]>Hey there
Love this plugin! Will be using this extensively. I have this network activated and it is completely working except for one minor detail. When I “edit settings” and change the title from “Welcome” to something else the changes do not appear on sub sites.
The Network Admin dashboard does see the changes I made to “Welcome here is all the help you need” But on sub sites the default plugin text still shows up. Clearing cache didn’t help either. Any ideas? Thanks!
Mike
]]>All of the editing containers popup in a lightbox. Since you have forced dimensions for the container, text and most importantly buttons get pushed down and are not accessible to users. Even Settings box buttons don’t fit properly in the preset container.
]]>Hi
Great plugin!
As we are working in a language school, please can you correct the typo on the Information panel. Currently it reads as:
Hit the add button to share advices and great links to your client directly on its interface.
Just need to drop the ‘s’ from advices to make it advice.
Cheers,
Vernon
This could be the perfect plugin for multisite.
But the widget appears on the network admin dashboard, instead of the sites admins dashboards.
Is there any way to fix that?
]]>I would like to display the widget to multiple user roles, e.g. Admins & Editors, but I would like certain help items to only be visible to Admins, while others should be visible to both Admins & Editors.
So perhaps you could add a checkbox user role box to each help item, where you check which users you want to have view access to the individual help items.
]]>Is it possible to re-order items in the list? That would be very helpful! Thanks for an excellent plug-in.
]]>