=== Easy Integration for Dropbox – File Manager ===
Contributors: ultradevs, mhimon
Donate link: https://ultradevs.com/donate
Tags: dropbox, file manager, embed, shortcode, form
Requires at least: 6.2
Tested up to:      6.9
Stable tag:       2.0.4
Requires PHP:      7.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Browse, upload, preview, download & organize Dropbox files from WordPress. Embed folders, galleries & uploaders via shortcodes, blocks & widgets.

== Description ==

[Easy Integration for Dropbox – File Manager](https://ultradevs.com/easy-dropbox-integration/) turns Dropbox into a native WordPress file manager. You can embed folders, documents, galleries, or uploader widgets on any page or post, while managing permissions, previews, and downloads from a single dashboard.

- Browse Dropbox files and folders without leaving WordPress, whether you need a quick preview or a complete file browser experience.
- Offer visitors document embeds, download links, and live previews straight from Dropbox with shortcode or block embeds that respect WordPress SEO best practices.
- Upload files to Dropbox through your WordPress site with flexible access controls, custom uploaders, and Contact Form 7 or Elementor Form integrations.

== Video Overview ==
https://www.youtube.com/watch?v=hvbuVTy6-7s

== Features ==

- Built-in Dropbox file browser that works inside the WordPress admin and frontend panels.
- Shortcode builder with document embed, gallery, view link, and download link mode so you can tailor any page for SEO.
- File uploader component that can be placed in pages, posts, or forms and saves submitted files to Dropbox instantly.
- Preview popup that handles PDFs, Office documents, images, video, and more using lightGallery and Microsoft viewer.
- Shortcode builder media playback lets you add audio or video directly in embeds for presentations or tutorials.
- Media streaming from Dropbox accelerates playback and buffering for visitors browsing rich media.
- Slider carousel layouts in the shortcode builder spotlight featured folders or files in a touch-friendly carousel.
- Storage syncing keeps Dropbox and WordPress media aligned so files remain available wherever needed.

== Free Features ==

**⚙️ Easy Setup**
Authenticate with Dropbox in a few clicks, use the guided OAuth flow, and start managing files from WordPress instantly.

**⏫ File Uploader**
Upload directly to Dropbox via dedicated shortcode, Gutenberg block, or Elementor widget and keep all media centralized in your cloud storage.

**📝 Shortcode Builder**
Create SEO-friendly shortcodes that embed Dropbox folders, documents, galleries, and download links with just a few options.

**👁️ Previewer**
Show visitors a responsive preview popup for documents, images, PDFs, and multimedia so they can interact with Dropbox content without downloading it.

**🔀 Contact Form 7 Integration**
Add a Dropbox file uploader to Contact Form 7 forms so submission attachments skip your server and land safely in Dropbox.

== Premium Features ==

**🔒 User Private Files**
Let logged-in users upload and manage their own private Dropbox folders with per-user visibility controls.

**🔀 WooCommerce Downloadable Products Integration**
Select Dropbox files for WooCommerce products, keep downloads synced with your store, and rely on a Dropbox-first delivery system.

**⏯️ Media Library Integration**
Connect Dropbox to the WordPress Media Library to reuse files in posts, blocks, and widgets, blending cloud storage with your existing library.

**🔒 Multiple Dropbox Accounts**
Link and switch between Dropbox accounts (PRO) without re-authenticating, ideal for agencies or multi-brand sites.

**📁 Dropbox Team Folders**
Enable the Team Folders toggle in Settings to treat your Dropbox Business Team root as the plugin root. Please review any existing shortcodes or manually linked folders before switching, as the root folder will no longer be your personal folder.

**⏯️ Media Player Support in Shortcode Builder**
Play audio and video directly through the shortcode builder without extra configuration.

**📡 Media Streaming**
Stream media assets from Dropbox with optimized buffering for smooth playback.

**🎠 Slider Carousel in Shortcode Builder**
Display folder contents in a carousel layout to highlight featured files.

**💾 Storage Syncing**
Keep Dropbox storage in sync with WordPress media for consistent asset management.

== Popular Plugins Integration (Modules) ==

**🔀 [Gutenberg Block Editor](https://wordpress.org/plugins/gutenberg/) Integration**
Drop custom Gutenberg blocks into posts or pages so editors can embed Dropbox files without writing code.

**🔀 [Elementor Page Builder](https://wordpress.org/plugins/elementor/) Integration**
Use Elementor widgets to place Dropbox content precisely where it belongs in your landing pages and templates.

**🔀 [Divi Page Builder](https://www.elegantthemes.com/gallery/divi/) Integration (Upcoming)**
Bring Dropbox folders and uploaders to Divi modules as soon as the integration rolls out. For now you can use shortcodes inside Divi.

**🔀 [WooCommerce](https://wordpress.org/plugins/woocommerce/) Integration**
Deliver downloadable products from Dropbox for faster, scalable commerce experiences.

**🔀 [Contact Form 7](https://wordpress.org/plugins/contact-form-7/) Integration**
Add a Dropbox file uploader to Contact Form 7 forms so submission attachments skip your server and land safely in Dropbox.

**🔀 [WPForms](https://wordpress.org/plugins/wpforms-lite/) Integration**
Add a Dropbox file uploader to WPForms forms so submission attachments skip your server and land safely in Dropbox.


== Upcoming Features ==

**🔍 File Search**
Add a lightweight file search interface on any page so visitors can quickly locate Dropbox assets.

**🛠️ Shortcode Builder Upgrades**
Expand shortcode capabilities with file browser, file search, and modern layouts for more engaging embeds.

**🔗 More Popular Plugins Integration (Modules)**
We are expanding support to additional page builders and form plugins to make Dropbox accessible everywhere on your site.

== External Libraries and Links Used ==
We rely on the following libraries and viewers to power Dropbox embeds and previews.
- [Dropbox PHP SDK](https://github.com/kunalvarma05/dropbox-php-sdk) – Browse and upload files via Dropbox APIs.
- [lightGallery](https://www.lightgalleryjs.com/) – Render responsive galleries and previews for images, video, and documents.
- [Flaticon](https://www.flaticon.com/) – Provide crisp icons for the UI.

Links:
**https://docs.google.com/viewerng/viewer?embedded=true&url=** – Embeds PDFs in the preview popup.
**https://view.officeapps.live.com/op/view.aspx?src=** – Shows Office documents inside the preview.


== FAQ ==

= Is it safe to connect my Dropbox account with this plugin? =
Yes, it is safe to connect your Dropbox account with this plugin. We use the official Dropbox API to connect with your Dropbox account.

= Does the plugin require a Dropbox App of my own? =
Yes, you need to create a Dropbox App and get the App Key and App Secret from the Dropbox Developer Console. You can follow the [documentation](https://ultradevs.com/docs/easy-dropbox-integration/settings/how-to-link-your-own-dropbox-app-with-easy-dropbox-integration-plugin/) to create a Dropbox App.

= Can I embed Dropbox folders on any WordPress page? =
Yes, the shortcode builder, Gutenberg blocks, and Elementor widgets let you place Dropbox folders, files, or galleries anywhere your theme allows content.

= Can I use Dropbox files in WooCommerce? =
Yes, you can use Dropbox files in WooCommerce with the help of our WooCommerce integration module in PRO version.

== Data Privacy ==
The plugin collects only the information required to authenticate with Dropbox:
1. Your WordPress website address.
2. A short-lived authorization code generated by the OAuth flow.

These details are transmitted once you accept the Dropbox OAuth consent screen and are handled securely via https://oauth.ultradevs.com/dropbox-integrator-wp.php before redirecting back to your site. This authorized redirect ensures the plugin works without you needing to create your own Dropbox App while keeping the OAuth handshake smooth.

See the [ultraDevs Privacy Policy](https://ultradevs.com/privacy-policy/) for more details.

**ℹ️ IMPORTANT:** Communications occur directly between your server and Dropbox. Everything is encrypted, and no user files pass through our servers.

== Support & Resources ==
[Free Support](https://wordpress.org/support/plugin/easy-dropbox-integration/) | [Live Chat](https://web.facebook.com/hello.ultradevs) | [Documentation](https://ultradevs.com/docs/easy-dropbox-integration) | [Video Tutorials](https://www.youtube.com/playlist?list=PL6-MOhUm73eiSSVHgAVnFFEvs6rO2sZyC)

== Join With US ==
[Facebook - Community](https://web.facebook.com/groups/ultradevs/) | [Facebook - Page](https://web.facebook.com/hello.ultradevs) | [YouTube](https://www.youtube.com/channel/UCc2yL-QGQjscXpPx9Pp7J8w) | [Twitter](https://twitter.com/ultraDevsBD) | [Instagram](https://www.instagram.com/ultradevs/)

Made With Love By [ultraDevs](https://ultradevs.com) ❤️

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/easy-dropbox-integration` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.

== Screenshots ==
1. File Browser
2. Shortcode Builder
3. Settings

== Changelog ==

= 2.0.4 - 16 May, 2026 =
- **Fix:** Form Uploader for non-authenticated users.


= 2.0.3 - 31 March, 2026 =
- **Fix:** App Setup Page Assets Loading.
- **Improvement:** Freemius Integration.
- **Improvement:** Code Quality.
- **Fix:** Plugin Name Change.

= 2.0.2 - 20 March, 2026 =
- **New:** Added get_files ajax functionality.
- **Improvement:** Refactored Freemius integration via Composer.
- **Improvement:** Settings sanitization enhancements.
- **Improvement:** Better debugging capabilities.
- **Fix:** Database prepare statement fixes.
- **Fix:** File browser and refresh issues resolved.
- **Fix:** PHPCS and general code formatting improvements.

= 2.0.1 - 27 February, 2026 =
- **Fix:** Ajax Error.

= 2.0.0 - 20 February, 2026 =
- **Fix:** Some Issues.
- **Fix:** Media Library Folder Selection.
- **Improvement:** Refresh Token.
- **Improvement:** Active Account Management.
- **Improvement:** File Uploader Shortcode.
- **Fix:** Connect Dropbox Error.
- **Fix:** Set access token issue.
- **Improvement:** CSS.

= 1.14.0 - 27 January, 2026 =
- **Fix:** Multiple account shortcode view issue.
- **Improvement:** Filebrowser.
- **New:** Module Preview.
- **Fix:** Refresh Token Issue.

= 1.13.2 - 17 January, 2026 =
- **Fix:** Refresh Token Issue.
- **New:** File Browser Component Exported to Window for External Usage.
- **Fix:** Rename issue.
- **Improvement:** REST API.
- **Improvement:** Error Handling.

= 1.13.1 - 08 January, 2026 =
- **Fix:** Replace cache `.htaccess` files.

= 1.13.0 - 08 January, 2026 =
- **Fix:** Shortcode Builder Issue.
- **New:** Media Player Support in Shortcode builder.
- **New:** Media Streaming.
- **New:** Slider Carousel in Shortcode Builder.
- **New:** Storage Syncing.

= 1.12.6 - 3 January, 2026 =
- **Improvement:** Thumbnail folder security.

= 1.12.5 - 3 January, 2026 =
- **Fix:** Module Manager.

= 1.12.4 - 3 January, 2026 =
- **Improvement:** Frontend CSS.
- **Improvement:** Assets Class.
- **New:** Added Delete Button for Uploaded Files List.
- **Enhancement:** Uploader Component.
- **New:** Added WPForms Support.
- **New:** Added Import to Media Library Feature.

= 1.12.3 - 20 December, 2025 =
- **New:** Shared Link Cache Added.
- **New:** Direct Download Link Added.
- **Fix:** Media Library Folder Selection Issue.
- **Improvement:** Thumbnail Security Improvement.
- **Improvement:** Uploader UI Improvement.
- **Fix:** Elementor Form Uploader Module.

= 1.12.2 - 12 October, 2025 =
- **Fix:** Load Text Domain warning issue.
- **Fix:** Some Issues.
- **Improvement:** Code Improvement.
- **Improvement:** Assets loading improvement.

= 1.12.1 - 24 September, 2025 =
- **Fix:** Some CSS Issues.

= 1.12.0 - 23 September, 2025 =
- **Enhancement:** New File Browser, Shortcode Builder, Settings UI.
- **New:** Download folder as Zip.
- **New:** File/Folder More Menu in File Browser.
- **Fix:** Some Issues.
- **Update:** Performance Improvements.

= 1.11.1 - 30 April, 2025 =
- **Update:** No more default Dropbox App Key and Secret.

= 1.11.0 - 12 January, 2025 =
- **New:** CF7 Module Opener Button Styles.
- **New:** Elementor Pro Form Uploader Module.

= 1.10.0 - 21 December, 2024 =
- **Fix:** Header Already Sent Issue.
- **Fix:** Elementor Module.
- **Fix:** Account Removal Issue.
- **New:** Added Option to use Own Dropbox App.
- **New:** Added CF6 compatibility.

= 1.9.1 - 1 December, 2024 =
- **Fix:** PHP Version Issue.
- **Fix:** Elementor Module.
- **Update:** Dropbox App Key and Secret.

= 1.9.0 - 30 October, 2024 =
- **New:** File Uploader Elementor Widget.
- **Fix:** Admin Common CSS loading.

= 1.8.0 - 27 October, 2024 =
- **Fix:** Media Library.
- **New:** Gutenberg Shortcode Modules Block.
- **Fix:** UI Changes, Admin Common CSS compatibility.
- **Fix:** Ajax Class Active Account Issue.

= 1.7.0 - 10 October, 2024 =
- **Fix:** Shortcode Permission.
- **Fix:** Folder Selector Modal Fix.
- **New:** More Uploader Config Options.
- **New:** WordPress Media Library Integration. (PRO)
- **Update:** Freemius Updated to 2.8.0.

= 1.6.4 - 18 September, 2024 =
- **Fix:** ShortCode Builder Save Button.
- **Fix:** ShortCode Builder Type .
- **Fix:** File Uploader Fix.
- **New:** Embed Documents, Download Links, View Links in Shortcode.
- **New:** Permission in Shortcode.
- **New:** Tools page to clear cached files.

= 1.6.3 - 17 September, 2024 =
- **Fix:** Uploader.
- **New:** More Uploader Config Options.

= 1.6.1 - 16 September, 2024 =
- **Fix:** CF7.
- **Fix:** Uploader.
- **Fix:** Shortcode Builder.

= 1.6.0 - 09 September, 2024 =
- **New:** Masonry and Justified Gallery Layout.
- **New:** Advanced File Uploader.
- **New:** Contact Form 7 Integration.
- **Fix:** Some Issues.

= 1.5.0 - 31 August, 2024 =
- **Fix:** Some Issues.
- **Tweak:** Shortcode Rendering.
- **New:** File Uploader Shortcode.

= 1.4.2 - 17 August, 2024 =
- **Fix:** File Preview
- **Fix:** Open download link for non preview supported files.
- **New:** Added Pro Trial.

= 1.4.1 - 15 August, 2024 =
- **Fix:** Class name issue

= 1.4.0 - 15 August, 2024 =
- **Tweak:** Breadcrumb.
- **New:** wooCommerce Downloadable Products Integration
- **New:** Modules Manager.

= 1.3.1 - 35 July, 2024 - 🇧🇩 Supporting Bangladeshi Students =
- **Tweak:** Modules.
- **Fix:** Updates.

= 1.3.0 - 35 July, 2024 - 🇧🇩 Supporting Bangladeshi Students =
- **New:** Added File Download.
- **Fix:** Preview.
- **Fix:** Previous Path.
- **Tweak:** Caching.

= 1.2.0 - 29 July, 2024 =
- **New:** Files and Folder Cache.
- **New:** File Browser's File/Folder More Menu.
- **New:** File Icons.
- **New:** Refresh Button Functionalities.
- **Fix:** Add Account Button Fixes
- **Tweak:** UI.

= 1.1.1 - 28 July, 2024 =
- **New:** Preview.
- **New:** Preview In New Window.
- **Tweak:** - Files Table.

= 1.0.1 - 26 July, 2024 =
- **Fix:** Bug Fix.

= 1.0.0 - 26 July, 2024 =
* Initial Stable Release
