Foobar Studio
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Customer Area] Woocommerce menu / myaccountHi,
Sure, we have plenty of hooks + all our UI can be overidden.
A good starting point is the template system documentation:
https://wp-customerarea.com/documentation/developer-guides/the-template-system/
Currently there is no add-on to do that automatically though.
Regards,
Forum: Plugins
In reply to: [WP Customer Area] View private file instead of downloadGlad to know that.
Do not hesitate to post the iframe code here, as it may help others who would like to do the same thing.
Regards,
Forum: Plugins
In reply to: [WP Customer Area] Private File> For me is normal to search a user with email or first/last_name
Because that information may be private and you may not want to allow everyone with access to the private area to find user emails.
> Can you help me in other mode?
No, sorry, PHP code will be the only way for you to change that behaviour. You may ask for help on websites more into development such as https://wordpress.stackexchange.com/
Regards,
Forum: Plugins
In reply to: [WP Customer Area] View private file instead of downloadYou may try to add that:
add_filter('cuar/private-content/files/default-action', 'wpca_change_default_file_actions', 10, 2); function wpca_change_default_file_actions($action, $attachment) { $ext = pathinfo($attachment['file'], PATHINFO_EXTENSION); $ext = strtolower($ext); if (strcmp($ext, 'pdf') === 0) return 'view'; return $action; }
Forum: Plugins
In reply to: [WP Customer Area] View private file instead of downloadHi,
You can customize all the plugin HTML by using our template system. We have a full documentation of it there:
https://wp-customerarea.com/documentation/developer-guides/the-template-system/
Regards,
Forum: Plugins
In reply to: [WP Customer Area] Set default layout to list view for my-projectsHi,
Have you tried this code snippet: https://wp-customerarea.com/knowledgebase/collections-list-view-by-default-instead-of-grid/ ?
Forum: Plugins
In reply to: [WP Customer Area] Change TEXT “Title” on the create fileHi,
You could simply edit the translation files (.PO file) to replace that text by something else.
Forum: Plugins
In reply to: [WP Customer Area] Download files when click on thumbnailHi,
You can change all the output of the plugin (including links) by using our template system
Here is the corresponding documentation:
https://wp-customerarea.com/documentation/developer-guides/the-template-system/
Forum: Plugins
In reply to: [WP Customer Area] Customer area Account EditHi,
Maybe the page has not been created? You can check pages in the plugin status page.
Forum: Plugins
In reply to: [WP Customer Area] Error on installOn our side, you can fix our code on file customer-area\src\php\functions\functions-private-files.php on line 76
Change
function cuar_get_the_attached_file_link($post_id = null, $file, $action = 'download', $force_download = false)
to
function cuar_get_the_attached_file_link($post_id, $file, $action = 'download', $force_download = false)
Forum: Plugins
In reply to: [WP Customer Area] Front end shortcode to allow file uploadHi,
I think we have replied from the website support forum. I am closing this duplicate thread.
Link to the answer: https://wp-customerarea.com/support/topic/frontend-for-file-upload/
Forum: Plugins
In reply to: [WP Customer Area] Private FileHi,
One way to do that could be to change the display name with a hook
Forum: Plugins
In reply to: [WP Customer Area] Import massive documentsHi,
You can send an email to us (support at wp-customerarea com)
Forum: Plugins
In reply to: [WP Customer Area] Import massive documentsHi,
Are you familiar with the JSON file format?
Forum: Plugins
In reply to: [WP Customer Area] Archivos privados da errorHi,
If you cannot do it by FTP, then your issue is not the plugin, it is the server. You should contact your server administrator.