Notifications
Clear all

wpForo 1.x.x [Solved] Voting for themes without voting for the replies

7 Posts
2 Users
8 Reactions
2,566 Views
Posts: 7
Topic starter
(@freezer)
Active Member
Joined: 7 years ago

Hello!
Install your plugin on our site and everything is great, but there is a caveat. We use the format of Q&A as voting for new features in our software. I would like to have the option to disable voting for answers, but leave the possibility to vote for the topic, since some users mistakenly vote for the answers of other users, and not for the suggested idea.
I wanted to hide the vote for answers using CSS styles, but voting for the topic is the same class as the voting for the reply.
Is it possible to add access rights restriction on voting for the answer or to select a block of votes for the answer in a separate class, to using styles it can be easy to hide.

6 Replies
Posts: 7
Topic starter
(@freezer)
Active Member
Joined: 7 years ago

Layer similar "questions and answers", but allows you to only vote for a topic, without the possibility of voting for answers. Also in the list of forums not displayed the number of responses, and visible only to vote for the topic.
If the feature is implemented, then displays "done".

In the attachment screenshot. I think that the implementation will not be difficult.
The fact that I couldn't find a good plugin to collect votes requested features when developing software.

Even if such opportunity will be as an addition to the plugin, we are ready to pay for its implementation.

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Please note, only the first post (topic) votes are counted and displayed on topic list [ votes ] section. The answers votes are not included in the statistic. This is the exact what you're wanting. You don't even need to hide answers voting buttons, they are not being counted.

 

To disable Answers on topic list you can use a simple CSS code. Put this code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea. Save it, delete all caches and do Ctrl+F5 on forum front:

#wpforo #wpforo-wrap .wpfl-3 .wpforo-topic-status .answers{display: none;}
Posts: 7
Topic starter
(@freezer)
Active Member
Joined: 7 years ago

 Sorry for my English, I use translator. Maybe something wrote wrong, I meant.
I know that only a vote for the topic affects the counting of votes, but users do not know and can vote for the answer by mistake

Using your hints I achieved what I wanted. Here is the CSS style that I use. But if I issued a "voting system" in a separate layer, it would be much better! =)

#wpforo #wpforo-wrap .wpfl-3 .wpforo-last-topic .answers{display: none;}
#wpforo #wpforo-wrap .wpfl-3 .wpforo-topic-status .answers {display: none;}
#wpforo #wpforo-wrap .wpf-answer-wrap .wpforo-post-voting {display: none;}
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-right .wpf-add-comment-button {display: none;}
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-right .wpf-answer-button {display: none;}

The result can be seen here: https://gbsmarket.ru/community/main-category/
3 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10587

I'm sorry but I didn't understand what you mean saying this "But if I issued a "voting system" in a separate layer, it would be much better! =)".

(@freezer)
Joined: 7 years ago

Active Member
Posts: 7

I mean:
Add additional layout for the forum to the three existing ones. Layout will be called "voting", where you will use the same CSS style.

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10587

Ok, thank you for suggestion. We'll take this under consideration. i can't promise you yet.