sitemap  |  contact

Sakic.Net Forum
29 August 2008, 07:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Save money on product bundles: http://www.sakic.net/support/order/
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Products / Vodes / Re: Add user to database? on: 19 June 2007, 22:34
Hello Emir,

Well thanks anyway, I will try harder.

2  Products / Vodes / Re: Add user to database? on: 19 June 2007, 20:48
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?

Code:
} 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
3  Products / Vodes / Add user to database? on: 19 June 2007, 11:37
Hello Emir,

First of all, thanks for Vodes.
I use Vodes on my site and it's working like a charm Smiley
And although I am a php newbie, most of the vodes code was clear to me.


However, I am struggling with 1 thing.
When a new user does a signup, I want to add him automatically to vodes_credits (with 10 credits) , but cant figure out how to do this.
I looked through the vodes.php millions of times and think that it must be there somewhere between line 248 and 277.
(All I get is empty database fields with that piece of code, it's working perfect with paypal though))

I know the purpose of Vodes is to implement it yourself, but I hope you can give me a hint?

Thanks,
Ravage
Pages: [1]