Hello Emir,
Thanks for your reply.
I am trying just that.
But maybe I was not clear with my previous message.
A new user does a signup on my site.. ( I use Community builder for that).
After that signup, the user isnt added to the vodes_credits table by default.
I can add that user manually in the backend, but want to add new users automatically in the _vodes_credits table.
I know that vodes can do it with a paypal payment, so I looked at this part
in vodes.php and concluded that it must be this part?
} else {
$query = "INSERT INTO #__vode_credits VALUES (
'',
'$row2->id',
'$credit'
)";
$database->setQuery($query);
$database->query();
}
But when I add (and more from the paypal part) this to the registration core, only an empty field is added.
So now I hope you can give me a hint about what I am doing wrong.
(btw , when I just add the code to add credits, No user is made in vodes_credits)
Thanks,
Ravage