I am currently creating a small social networking site. I am ready to create the sign up page, but I want to create a unique feature. I want my site to automatically register all users using the same email service as friends. So for example, all people using "@gmail.com" will automatically be friends with all the users signing up using "@gmail.com".
Additionally, I do not want anyone who is not using "@gmail.com" to access any posts, messages, or view any profiles of someone using say "@yahoo.com".
So basically, I want everyone using "@gmail.com" to be one group, and everyone using "@yahoo.com" to be another group. However, I want the two groups to be completely separated on my website with no access to each other at all.
I have scoured the web, and I cannot figure out how exactly I would go about coding this.
If you have any input at all, it would be greatly appreciated! Thanks
Additionally, I do not want anyone who is not using "@gmail.com" to access any posts, messages, or view any profiles of someone using say "@yahoo.com".
So basically, I want everyone using "@gmail.com" to be one group, and everyone using "@yahoo.com" to be another group. However, I want the two groups to be completely separated on my website with no access to each other at all.
I have scoured the web, and I cannot figure out how exactly I would go about coding this.
If you have any input at all, it would be greatly appreciated! Thanks