[ABD] Karma and Profile Comments System

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Alpha] Karma System

Post by andy2295 »

"* User can disable karma for himself/herself"
This is controlable through the ACP first right? So admin can choose to disable that function..
* Karma at viewprofile and viewtopic pages
I'm not sure how it works, but do you karma a users posts, or the users profile in the viewtopic?
If it's the users posts, can one just ignore the instructions for viewtopic, and just have it in viewprofile?
And if I do that, will it only let a user rate a user once? (As opposed to infinite times through viewtopic.)


Anyways, it sounds great and good luck :)
Admin panel allows disable function and viewtopic adds Karma to user and also from viewprofile
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Beta] Karma and Profile Comments System

Post by andy2295 »

Beta Version 1.0 Released
sotis
Registered User
Posts: 294
Joined: Tue Oct 17, 2006 4:56 pm
Location: Bulgaria
Contact:

Re: [Beta] Karma and Profile Comments System

Post by sotis »

I have installed this old karma mod
http://www.phpbb.com/community/viewtopi ... a#p3067425

I see that your mod is similar to that. Can you please provide some converting instruction at least for the datebase. Other code changes can be done easily and I want to save all karma points so far.
Thanks
User avatar
**Danny**
I've Been Banned!
Posts: 166
Joined: Sun Aug 20, 2006 9:56 am
Location: England
Contact:

Re: [Beta] Karma and Profile Comments System

Post by **Danny** »

Hay thanks for this! :D

Can't wait to put it up :D
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Beta] Karma and Profile Comments System

Post by andy2295 »

sotis wrote:I have installed this old karma mod
http://www.phpbb.com/community/viewtopi ... a#p3067425

I see that your mod is similar to that. Can you please provide some converting instruction at least for the datebase. Other code changes can be done easily and I want to save all karma points so far.
Thanks
The mod is based off that one. The database is the same so there is no need to change that. Just overwrite the files and check the edits
sotis
Registered User
Posts: 294
Joined: Tue Oct 17, 2006 4:56 pm
Location: Bulgaria
Contact:

Re: [Beta] Karma and Profile Comments System

Post by sotis »

Thanks, this is great news. Thanks for developing that mod. :D
sotis
Registered User
Posts: 294
Joined: Tue Oct 17, 2006 4:56 pm
Location: Bulgaria
Contact:

Re: [Beta] Karma and Profile Comments System

Post by sotis »

Just to let you know I successfully converted from old karma mod.

Can you add more features, like user and group permissions, possibility to turn off decreasing karma and also users with negative karma can not karma others.
User avatar
ett
Registered User
Posts: 61
Joined: Mon Jul 19, 2004 9:14 am
Location: Oslo, Norway
Contact:

Re: [Beta] Karma and Profile Comments System

Post by ett »

I have a problem with this mod. Viewtopic.php har turned all white after the modification. Possible solutions?

Also have problems viewing search.php, but all other forum functions seem to work. Also the controll panel where Karma settings has been added.

I have run /install_karma/ successfully, so the database tables are there. :)
Last edited by ett on Wed Jan 07, 2009 3:06 pm, edited 2 times in total.
Idyll
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Beta] Karma and Profile Comments System

Post by andy2295 »

ett wrote:I have a problem with this mod. Viewtopic.php har turned all white after the modification. Possible solutions?
Post your viewtopic.php file and i will have a look
User avatar
ett
Registered User
Posts: 61
Joined: Mon Jul 19, 2004 9:14 am
Location: Oslo, Norway
Contact:

Re: [Beta] Karma and Profile Comments System

Post by ett »

Thanks for giving it a try. :)

Edit: I have found my problem.

I added

Code: Select all

// [+] Karma and profile commenter MOD
$karmamod->viewtopic_sql($sql);
// [-] Karma and profile commenter MOD
Before

Code: Select all

));
On line 944. The code should be after, not before. That worked for me!
Last edited by ett on Wed Jan 07, 2009 3:12 pm, edited 1 time in total.
Idyll
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Beta] Karma and Profile Comments System

Post by andy2295 »

Here is an error:

You have put

Code: Select all

   'WHERE'      => $db->sql_in_set('p.post_id', $post_list) . '
      AND u.user_id = p.poster_id'
      
   // [+] Karma and profile commenter MOD
   $karmamod->viewtopic_sql($sql);
   // [-] Karma and profile commenter MOD
));
Should be

Code: Select all

   'WHERE'      => $db->sql_in_set('p.post_id', $post_list) . '
      AND u.user_id = p.poster_id'
 ));     
   // [+] Karma and profile commenter MOD
   $karmamod->viewtopic_sql($sql);
   // [-] Karma and profile commenter MOD
also at the end of the file i.e.

?>

Make sure there is no blank line after ?>
User avatar
ett
Registered User
Posts: 61
Joined: Mon Jul 19, 2004 9:14 am
Location: Oslo, Norway
Contact:

Re: [Beta] Karma and Profile Comments System

Post by ett »

Ok, I have found out that this mod is working very well on my live forum even thought I haven't sorted out search.php yet. That's not important as I removed the mod again after discovering that it makes my front page unusable.

I'm running Textpattern with a modification for including comments after articles and such (From phpBB3). I'm not much of a coder myself, but I bet it is including common.php at least. The problem is that i get this error on my front page:
Fatal error: Call to a member function acl_get() on a non-object in /home/users/juvenorg/www/forum/includes/functions_karma.php on line 70
I know this isen't a bug or a problem with the modification, but perhaps someone has a method or workaround for my problem? Untill then, this mod can't be used by me unfourtantly. :(

Thanks for a great mod anyway. It worked fine while testing. :D
Idyll
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [Beta] Karma and Profile Comments System

Post by darkonia »

what i must change that this is not in use: * User cannot karma friends or foes

all my member want give karma to friends and foes...
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
ett
Registered User
Posts: 61
Joined: Mon Jul 19, 2004 9:14 am
Location: Oslo, Norway
Contact:

Re: [Beta] Karma and Profile Comments System

Post by ett »

Agree with darkonia. You should be able to enable/disable friend/foe-rating in the admin panel.

That would be a nice function. :)
Idyll
andy2295
Registered User
Posts: 519
Joined: Tue Mar 25, 2008 4:36 pm

Re: [Beta] Karma and Profile Comments System

Post by andy2295 »

darkonia wrote:what i must change that this is not in use: * User cannot karma friends or foes

all my member want give karma to friends and foes...
There is no option to turn off friends and foes. To disable the whole mod Just turn the mod off in admin :)
Locked

Return to “[3.0.x] Abandoned MODs”