Author Topic: add credits on registration ?  (Read 2985 times)

motofzr1000

  • Newbie
  • *
  • Posts: 1
    • View Profile
add credits on registration ?
« on: 30 April 2009, 19:07 »
Hi,

This component looks promising... Is there a possibility to add for example one vode to a user when someone registers? At the moment when a new user registers, there's a link to buy credits. But is it possible to add a certain amount of credits to this account on registration?

cheers,

Jurgen

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 1,964
    • View Profile
    • Sakic.Net
Re: add credits on registration ?
« Reply #1 on: 30 April 2009, 22:16 »
It's possible but requires modification of the Joomla source code, or a plugin to do this.
The code for adding credits to Vodes database is very simple: http://www.sakic.net/forum/vodes/install_was_ok_now_what_any_manual-t12.0.html;msg40#msg40

tpw123

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: add credits on registration ?
« Reply #2 on: 17 June 2009, 10:23 »
There is a plugin (original for adsmanager in combination with CB) that wild ad credits to new users.

Download this plugin at http://www.pelloquin.com/index.php/Add-credit-into-Paidsystem-for-new-users.html

Install this plugin trought the CB installer and change in

components\com_comprofiler\plugin\user\plug_cbaddcreditstopaidsystem\cb.paidsystem_newuser.php

all the lines with
#__paidsystem

into

#__vodes