Notifications
Clear all

How can disable Choose a file button ?

4 Posts
2 Users
0 Likes
929 Views
Posts: 28
Customer
Topic starter
(@zipkinci)
Member
Joined: 5 years ago

Hi everyone. I have updated wpforo advanced attachments puling. I have noticed that there is a button which name is My media. Can I disable the "Choose a file" button? I want to upload files like before the update. Because it can confuse my users' mind 🙂

1
3 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @can-aktas,

Please navigate to the Dashboard > Forums > Settings > Styles admin page put the following  CSS code in the "Custom CSS code" textarea:

i.fas.fa-paperclip.wpfa-form-ico {
display: none;
}
#wpforo-wrap label {
display: none !important;
}

Please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

Reply
2 Replies
Customer
(@zipkinci)
Joined: 5 years ago

Member
Posts: 28

hi @elvina, I am here again 🙂 When I applicate this CSS code, the button became disabled but this time, add photo button was disappeared. The attachment which is uploaded doesn't add in post. I hope I explained myself correctly

Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@can-aktas,

Please delete the code provided above, then please navigate to the Dashboard > Forums > Settings > Addons > Attachments tab, find and disable the "Attachment Dialog Auto Upload" option.

Don't forget to delete all caches and press CTRL+F(twice) on the frontend before checking.

 

Reply
Share:
Scroll to top