[Solved] Insert into post does nothing  

  RSS

Christian
(@hvv-laubach)
Active Member Customer
Joined:1 year  ago
Posts: 7
22/03/2017 7:19 pm  

Hi,

I use the current version of sp Foro Advanced Attachments.

When trying to attach files I can uppload them into the Attach-Files-windows and click start.

they upload correctly but when I mark them an try to add them nothing happens.

The files remain in the upload area even if I reload the page or even switch to another topic. I can't add them anywhere.

Deletion of the uploaded files works, they disappear from the window.

the behavior doesn't depend on the setting "upload to media library" = Yes or No.

I can add attachments when I disable the Advanced Attachment Plugin.


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
22/03/2017 7:42 pm  

I already seen your last post, I think there will be lots of more problems on your website and most of function will not work. i think your theme is too old and it's out of WordPress codex. Please leave some URL to allow us debug it.


ReplyQuote
Christian
(@hvv-laubach)
Active Member Customer
Joined:1 year  ago
Posts: 7
22/03/2017 8:16 pm  

The Theme is up to date.

I'll send you login data via pm so you may have a look into it.


ReplyQuote
Christian
(@hvv-laubach)
Active Member Customer
Joined:1 year  ago
Posts: 7
23/03/2017 11:02 pm  

Hi,

I solved the issue. Hmm, I found the root cause and have a workaround, maybe you have to investigate further.

It is caused by the option "Do not use visual editor when writing" in the user profile.

If you disable the option you can insert attachments to posts.
If you enable it, "tinyMCE is not defined" which causes several errors in the forum.

Looks like a design issue to me.


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
24/03/2017 12:17 am  

Thank you for letting us know Christian.


ReplyQuote
Pahuyuth
(@pahuyuth)
Active Member Customer
Joined:9 months  ago
Posts: 5
01/11/2017 6:14 pm  

Hi there,

I seem to have a quite similar problem and no idea how to fix it. Could you please have a look at my error message and give me some advice? Thank you very much in advance!

Forum Error


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
01/11/2017 9:50 pm  
Posted by: Pahuyuth

Hi there,

I seem to have a quite similar problem and no idea how to fix it. Could you please have a look at my error message and give me some advice? Thank you very much in advance!

1. Please make sure your post editor is a rich editor:

2. Please deactivate other plugins to remove the JS errors, then activate them one by one and find the problem maker.

3. Make sure your theme or other plugins don't load jQuery Lib twice, this is the most popular issue. jQuery lib should be loaded one time on page.


ReplyQuote
Pahuyuth
(@pahuyuth)
Active Member Customer
Joined:9 months  ago
Posts: 5
04/11/2017 12:26 pm  
Posted by: Tom
Posted by: Pahuyuth

Hi there,

I seem to have a quite similar problem and no idea how to fix it. Could you please have a look at my error message and give me some advice? Thank you very much in advance!

1. Please make sure your post editor is a rich editor:

2. Please deactivate other plugins to remove the JS errors, then activate them one by one and find the problem maker.

3. Make sure your theme or other plugins don't load jQuery Lib twice, this is the most popular issue. jQuery lib should be loaded one time on page.

Thank you for your reply. I managed to rule out point 1 and 2 on the list, but I lack the knowledge and skill to find out if the jQuery Lib is loaded twice or not. Could you please assist? I am using Betheme by the way. 


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
04/11/2017 12:55 pm  

Please leave your forum URL.


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
10/11/2017 1:49 am  

A small JS plugin in your active theme conflicts with Advanced Attachments addon. here is the error of your theme JS function:

2017 11 10 0139

I recommend open this file: https:// pahuyuth.com /wp-content/themes/betheme/js/plugins.js

and remove the code on 124 line, or just contact to the theme developer and ask them turn this off. I don't think this is an important JS code. In most cases it's not used by website:

2017 11 10 0141

You can edit this file through Dashboard. Just install the WP Editor plugin, then navigate to Dashboard > Appearance > Editor and find the file in directory tree on right sidebar of this admin page.

 

 


Pahuyuth liked
ReplyQuote
Pahuyuth
(@pahuyuth)
Active Member Customer
Joined:9 months  ago
Posts: 5
10/11/2017 3:56 am  
Posted by: Tom

A small JS plugin in your active theme conflicts with Advanced Attachments addon. here is the error of your theme JS function:

2017 11 10 0139

I recommend open this file: https:// pahuyuth.com /wp-content/themes/betheme/js/plugins.js

and remove the code on 124 line, or just contact to the theme developer and ask them turn this off. I don't think this is an important JS code. In most cases it's not used by website:

2017 11 10 0141

You can edit this file through Dashboard. Just install the WP Editor plugin, then navigate to Dashboard > Appearance > Editor and find the file in directory tree on right sidebar of this admin page.

 

 

I did as you said and it worked! Awesome! Thank you so much!!!


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
10/11/2017 3:48 pm  

Thank you Pahuyuth,

I hope you have no other issues. If all is good please find a few minutes to write a good review for wpForo plugin on plugin page, we'd really appreciate it: 

https://wordpress.org/support/plugin/wpforo/reviews/?filter=5


Pahuyuth liked
ReplyQuote
Pahuyuth
(@pahuyuth)
Active Member Customer
Joined:9 months  ago
Posts: 5
16/11/2017 12:54 pm  

Hi Tom,

I am sorry to bother you again. It seems, that the line of code you recommended to delete was not so unimportant after all. After deletion it turned out, that the attachment addon works, but my websites one-page pages are not displayed correctly anymore. I have consulted the theme developers if they could assist me, but they refuse to help since they do not support wpForo.

http://forum.muffingroup.com/betheme/discussion/33609/wpforo-attachment-issue

What do you think? Do you see a chance for a solution?


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined:3 years  ago
Posts: 2682
18/11/2017 6:54 am  

Hi Pahuyuth

Please explain what exactly isn't displayed correctly. Just leave some screenshots to allow us check it.


ReplyQuote
Pahuyuth
(@pahuyuth)
Active Member Customer
Joined:9 months  ago
Posts: 5
15/12/2017 5:51 pm  

Hi Tom,

just wanted to let you know, that the insert problem is gone since the last update. Thank you for constantly improving this great plugin!


Tom liked
ReplyQuote
Share: