There are times when you need to add points for new user after they have completed the signup processs. There are a couple ways you can do this. The first is to change the default value in the nuke_users table for points to the amount you need to give users. The other involves editing the your account module. I will give you both and give you the choice to decide which is best for you.
Files to edit:
modules/Your_Account/index.php
Method 1:
I'll show you how to make the change first inside phpmyadmin. You should have access to phpmyadmin from cpanel or some other link given to you by your host.
Go to phpmyadmin and click on nuke_users then you should see your tables structure(fig1)
Fig1.![]()
Find the points row as in fig1 and click on the pencil icon to edit. Change the default value from 0 to the amount you want new users to get upon signup. Click Save. That's it, now your new users will get that amount after they signup.
Method 2:
This method involves editing the Your_Account index file. Open modules/Your_Account/index.php and find the following function:
Within that function search for user_lang and after that place , points. Next find '$language' after that add , '10' . Notice I added the number 10, this can be any amount of points you want to give new users. Your codes should look like the following.
That's it! Save and upload. Your new users should get points when they sign up.
If you would like us to make the changes for you, please contact us by using this button.