Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not saving via frontend when using BuddyBoss Theme #40

Open
hypnotisttom opened this issue Jul 26, 2020 · 4 comments
Open

Image not saving via frontend when using BuddyBoss Theme #40

hypnotisttom opened this issue Jul 26, 2020 · 4 comments

Comments

@hypnotisttom
Copy link

The image is not showing up when using BuddyBoss Theme. BuddyBoss support claims they are just using the WordPress comments features. When using Twenty Seventeen, DCO works as expected. I do not see much different between comments.php in the BB theme and comments.php in Twenty Seventeen. Using Chrome Dev Tools, I see that the form content type is "application/x-www-form-urlencoded" when using BuddyBoss, instead of "multipart/form-data" when using Twenty Seventeen.

The upload form appears on the UI, but when submitting a file, even though the selector works, the file is not attached to the comment. If I go into the admin and attach the same file directly to the comment there, the image is visible in the frontend.

I am using DCO 1.3.1.

Any ideas?

@marcfon
Copy link

marcfon commented Oct 22, 2020

Exactly the same behaviour over here. Did you find a solution?

@hypnotisttom
Copy link
Author

Exactly the same behaviour over here. Did you find a solution?

Unfortunately I did not. BuddyBoss told me the news feed has this functionality, but as you know we are referring to the LearnDash pages. I disabled the DCO plugin, and I opened a BuddyBoss feature request. Perhaps you could ask their support desk to tag your issue into the same feature request as mine, and maybe that will help them prioritize it?

Tom

@marcfon
Copy link

marcfon commented Oct 23, 2020

Okay, I will report this back to the buddyboss team.

@jnlr
Copy link

jnlr commented Apr 11, 2022

I struggled long time with the same issue...
The probleme comes from AJAX submission which is implemented in the buddyboss theme, it doesn't manage about upload a file :(
(and this is why it's work in backend, as this is a "normal way" submitted form)
I found a quick fix by commenting this.ajax_comment(); around the line 27 of buddyboss-theme/assets/js/main.js

Need to check how to remove this function in my child theme, or to hope Buddyboss team makes AJAX as optional...

It's a late reply from the beginning of the thread, but hope it will help someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants