Advertisement:

Author Topic: A Karma Description Mod  (Read 585427 times)

Offline digger

  • Sr. Member
  • ****
  • Posts: 761
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: A Karma Description Mod
« Reply #1660 on: November 23, 2017, 12:50:22 AM »
Karma Description Mod v2.8

*Minor fixes.
*Update database install script.
*Add new indexes for karma table.
*Fix columns delete when uninstall mod if needed.
*Fix install script for MySQL 5.7 and newer.
*Force karma enabled when mod installed.
*Mod tested with SMF 2.0.15 and PHP 7.0.

Offline Realinfo

  • Full Member
  • ***
  • Posts: 627
    • Real Info
Re: A Karma Description Mod
« Reply #1661 on: July 02, 2018, 02:51:35 AM »
Karma +3/-4 in member profile at left side

Want to change "Karma" word to something else, can't able to see in language files Default/theme/language

please guide

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,672
    • StoryBB/StoryBB on GitHub
Re: A Karma Description Mod
« Reply #1662 on: July 02, 2018, 02:56:32 AM »
Where’s the footer copyright? We’ve been through this before...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,507
  • Gender: Male
    • Kindred-999 on GitHub
Re: A Karma Description Mod
« Reply #1663 on: July 02, 2018, 11:22:59 AM »
He's hoping that we don't remember him from the copyright discussion 2 years ago... and also before that... and before that.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline MontW

  • Newbie
  • *
  • Posts: 2
Re: A Karma Description Mod
« Reply #1664 on: September 10, 2018, 05:42:33 PM »
I am getting a blank page on Karma Change description as a regular user.  It works fine as an admin, but not as a regular user. Help appreciated

Offline MontW

  • Newbie
  • *
  • Posts: 2
Re: A Karma Description Mod
« Reply #1665 on: September 13, 2018, 04:37:39 PM »
I finallly figured it out.  Both the Karma log box and the show Karma to users boxes have to be ticked on. 

Offline sts_pro

  • Newbie
  • *
  • Posts: 3
Re: A Karma Description Mod
« Reply #1666 on: September 20, 2019, 12:08:14 AM »
In the Karma notification, I see:

Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=2

The reason of changing was: Thank you!

How do I fix the link?
Anyone have an idea of how to fix this?  I'm sure it's probably something simple

I see it's referencing "$scripturl" before "?action=ownkarma;u=2".... where can I go to verify my scripturl is present?
Can anyone help me with this issue?
How can I make the message include the beginning of the URL?

It's showing only ?action=ownkarma;u=2, so I have to figure out why it's not placing "hxxp:www.website.com/forum/index.php [nonactive]" in front of that.  Any ideas for me to try?

I know this post is old but I got the same error after installing it just a few days ago. So I guess this issue never got fixed and probably not affecting most of the users.

So, I did some debugging and figured out some variables ($scripturl and $context in my case) are not working correctly within the language files. So I moved these calls to Karma.php file.

Also, by some reason, both $context and $modSettings were surrounded by isset() and were returning "1" in my case. I remove this check and put actual values instead.

I attached a quick patch I created, which fixed these issues for me (I haven't been able to make it work for non-UTF Russian translation - sorry guys :) ).
« Last Edit: September 20, 2019, 12:41:42 AM by Kindred »