I am using aMember v4 Membership Script, it allows me to make a folder to put in all my custom scripts. The aMember script will supply you with the member that’s currently logged in.
There are 2 custom mysql tables you will be working with.
Table #1 = This holds referral program details it self
Table #2 = This holds member referral details.
More Tables = you might need to pull data from amember’s user table.
Script #1
I want the ability for admins only to add, delete, modify Refer…
