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:

AI Assistant
Rating shortcode do...
 
Share:
Notifications
Clear all

[Solved] Rating shortcode doesn't work on pages with disabled comments

9 Posts
2 Users
0 Reactions
1,296 Views
Posts: 26
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
(@arscrigicioniec)
Trusted Member
Joined: 6 years ago
[#49]

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.

1

 


8 Replies
Posts: 26
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
(@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.


4 Replies
Tom
 Tom
Support
(@tomson)
Joined: 10 years ago

Honorable Member
Posts: 509
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

@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
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

@tomson, this screen is not from an archive page. It's the usual core page type "page".


Tom
 Tom
Support
(@tomson)
Joined: 10 years ago

Honorable Member
Posts: 509
Tom
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

@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
Tom
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

@tomson, yes. In page settings, there is a setting "Enable comments". The bug happens, if comments are disabled.


Tom
Posts: 509
 Tom
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
(@tomson)
Honorable Member
Joined: 10 years ago
Posted by: @arscrigicioniec

@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.

wpDiscuz 7 Rating Comment Custom Field

2 Replies
(@arscrigicioniec)
Joined: 6 years ago

Trusted Member
Posts: 26
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

@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.


Tom
 Tom
Support
(@tomson)
Joined: 10 years ago

Honorable Member
Posts: 509
Tom
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 @arscrigicioniec,

Thank you for the information For this case the issue is fixed in upcoming version.


Share: