AI Assistant
Notifications
Clear all

How to Add Media Uploader in the form field

6 Posts
2 Users
0 Reactions
1,890 Views
Posts: 7
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@cryptoguru)
Member
Joined: 8 years ago
[#4291]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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: 8 years ago

Member
Posts: 7
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Member
Posts: 7
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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