Notifications
Clear all

How to Add Media Uploader in the form field

6 Posts
2 Users
0 Reactions
1,131 Views
Posts: 7
Customer
Topic starter
(@cryptoguru)
Member
Joined: 7 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: 6153
Admin
(@astgh)
Illustrious Member
Joined: 7 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
Customer
(@cryptoguru)
Joined: 7 years ago

Member
Posts: 7

@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
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6153

@viralalert,

The solution is provided in this support topic:

https://gvectors.com/forum/media-uploader/change-media-upload-icons/#post-16555

Reply
Customer
(@cryptoguru)
Joined: 7 years ago

Member
Posts: 7

@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
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6153

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:
Scroll to top