| # |
Post Title |
Result Info |
Date |
User |
Forum |
|
change size of stars CSS code
|
11 Relevance |
1 year ago |
kh86 |
How-to and Troubleshooting |
| |
Hello,
I was trying to use a CSS code to change the size of the stars in the rating. However, as soon as i hover the section with the cursor, the size switches to normal again.
@media screen and (max-width: 600px){
#wpd-post-rating .wpd-rating-wrap { width: 80%;}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-data {
flex-grow: 1;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-right, #wpd-post-rating .wpd-rating-wrap .wpd-rating-left{
flex-grow: 0;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-stars svg {
width: 65px;
height: 65px;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-value {
height: 85px;
width: 85px;
display: flex;
align-items: center;
justify-content: center;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrv, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrc, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrt{
font-size: 56px !important;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-title{
font-size: 20px;
}
} |
|
RE: change size of star rating
|
11 Relevance |
1 year ago |
Asti |
How-to and Troubleshooting |
| |
@kh86
Please use the CSS code below:
@media screen and (max-width: 600px){
#wpd-post-rating .wpd-rating-wrap { width: 80%;}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-data {
flex-grow: 1;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-right, #wpd-post-rating .wpd-rating-wrap .wpd-rating-left{
flex-grow: 0;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-stars svg {
width: 65px;
height: 65px;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-value {
height: 85px;
width: 85px;
display: flex;
align-items: center;
justify-content: center;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrv, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrc, #wpd-post-rating .wpd-rating-wrap .wpd-rating-value .wpdrt{
font-size: 56px !important;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-title{
font-size: 20px;
}
}
Put the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.
Don't forget to delete the caches before checking. |
|
WPenine Live site load plugin css url but in staging site instead of plugin url take root url
|
11 Relevance |
2 years ago |
jayeshcspl |
Bug Reports |
| |
Facing strange issue.
I have copied live site to staging so in both site code is same. I am using wpengine.
In live site plugin style.css URL generated correctly so all style applied. But in staging plugin style.css wrong URL generated so style not applied.
Live site :
Plugin style URL generated.
<link rel='stylesheet' id='wpdiscuz-frontend-css-css' href='' media='all' />
Staging Site :
Wrong Plugin style URL Generated.
<link rel='stylesheet' id='wpdiscuz-frontend-css-css' href='https://skriftligstage.wpengine.com/style.css?ver=7.6.15' media='all' />
Attachment : Screenshot from 2024-02-09 11-41-45.png
Attachment : Screenshot from 2024-02-09 11-44-14.png
Attachment : staging.png
Attachment : live.png
Attachment : style.css_not_load.png
Attachment : correct_style.css_load&applied.png |
|
Inline Commenting breaks Paragraph and styling on Uncode theme
|
11 Relevance |
4 years ago |
arjan |
Inline Commenting |
| |
Dear support,
First of all, thank you for creating an amazing plugin!
I am using wpDiscuz on Uncode theme. Uncode uses the WPBakery Page Builder. As I cannot use the Inline Comment button from within the WPBakery Backend Editor (this is only available in Classic Mode editing), I simply add the Nulla ut quam dui. Vestibulum at ullamcorper ex. Fusce tempor malesuada ligula, et pellentesque mauris facilisis eget. Pellentesque sodales vehicula purus quis bibendum. Integer a placerat lectus. Fusce ac dignissim sapien. Pellentesque ex tortor, dapibus eu risus eget, vehicula luctus justo. Ut varius ultrices libero, ornare venenatis massa volutpat nec.
Nulla ultrices ipsum erat, vitae cursus quam viverra nec. Phasellus ac turpis non magna molestie ullamcorper ac sed elit. Nam a mollis justo. Etiam euismod ut nunc vel tempor. Pellentesque eu elit elit. Aliquam erat volutpat. Curabitur ac rutrum purus.
Lorem ipsum dolor sit amet,
Resulting HTML:
<div class="uncode_text_column"><p>Lorem ipsum dolor <a href="#">sit amet</a>, consectetur adipiscing elit. </p><div class="wpd-inline-shortcode wpd-inline-closed" id="wpd-inline-11">Pellentesque venenatis est ut mauris hendrerit imperdiet.<div class="wpd-inline-icon-wrapper"><svg class="wpd-inline-icon wpd-ignored" xmlns="https://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path class="wpd-inline-icon-first" d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path><path class="wpd-inline-icon-second" d="M0 0h24v24H0z"></path></svg><div class="wpd-inline-icon-count">0</div><div class="wpd-inline-form-wrapper" style="display: none;"><div class="wpd-inline-form-question">Lorem ipsum<span class="wpd-inline-form-close"><a href="#">x</a></span></div><div class="wpd-inline-form"><form method="post" class="wpd_inline_comm_form" autocomplete="off"><textarea name="wpd_inline_comment" class="wpd-inline-comment-content" placeholder="Je reactie hier ..." required="required"></textarea><label class="wpd-inline-notification"><input name="wpd_inline_notify_me" class="wpd-inline-notify-me" type="checkbox" value="1"> Stuur mij een e-mail wanneer er een nieuw antwoord wordt geplaatst</label><div class="wpd-inline-form-second-row"><button class="wpd-inline-submit wpd_not_clicked" type="submit" name="wpd_inline_submit"><span>[REACTIE]</span><svg xmlns="https://www.w3.org/2000/svg" class="wpd-inline-submit-icon" width="24" height="24" viewBox="0 0 24 24"><path class="wpd-inline-submit-icon-first" d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path><path class="wpd-inline-submit-icon-second" d="M0 0h24v24H0z"></path></svg></button></div><input type="hidden" id="_wpd_inline_nonce-11" name="_wpd_inline_nonce" value="3ab6ab2b35"></form></div></div></div></div> Nulla ut <a href="#">quam dui</a>. Vestibulum at ullamcorper ex. Fusce tempor malesuada ligula, et pellentesque mauris facilisis eget. Pellentesque sodales vehicula purus quis bibendum. Integer a placerat lectus. Fusce ac dignissim sapien. Pellentesque ex tortor, dapibus eu risus eget, vehicula luctus justo. Ut varius ultrices libero, ornare venenatis massa <a href="#">volutpat nec</a>.<p></p>
<p>Nulla ultrices <a href="#">ipsum erat</a>, vitae cursus quam viverra nec. Phasellus ac turpis non magna molestie ullamcorper ac sed elit. Nam a mollis justo. Etiam euismod ut nunc vel tempor. Pellentesque eu elit elit. Aliquam erat volutpat. Curabitur ac rutrum purus.</p>
</div>
<div class="uncode_text_column text-lead"><p><strong>Lorem ipsum dolor sit amet, </strong></p><div class="wpd-inline-shortcode wpd-inline-closed" id="wpd-inline-10"><strong>consectetur adipiscing elit.<div class="wpd-inline-icon-wrapper"><svg class="wpd-inline-icon wpd-ignored" xmlns="https://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path class="wpd-inline-icon-first" d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path><path class="wpd-inline-icon-second" d="M0 0h24v24H0z"></path></svg><div class="wpd-inline-icon-count">0</div><div class="wpd-inline-form-wrapper" style="display: none;"><div class="wpd-inline-form-question">Lorem ipsum<span class="wpd-inline-form-close"><a href="#">x</a></span></div><div class="wpd-inline-form"><form method="post" class="wpd_inline_comm_form" autocomplete="off"><textarea name="wpd_inline_comment" class="wpd-inline-comment-content" placeholder="Je reactie hier ..." required="required"></textarea><label class="wpd-inline-notification"><input name="wpd_inline_notify_me" class="wpd-inline-notify-me" type="checkbox" value="1"> Stuur mij een e-mail wanneer er een nieuw antwoord wordt geplaatst</label><div class="wpd-inline-form-second-row"><button class="wpd-inline-submit wpd_not_clicked" type="submit" name="wpd_inline_submit"><span>[REACTIE]</span><svg xmlns="https://www.w3.org/2000/svg" class="wpd-inline-submit-icon" width="24" height="24" viewBox="0 0 24 24"><path class="wpd-inline-submit-icon-first" d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path><path class="wpd-inline-submit-icon-second" d="M0 0h24v24H0z"></path></svg></button></div><input type="hidden" id="_wpd_inline_nonce-10" name="_wpd_inline_nonce" value="3ab6ab2b35"></form></div></div></div></strong></div><p></p>
</div>
I have also included the complete example Uncode WPBakery Page Builder code below (can be seen when switching from Backend Editor to Classic Mode):
[vc_row][vc_column width="1/1"][vc_custom_heading separator="yes" separator_color="yes" uncode_shortcode_id="429559"]Lorem ipsum[/vc_custom_heading][vc_column_text uncode_shortcode_id="137695"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque venenatis est ut mauris hendrerit imperdiet. Nulla ut quam dui. Vestibulum at ullamcorper ex. Fusce tempor malesuada ligula, et pellentesque mauris facilisis eget. Pellentesque sodales vehicula purus quis bibendum. Integer a placerat lectus. Fusce ac dignissim sapien. Pellentesque ex tortor, dapibus eu risus eget, vehicula luctus justo. Ut varius ultrices libero, ornare venenatis massa volutpat nec.
Nulla ultrices ipsum erat, vitae cursus quam viverra nec. Phasellus ac turpis non magna molestie ullamcorper ac sed elit. Nam a mollis justo. Etiam euismod ut nunc vel tempor. Pellentesque eu elit elit. Aliquam erat volutpat. Curabitur ac rutrum purus.[/vc_column_text][vc_column_text text_lead="yes" uncode_shortcode_id="295809"]Lorem ipsum dolor sit amet, consectetur adipiscing elit.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_separator sep_color="" uncode_shortcode_id="609536"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_custom_heading separator="yes" separator_color="yes" uncode_shortcode_id="429559"]Lorem ipsum[/vc_custom_heading][vc_column_text uncode_shortcode_id="540413"]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut quam dui. Vestibulum at ullamcorper ex. Fusce tempor malesuada ligula, et pellentesque mauris facilisis eget. Pellentesque sodales vehicula purus quis bibendum. Integer a placerat lectus. Fusce ac dignissim sapien. Pellentesque ex tortor, dapibus eu risus eget, vehicula luctus justo. Ut varius ultrices libero, ornare venenatis massa volutpat nec.
Nulla ultrices ipsum erat, vitae cursus quam viverra nec. Phasellus ac turpis non magna molestie ullamcorper ac sed elit. Nam a mollis justo. Etiam euismod ut nunc vel tempor. Pellentesque eu elit elit. Aliquam erat volutpat. Curabitur ac rutrum purus.[/vc_column_text][vc_column_text text_lead="yes" uncode_shortcode_id="254090"]Lorem ipsum dolor sit amet, [/vc_column_text][/vc_column][/vc_row]
Please let me know if you need any more information or access to a demo website.
Kind regards,
Arjan |
|
RE: "You are logged in as" always displayed
|
11 Relevance |
3 years ago |
tjbett |
How-to and Troubleshooting |
| |
@asti I have deleted all cache and have done what you have suggested. Both issues still exist.
The 'You are logged in as [username]' persists at the top of the comments area. This message appears to be linked to the post's author not the authenticated user.
When posting a comment I get one of two notification errors - 'Some of field value is invalid', or 'fault'. The first error message appears to be related to whether the user is logged in or not. The second, ('fault') message is hard to pin down.
Thank you |
|
RE: "You are logged in as" always displayed
|
11 Relevance |
3 years ago |
Asti |
How-to and Troubleshooting |
| |
@tjbett,
Please deactivate the Password Protected plugin, delete all caches and check again.
Also, in addition to the above issue. We are also getting 'fault' and 'Some of field value is invalid' when attempting to post a new comment to an existing post.
We don't see the issue while we've checked your website. See the testing comment here:
Could you please record a video where we can see the issue? |
|
RE: "You are logged in as" always displayed
|
11 Relevance |
3 years ago |
tjbett |
How-to and Troubleshooting |
| |
@asti I have reached out to the info[at]gvectors.com team via email.
Also, in addition to the above issue. We are also getting 'fault' and 'Some of field value is invalid' when attempting to post a new comment to an existing post. |
|
RE: show just average rating
|
11 Relevance |
6 years ago |
Asti |
How-to and Troubleshooting |
| |
@jjk,
I'm sorry, but no documatation yet.
See the description below:
1. metakey is the value of the meta key for the rating field. If you set it "all" the total count will be displayed.
2. show-label - if you set "true" as a value of the property the "Name For Total" will be displayed, otherwise not.
3. the value of the itemprop property is being used for showing agregates. If you set it false it'll not be indexed by Google.
Attachment : metakey.png |
|
comment text field
|
10 Relevance |
2 years ago |
Happy |
How-to and Troubleshooting |
| |
In form - comment text field (editing in wordpress setting) and the form show under "join discussion" is different which is not aligned. |
|
RE: How to show custom field in specific position
|
10 Relevance |
3 years ago |
Asti |
How-to and Troubleshooting |
| |
Hi @visualsun,
You can use the meta key and display the custom field's value wherever you want.
This video shows how to get the meta key of the custom field:
Attachment : meta_key.mp4 |
|
RE: reCaptcha 2 - Not appearing and just red "required" field. Shows.
|
10 Relevance |
3 years ago |
michael |
How-to and Troubleshooting |
| |
Ok I will check thanks. For the 2nd issue about the HTML field. Check the attached screen shots. You can see that I add the field to the form and then it is visible on the front end. But when I submit the form, this value is not saved.
Any ideas how to make it save?
Attachment : Screen Shot 2022-10-27 at 12.32.27 PM.png
Attachment : Screen Shot 2022-10-27 at 12.41.58 PM.png
Attachment : Screen Shot 2022-10-27 at 12.42.49 PM.png |
|
RE: How can I include custom field to actual message
|
10 Relevance |
3 years ago |
Validhan |
How-to and Troubleshooting |
| |
Hi @asti Thanks for all information and hook code. I test it on my wordpress but unfortunately it does not worked. I even tried to implement it on new installed wordpress with only WPDiscuz plugin but still it does not work as well.
Please can you check and test the code again if it is correct.
Note please I tried to implement it directly from functions.php and plugin that you suggested as well. I even tried to specify my own meta key value for custom field and put it into key field.
Please can you provide some solution. |
|
RE: How can I include custom field to actual message
|
10 Relevance |
3 years ago |
Asti |
How-to and Troubleshooting |
| |
... .= "\n" ;
$notify_message .= "Department : " . $customFiled;
}
return $notify_message;
}, 9, 2);
This instruction should be helpful for you:
2. Replace the red-marked "key" value with the custom field's meta key. This video shows how to get the meta key of the custom field:
Attachment : meta_key.mp4
3. The red-marked "Department" phrase also can be changed as you like. |
|
RE: customized form field
|
10 Relevance |
5 years ago |
Asti |
How-to and Troubleshooting |
| |
@lichuster,
Please follow the steps below:
1. Create the rating field as mentioned here:
2. Click on the "Advanced Options" link
3. Fill your custom rating meta key value in the "Meta Key" section
Attachment : 2020-09-26_14-56-48.png |
|
RE: The commenter name length prompt is incorrect!
|
10 Relevance |
1 year ago |
Asti |
Bug Reports |
| |
Hi,
Please navigate to the Dashboard >wpDiscuz > Phrases > Errors admin page, check the value of the "Message if input text length is too short" field.
The value of the field is used in this case.
Attachment : chrome_RrW9qGMBny.mp4 |