AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Display Number of Likes... like in wpDiscuzz

3 Posts
2 Users
0 Reactions
822 Views
Posts: 26
 Trey
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
(@trey)
Eminent Member
Joined: 2 years ago
[#61660]

I tried asking on the Gvectors site since I am a paying member, but no one responded and now their site is currently down (oof). In wpDiscuzz, they have a feature that lets you choose to list the number of likes next to the like button under each comment. Why such a common feature isn't included in wpForo, is beyond me. Has anyone succeeded in accomplishing this... or am I missing something?


2 Replies
Tutrix
Posts: 1519
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
(@tutrix)
Noble Member
Joined: 6 years ago

Hi @trey 

check out the new wpForo - Advanced Reactions addon

or if you have knowledge in php, you can also edit the Template.php
modules > reactions > classes > Template.php

the code for the count looks like this

'. WPF()->reaction->get_post_reactions_count( $postid ).'

or with css class to customize

<span class="post_reactions_count"> '. WPF()->reaction->get_post_reactions_count( $postid ).'</span>

Reply
1 Reply
 Trey
(@trey)
Joined: 2 years ago

Eminent 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

@tutrix thanks. I was trying to avoid the add-on since I already purchased several (in a package discount) and just need a like count to display... but the add-on is probably the cleaner option at this point. Can't help but be disappointed that it's an included option with their sister plugin.

 


Reply
Share: