[MODDB] Karma MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
Zuben45
Registered User
Posts: 3
Joined: Sun Sep 06, 2009 10:39 am

Re: [RC] Karma MOD

Post by Zuben45 »

Hello I have problem , i done all and when i go to forum/install_karma , that it write then i am not
authorized , please help , thanks

adildr
Registered User
Posts: 17
Joined: Wed Sep 16, 2009 3:02 pm
Contact:

Re: [RC] Karma MOD

Post by adildr »

I install this mod but on the subsilver2 tema at the viewtopic.php not seen + and - images???
www.tibbiyeli.net
Tıp ve Tus Sitesi

goodmana
Registered User
Posts: 1
Joined: Thu Sep 17, 2009 8:02 pm

Re: [RC] Karma MOD

Post by goodmana »

RoyaLChiLD wrote:viewtopic.php decrease / increase button don't appear
help please :oops: :cry: :?: :( :roll: :?
I was having the same problem, and it looks like a bug. However, I was able to fix it by making a code adjustment. Change the following line in viewtopic.php ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row['post_id'], $row['karmaed'], $row['post_karma']);

to ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row);

Hopefully, that will do the trick for you too.

NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Karma MOD

Post by NathanFtw »

How do i uninstall this mod so it removes the ACP modules?

5thBrother
Registered User
Posts: 35
Joined: Tue Jun 30, 2009 10:47 am

Re: [RC] Karma MOD

Post by 5thBrother »

goodmana wrote:
RoyaLChiLD wrote:viewtopic.php decrease / increase button don't appear
help please :oops: :cry: :?: :( :roll: :?
I was having the same problem, and it looks like a bug. However, I was able to fix it by making a code adjustment. Change the following line in viewtopic.php ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row['post_id'], $row['karmaed'], $row['post_karma']);

to ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row);

Hopefully, that will do the trick for you too.

Many Thanks for the fix!! :D

Solved the problem for me too!

Thanks for sharing.

User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [RC] Karma MOD

Post by jmaraujo »

goodmana wrote:
RoyaLChiLD wrote:viewtopic.php decrease / increase button don't appear
help please :oops: :cry: :?: :( :roll: :?
I was having the same problem, and it looks like a bug. However, I was able to fix it by making a code adjustment. Change the following line in viewtopic.php ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row['post_id'], $row['karmaed'], $row['post_karma']);

to ...

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row);

Hopefully, that will do the trick for you too.
I think you have to change it to:

Code: Select all

$karmamod->viewtopic_postrow($postrow, $user_cache[$poster_id], $poster_id, $forum_id, $topic_id, $row['post_id']); 
Otherwise the post_id will be empty ("0"). :oops:

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [RC] Karma MOD

Post by m157y »

Version 1.2.0 @ 2009-09-24 (Download)
  • Added ability to ban user by minimum karma value
  • Added beta-versions update checker (yep, now you can use stable version on live-board and beta version on test-board)
  • Fixed errors with 'Karma change disabled for this user'
  • Fixed some errors at installer/updater
  • Fixed error with not changable karma value on karma delete (fixed known issue)
  • Fixed some errors at docs
  • Fixed errors at install guide
  • Updated known issues list
  • Reordered changelog
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

ckx3009
Registered User
Posts: 16
Joined: Thu Sep 24, 2009 12:53 am

Re: [RC] Karma MOD

Post by ckx3009 »

Hello,
I have just a little trouble when an user press the "yes" button after writing the karma reason for someone:

Code: Select all

General Error
SQL ERROR [ mysql4 ]
Error in the SQL syntax. Please in the manual look up the correct syntax with ' ' in line 3 [1064] 
The page "called" should be the karma.php

The strange thing is that the karma is given anyway.

The installation was, obviously, successful.


Thank you for help :)

NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Karma MOD

Post by NathanFtw »

NathanFtw wrote:How do i uninstall this mod so it removes the ACP modules?
Anyone?

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [RC] Karma MOD

Post by m157y »

2 NathanFtw
Just remove links to modules via phpBB`s modules management
2 ckx3009
i don't have this error. which versions are you using? maybe you can write some more details?
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

NathanFtw
Registered User
Posts: 247
Joined: Mon Jun 15, 2009 7:59 am

Re: [RC] Karma MOD

Post by NathanFtw »

Ah yeah, that works perfectly, thanks Mizy :).

ckx3009
Registered User
Posts: 16
Joined: Thu Sep 24, 2009 12:53 am

Re: [RC] Karma MOD

Post by ckx3009 »

m157y,

I'm using your 1.2.0 version updated from 1.1.4.
Perhaps it may be caused by some other mods I have installed, but it is strange.
What is the file that sends the sql queries to database? May be I can post it and let you see if it is all correct.

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [RC] Karma MOD

Post by m157y »

2 ckx3009
as i understood your problem it sent by includes/mods/functions_karma.php which included by karma.php, but it's not principal, because those code works on other boards and can't be touched by other mods.. Which version of MySQL and PHP used at webhosting? Also can you show your settings of karma mod(from acp)?
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

ckx3009
Registered User
Posts: 16
Joined: Thu Sep 24, 2009 12:53 am

Re: [RC] Karma MOD

Post by ckx3009 »

m157y,

I'm using phpbb 3.0.5, MySQL 5.0.32, php 5.2.0-8+etch13.

The Karma Mod settings are:

Code: Select all

Enable karma: yes
Enable karma disabling: no
Enable karma for friends & foes: yes
Anonymous increase karma: no
Anonymous decrease karma: no
Enable karma power: no
Maximum karma power: 2
Karma time: 12 hours
Needed posts: 10 posts
Needed karma: 0
Limit per day karmas by: 0 times
Enable comments: yes
Comments required: yes
Enable view comments: yes
Comments per page: 20
Enable PM notifications: yes
Enable email notifications: yes
Enable jabber notifications: no
Enable icons: yes
Enable toplist: yes
Number of users in toplist: 10
Automatically ban: yes
Ban karma value: -200
Ban reason: Bannato per Karma eccessivamente basso.
Reason shown to the banned: Il tuo Karma negativo ti ha portato al BAN! Poniti qualche domanda riguardo alle motivazioni che ti hanno portato cosi' in basso.
Check beta version updates: yes

Huidigui
Registered User
Posts: 9
Joined: Thu Sep 24, 2009 6:10 pm

Re: [RC] Karma MOD

Post by Huidigui »

Gibt es schon eine deutsche Übersetzung? :)

Locked

Return to “[3.0.x] MODs in Development”