Invitations Counter

5.0
German Michael Zülsdorff 3 years ago

Invitations Counter


[ Details | Download | Support ]

Comments
Comments are disabled for this project!
German Michael Zülsdorff Replied 3 years ago

Version 2.0 is available now, creating/updating ossn_entities records of type user and subtype members_invited (see new code in SuccessfullyInvitedMembers.php)

For testing I recommend

  • to create a new member (the inviter)
  • let that inviter invite someone new
  • make that one register
  • watch the ossn_entities table (reverse the ordering to see the latest records on top)
  • and compare with your error_log file
in Balamurali Govindan Replied 3 years ago

Thanks Z-Man. I was thinking in the Admin UI, under edit user we add a display-only field "invited by". This will also help in auditing to know who invited.

Also, for the invited user, next to their name, near user points, they could see the Referrals counter similar to the points.

We wanted to give a free lifetime membership and the more they refer they also get a free lifetime premium membership. Just so the invite could bring more users to the platform.

Hope this makes sense. Thank You.

German Michael Zülsdorff Replied 3 years ago

Hmm ... I don't know exactly where Balamurali's idea is aiming at, ask him. ;)

us Mary Greg Replied 3 years ago

~Z~ Man
But where does it appear who is the inviter ? It will be visible in some section of the admin panel or somewhere else?

German Michael Zülsdorff Replied 3 years ago

Fine, so the code is working correctly. ;)
As I wrote, Version 1.0 is just a skeleton, a starting point to implement your idea.
Actually, there is nothing visible up to now.
Have a look into the com file and turn your error logging on, let an invited member register and watch the flow in your error_log file.
Next you should start phpmyadmin or another database tool and have a closer look at the ossn_entities table. Because that's the table where we have to add and update the counter records in Version 2.0

in Balamurali Govindan Replied 3 years ago

I installed and tested this.

Z-Man, where do I see the Counter in the UI? I checked the timeline, user account settings, in the user points area etc, but couldn't locate. Please advise. Thank You.

German Michael Zülsdorff Replied 3 years ago

Mary,
it's trying to implement Balamurali's request:
https://www.opensource-socialnetwork.org/discussion/view/5314/track-user-referrals
Read the source, turn on Ossn error logging and you'll get an idea ...

us Mary Greg Replied 3 years ago

Before using, please tell more about this component what is for? To invite other people for register or to invite a groups?

in Balamurali Govindan Replied 3 years ago

Thanks a lot Z-Man. Awesome. Will test this and let you know. Thanks Again.

Component

Developer: Michael
License GPL v2
Type: Site admin
Requires Ossn Version : 7.1
Latest Version:
Last Updated
Repository Url View Repository

Versions