×
Kunena 5.1.14 Released - Security release (13 Aug 2019)

The Kunena team is proud to announce the arrival of Kunena 5.1.14 [K5.1.14] which is now available for download as a native Joomla extension for Joomla 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.14. This update fixed 1 security issue.

× Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question User Popularity Vote.

More
9 years 11 months ago #1 by lamblety
Hello.

I wanna change the delay of user popularity vote to once a day.

It's possible???
How can i do it?

PS: Sorry for my bad english.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #2 by xillibit
Replied by xillibit on topic User Popularity Vote.
Hello,

What is the user popularity vote ? it's a plugin or something else ?

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #3 by lamblety
Replied by lamblety on topic User Popularity Vote.
Thanks for the answer.

No, it isn't a plugin.
It's the default Kunena Popularity sistem.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #4 by lamblety
Replied by lamblety on topic User Popularity Vote.
Someone help?

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #5 by johnnydement
Replied by johnnydement on topic User Popularity Vote.
Mmm, I'm sorry, but as far as I know, the thing you're talking about doesn't exist...

Could you suppoly some screenshots?

Only thing Kunena default has , related to what you say,is karma.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #6 by lamblety
Replied by lamblety on topic User Popularity Vote.
OHHHHHHHHH SORRY!

I was talking about "Karma" and i didn't know because I'm using a translate here and the name change to "Popularity".

So.....changing my question:

________________________________

I wanna change the delay of karma votes to once a day.

It's possible???
How can i do it?

_______________________________

Thanks for the support.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #7 by lamblety
Replied by lamblety on topic User Popularity Vote.
Someone help?

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #8 by Matias
Replied by Matias on topic User Popularity Vote.
lib/kunena.karma.php at line 27:

$karma_min_seconds = '14400'; // 14400 seconds = 6 hours

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #9 by lamblety
Replied by lamblety on topic User Popularity Vote.
Thanks for the answer...=)

I haven more 2 questions.

1- $karma_min_seconds don't have a maximum number?
So, can I put "9999999999999999999999999999999999999999999999999999" to get years of delay?

2- Is there a way to get only positive karmas with this sistem of karma?

Best Regards.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #10 by xillibit
Replied by xillibit on topic User Popularity Vote.
Hello,

1°) I think there are no restrictions for this

2°)For this, you need to do a little hack, so open the file component/com_kunena/template/default_ex/view.php and at line 711 replace this :
$msg_karmaminus = CKunenaLink::GetKarmaLink('decrease', $catid, $fmessage->id, $userinfo->userid, '<img src="'.(isset($fbIcons['karmaminus'])?(KUNENA_URLICONSPATH . $fbIcons['karmaminus']):(KUNENA_URLEMOTIONSPATH . "karmaminus.gif")).'" alt="Karma-" border="0" title="' . _KARMA_SMITE . '" align="middle" />' );

with this :
$msg_karmaminus = "";

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.079 seconds