The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Rating shortcode doesn't work on pages with disabled comments
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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
Show original
Translating...
Apr 11, 2020 11:10 pm
(@arscrigicioniec)
Trusted Member
Joined: 6 years ago
If i use this shortcode:
[wpdrating metakey="all" show-lable=false show-count=false show-average=false itemprop=false post_id="15780"]
on page with disabled comments, I get a bug that you can see on the screenshot. Once I turn on the comments, the bug disappeared.
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
Show original
Translating...
Apr 11, 2020 11:50 pm
(@arscrigicioniec)
Trusted Member
Joined: 6 years ago
1. If I have comments with rating field, I have that bugged 5 big stars if comments are disabled.
2. If I have only enabled rating without rating field in comments. I have empty space if comments are disabled.
(@tomson)
Joined: 10 years ago
Honorable Member
Posts: 509
Apr 12, 2020 7:30 pm
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
Show original
Translating...
@arscrigicioniec ,
Please don't use the rating for non-singular (archive) pages. It's not finished yet. wpDiscuz 7 doesn't support it yet. We'll fix all CSS and add it in next Beta-9 version.
(@arscrigicioniec)
Joined: 6 years ago
Trusted Member
Posts: 26
Apr 12, 2020 9:28 pm
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
Show original
Translating...
@tomson , this screen is not from an archive page. It's the usual core page type "page".
(@tomson)
Joined: 10 years ago
Honorable Member
Posts: 509
Apr 15, 2020 5:14 pm
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
Show original
Translating...
@arscrigicioniec ,
As far as i see you're trying to use the wpDiscuz rating shortcode on a page where wpDiscuz is not allowed. Am I right?
(@arscrigicioniec)
Joined: 6 years ago
Trusted Member
Posts: 26
Apr 15, 2020 11:07 pm
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
Show original
Translating...
@tomson , yes. In page settings, there is a setting "Enable comments". The bug happens, if comments are disabled.
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
Show original
Translating...
Apr 17, 2020 10:14 pm
(@tomson)
Honorable Member
Joined: 10 years ago
@tomson , yes. In page settings, there is a setting "Enable comments". The bug happens, if comments are disabled.
This is not a bug.
Do you know that the rating shortcode is only based on the Rating Custom field in comment forms? So if you disable the comments, how do you expect the rating should be made? What is the mean to show rating if there is no way to rate for that rating? This is a logical issue not a bug. You should not use the shortcode if you've disabled the comments, because that rating is based on the rating field of comment form.
(@arscrigicioniec)
Joined: 6 years ago
Trusted Member
Posts: 26
Apr 18, 2020 12:14 am
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
Show original
Translating...
@tomson , sorry, you didn't understand me correctly.
I meant this:
1. Page id=1, comments are enabled.
2. The other page id=2, comments are disabled. I input there the following shortcode to display rating from page 1 :
[wpdrating metakey="all" show-lable=false show-count=false show-average=false itemprop=false post_id="1" ]
and I get this bug. These comments are from the other page so they should be shown.
(@tomson)
Joined: 10 years ago
Honorable Member
Posts: 509
Apr 18, 2020 12:58 am
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
Show original
Translating...
Ok @arscrigicioniec ,
Thank you for the information For this case the issue is fixed in upcoming version.