ng toolbar with Alt/Option + F10.
Hint: Notify or tag a user in this post by typinstrong text
Tab to the formatting toolbar with Alt/Option + F10.
Hint: Notify or tag a user in this post by typing @userna
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
Good day every one
I have a website that students enter and book a lecturer using there accounts, i want to add a feature that make the students able to send a referral links to another students and when that new student (student B) book at least one lecturer then (student A) who invite him will win X points, in addition to that i need that student when ever he book a lecturer, to win Y points, therefore, this student will giant some of points, lets say Z points, he will be able to replace them with 1 free lecturer.
The way i think is, the referral link will contain (student A)'s ID and when the other student registered by this link, and when this new student book a lecturer (at least), a trigger will run and add the X points to (student A)'s fund.
The second way to gain points is when the student book a lecturer, a trigger will run and add Y point to his fund.
DB design will be as below:
TBL_Students
{ (main info), referral link (Y,N), Referral ID (for the origin student))}
TBL_Points
{ Student id, type (from invitation or from booking), points value, used (Y,N)}
noting that it's just a thought and i don't know exactly how to implement it, please support and advise
Regards
ng toolbar with Alt/Option + F10.
Hint: Notify or tag a user in this post by typinstrong text
Tab to the formatting toolbar with Alt/Option + F10.
Hint: Notify or tag a user in this post by typing @userna