Discussion on Share-one-Drive | OneDrive plugin for WordPress


_DeLeeuw_ supports this item


73 comments found.

HI What this error meaning? plugins/share-one-drive/css/shareonedrive_tinymce_editor-rtl.css Thanks

It seems that your theme or another plugin tries to load the RTL CSS version of the Share-one-Drive plugin.

Your theme(or a plugin?) is probably going through the list of all the CSS that are in the queue for being loaded, and adds a new css file to the list based on that but with the -rtl.css addition. So Share-one-Drive enqueues plugins/share-one-drive/css/shareonedrive_tinymce_editor.css, and something else is adding the plugins/share-one-drive/css/shareonedrive_tinymce_editor-rtl.css after that.

Share-one-Drive doesn’t have this CSS and that is why you are seeing this error. Unfortunately, there isn’t something I can do about that, but the end user will also not have any problems when this error is thrown.

Perhaps you can enable this automatic loading of css files somewhere in your theme settings?

hello, i have buy this plugin, please tell me, how i can use this to put images in woocommerce products?

Share-one-Drive only integrates into the Digital Downloads section of WooCommerce, which allows you let your buyers download their products directly from OneDrive. The plugin doesn’t have a feature which allows you to select product images directly from OneDrive. The OneDrive API simply doesn’t offer direct links to your images yet. As soon as that is added to the API, I will definitely implement that in the plugin as well.

Hi! Just a question before buying the item. Can I style file browser front-end via CSS?

Sure! You can always use some custom CSS to style the elements in the File Browser. If you need some help to find the right CSS Rules, just create a support ticket and I will do my best to help you out!


a14idt Purchased

Hi, How is the download multiple files as a ZIP supposed to work? When I try it out even in your demo it just instantly downloads the file that you’ve ‘checked’ instead of waiting to select multiple files and then zipping them which is very unuseful. I’ve been through all settings and have found nothing to override this.

Hello! That sound like a bug :) The zip download should work like this: https://imgur.com/a/EMmaY

If that isn’t the behavior you are seeing, feel free to create a support ticket so we can share some information and I can take a closer look at it!

Create Support Ticket

Prepurchase question for GOOGLE DRIVE version and ONEDRIVE. Are these photos and movies saved on server or do they automatically stream from the DRIVE to members? Is this like a google drive cdn?

The files are directly streamed from the cloud to the end-user. So there is no content copied to your server!

Can I use this plugin to integrate with WooCommerce upload file on checkout page? Is it difficcult to do?

The plugin currently only integrates into the WooCommerce Digitial Download section. However, it is on the to-do list to implement the upload feature in the Order/Checkout page as well.

For now, the only way to integrate it easily would be to send the customer to a ‘post-checkout’ page where the Share-one-Drive upload shortcode is located. But I am not sure if that is an option for you. If not, you will need to add the Share-one-Drive shortcode manually to the checkout page.

any idea on what could be causing this error?

  • ERROR MESSAGE * Error refreshing the OAuth2 token, message: ‘{error: The provided value for the input parameter ‘refresh_token’ or ‘assertion’ is not valid.\r\nTrace ID: 844df9e4-1557-4b9b-8982-a8ebc4a00400\r\nCorrelation ID: 80061f39-2a70-40e8-9be2-674d1c18118c\r\nTimestamp: 2017-11-29 10:56:38Z”,error_codes 10:56:38Z”,trace_id“}’

Hello there! I am sorry to hear that you are having issues with the plugin. I will do my best to help you out!

The error message you shared is quite interesting. It looks like that the tokens in some way went corrupt and that the plugin authorization process isn’t able to recover from that. Are you able to re-authorize the plugin by pressing the ‘Re-authorize button on the main settings page? If not, you will need to remove the all files in the /wp-content/share-one-drive-cache folder manually. That will completely reset the authorization process and this should allow you to reauthorize the plugin again.

I am not sure what has triggered the issue precisely, so if the issue returns, please create a support ticket and I will dig into this problem!

Hello, i posted a ticket request #4333 about 7 days ago on https://florisdeleeuwnl.zendesk.com When can i hope for any help/answer? Regards :-)

I just resent my reply to you. If you still haven’t received an email, please let me know!

Thx for your help DeLeeuw, everything is clear now. Regards :-)

I’ve been watching this plugin from afar waiting for Onedrive for Business support. Now that’s in, I’m thinking about how it could work on our site. Main concern is how it integrates with the rest of the site.

Can it work with our existing site search box? or can we embed just an extra ‘Files search’ box? Second thought was whether it has a shortcode to embed a ‘latest files’ or anything like that on our front page?


As per Swiftchaser query, did drives for Sharepoint Groups and Sites support get added? Thanks.

Not yet, unfortunately. Some technical issues were discovered during the implementation which has delayed the introduction of Groups and Sites into the plugin. However, it is still on the To-Do list to add this to the plugin, and I am in contact with the API developers about this. But that just takes some time…. Do you want me to let you know when Groups and Sites are supported?

Yes please. I imagine there are several ways this feature will be handy. Also it’s not always ideal to use a Onedrive Business account since it’s tied to an individuals login which could go.

Does it work with Sharepoint now?

The Share-one-Drive plugin supports OneDrive Business Accounts which can be used in combination with Microsoft SharePoint. Drives for Groups and Sites are not yet supported, but I am adding support for that next week.

Hello – I have version Version 1.6.1 of your plugin installed… When I activate the plugin I noticed that it makes my plugin page completely blank along with the dashboard page… While activate I also noticed none of the buttons seem to work like “Revoke Token” etc. .. I noticed this after the client started receiving these emails:

The Share-one-Drive plugin is not able to refresh access to your OneDrive. This is attempt number 1, and the plugin will make in total 3 attempts to restore the authorization. When the plugin isn’t able to get access to the plugin after those attempts, it will stop working. If that is the case, you will receive a new email with the subject ‘IMPORTANT NOTICE: Share-one-Drive lost authorization’.

If you are receiving those emails often, the following error information may help you out.
  • ERROR MESSAGE * Error refreshing the OAuth2 token, message: ‘{error: The user could not be authenticated or the grant is expired. The user must first sign in and if needed grant the client application access to the requested scope.\r\nTrace ID: c2d150fd-4779-431f-9248-5a0f72c73b00\r\nCorrelation ID: acb304e3-f7eb-47f4-800e-d0dbba1ad605\r\nTimestamp: 2018-01-16 18:59:15Z”,error_codes 18:59:15Z”,trace_id“}’ *

but like I said even If I try to reauthorize the plugin the buttons on the onedrive tab section do not work when I click on them so I am unable to resolve this error and the plugin is currently breaking the back end of my website when activated.

I am sorry to hear that you are having issues with the plugin. I will do my best to help you out!

The error message that you shared is quite interesting. It looks like that the tokens in some way went corrupt and that the plugin authorization process isn’t able to recover from that. Could you try to remove the all files in the /wp-content/share-one-drive-cache folder manually to solve this problem? That will completely reset the authorization process and this should allow you to reauthorize the plugin again.

If the issue persists, just let me know via your support ticket and I will investigate the issue in more detail for you!


AdamSnow Purchased

Good afternoon,

I’m having issues with the plugin such that it appears that the authorization has disconnected, and it’s asking me to re-authorize.

When I click re-authorize, it asks for the email address, but then immediately goes to a Microsoft page “We are unable to complete your request – We are experiencing a technical issue. Try again later.”

This has been going on for a few weeks now. Suggestions? Plugin v 1.6.2

Hi there,

I am sorry to hear that you are having issues with the plugin. I am actually not sure what is causing this problem for you, so I would gladly investigate it for you. If you create a support ticket, I will do my best to figure out what is going on.

Best regards, Floris

Create Support Ticket


dp_organo Purchased

Hi, I have a pre purchase question. Does your plugin connects to onedrive through a business account? This account is not able to login through login.live.com

Both Business Account and Regular Accounts are supported. The plugin will automatically redirect you to the right login page.