buddyfile's People
buddyfile's Issues
Fatal error
When trying to view the special Url just after installing the plugin.
Fatal error: Uncaught Exception: Invalid order. in /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:103 Stack trace: #0 /wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(112): WC_Data_Store->read(Object(WC_Order)) #2 /wp-content/plugins/buddyfile-master/buddy-functions.php(45): WC_Abstract_Order->__construct('12446') #3 /wp-content/plugins/buddyfile-master/filebuddy-template.php(10): buyer_by_product_id(Array) #4 /wp-includes/template-loader.php(106): include('/...') #5 /wp-blog-header.php(19): require_once('/...') #6 /index.php(17): require('/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 103
Did not used WP_Rest api for uploading files.
You have used a upload.php file and taking the URL using data_attributes using jQuery.
And also our main requirement was all the users can not upload a file. Admin will have setup page and admin will put a product id there. If a user buys that product in that case that user will have access to that special upload page. And user just can see his own uploaded file.
Could not find out this option.
7.Admin will have a setup page from where admin will enter product id and special URL.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.