The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Remove / Replace Co...
 
Notifications
Clear all

Remove / Replace Comment Text Field

2 Posts
2 Users
0 Reactions
5,942 Views
(@raysnalley)
Posts: 1
New Member
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
 
[#1607]

Is it possible to remove the comment text field?

For my Wordpress site, each blog post represents an Employment Opportunity. The post's Comments are meant to represent an applicant's candidacy. In addition, upvotes and downvotes would indicate other users support for or against the "commenter's" candidacy. 

So ideally, the comment form would only consist of a button named "Submit Candidacy". 

The resulting comment would simply display the commenter's Name which links to their profile.

Is this possible?

If not, another approach might be to pre-populate the comment text field with something like "I submit my candidacy." And have this field be read only.

Perhaps if neither of these are possible, any recommendations would be greatly appreciated (alternative workarounds using this plugin, or recommendations for another plugin).

thanks!


 
Posted : 27/01/2021 5:39 pm
Asti
 Asti
(@asti)
Posts: 8257
Illustrious Member Support
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
 

@raysnalley,

The second way is possible. 

Please follow the steps below:

1. Go to Dashboard > wpDiscuz > Settings > Comment Form Settings admin page and disable the Load Rich Editor option. More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-form/#load-rich-editor

2. On the same page change the value of the "Comment Form View" option from "collapsed" to "expanded"

3. Use the following js code: 

jQuery(document).ready(function(){
jQuery("#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wpd-textarea-wrap textarea").text('I submit my candidacy.');
jQuery("#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wpd-textarea-wrap textarea").prop("readonly",true);
});

Use the methods provided in this article: https://www.collectiveray.com/add-javascript-to-wordpress


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 28/01/2021 1:08 pm