Notifications
Clear all

How to Add Media Uploader in the form field  


viralalert
Posts: 4
Customer
(@viralalert)
Member
Joined: 2 years ago

I bought Media Uploader because I thought I can add this function in the form field. However, when I go to the Forms and create a new field, I was disappointed because there is no option to add the functionality to add image or attachment. Can you tell me how to do this manually please.

I know that the attach image is below the text content but I don't want it there.

Thank you so much.

5 Replies
Astghik
Posts: 3788
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi @viralalert,

Once you enable the "wpDiscuz Media Uploader" add-on the media uploader buttons will appear under the comment form as shown in the screenshot. 

https://www.screencast.com/t/zvRCVXE1HxXZ

Are you using some cache plugins? If yes, please delete those plugins caches and check again. And leave some example URL to allow us to check as well. 

Reply
4 Replies
viralalert
Customer
(@viralalert)
Joined: 2 years ago

Member
Posts: 4

@astghik

Can I change the icon into button? If no option for this, What is the solution you can suggest so I can change the icon to button?

Reply
Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3788
viralalert
Customer
(@viralalert)
Joined: 2 years ago

Member
Posts: 4

@astghik

The solution that was provided is to change the icon into another image. What I want is to change the icon into a button.

Reply
Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3788

ok @viralalert,

In this case, you should use the following codes:

jQuery('.wpdiscuz-button.wmu-icon-image').replaceWith('<button type="button" class="wpdiscuz-button wmu-icon-image"></button>')
jQuery('.wpdiscuz-button.wmu-icon-video').replaceWith('<button type="button" class="wpdiscuz-button wmu-icon-video"></button>')
jQuery('.wpdiscuz-button.wmu-icon-file').replaceWith('<button type="button" class="wpdiscuz-button .wmu-icon-file"></button>')

 

Reply
Share: