By Dayo on Friday, 20 January 2017
Posted in General
Likes 0
Views 157
Votes 0
Using EasyDiscuss - Recent Discussions (Version 4.0.12), I noticed that the number of hits is always displayed and can't be switched off.

I was going to hack the code to turn it off but a check of the default.php file however showed that the section that displays this is wrapped in a conditional statement. That is, it indicated that the designers anticipated that this could be switched off.

Long story short, it seems all the infrastructure to allow switching this on or off was done but someone forgot to add the last piece of code in to activate this.

So, in mod_easydiscuss_recentdiscussions.xml, amending ...


<field name="showtotalvotes" type="radio" class="btn-group" default="1" label="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_TOTAL_VOTES" description="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_TOTAL_VOTES_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>


to ...


<field name="showtotalvotes" type="radio" class="btn-group" default="1" label="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_TOTAL_VOTES" description="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_TOTAL_VOTES_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="showhits" type="radio" class="btn-group" default="1" label="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_HITS" description="MOD_EASYDISCUSS_RECENTDISCUSSIONS_SHOW_HITS_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>


... brings up the option.

Can someone fix this omission and update the module release?
Hello Dayo,

Good catch and I have logged this issue into our internal issue tracker. This will definitely be fixed in the next release of EasyDiscuss
·
Friday, 20 January 2017 01:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, I did tried in my locally, it seems work fine, can you start a new thread regarding this issue on our forums?
·
Wednesday, 12 April 2017 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
After checked further, it seems like that is French translator translated this wrongly.


MOD_EASYDISCUSS_RECENTDISCUSSIONS_REPLIES="réponses"


Replace with

MOD_EASYDISCUSS_RECENTDISCUSSIONS_REPLIES="%1s réponses"

into this file -> JoomlaFolder/language/fr-FR/fr-FR.mod_easydiscuss_recentdiscussions.ini

It should work fine now.
·
Wednesday, 12 April 2017 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 12 April 2017 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post