1
calvinhobbes
Default Karma = 1 instead of 0

Hello,

How to set the default karma to 1 instead of 0 for a new registered user..

Is the "rank" in users table = karma ?

if i am wrong can anybody tell me what to change for this..?

thanks
ch

2
calvinhobbes
Re: Default Karma = 1 instead of 0

ok this rank thing is not karma...

is karma calculated and kept in the database or generated on the fly by number of posts * 50

??

CH

3
calvinhobbes
Re: Default Karma = 1 instead of 0

alrite there is a karma.php

function calUserkarma()
{
if (!$this->user) $user_karma = 0;
else $user_karma = $this->user->getVar('posts') * 50;
return $user_karma;
}

so if i do * 50 + 1 that should make default karma to 1


ok i have answered my own question but i have two important question..

1) will this SCREW UP ANYTHING ?

2) where is this message located "Your personal karm 0 does not reach the required karma 1. Please try later."

I used windows search, google desktop i still cant find it. windows search is the most f*** up search i have come across..

Login

Who's Online

314 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 314


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits