solved Invitation only users

alt=
@terolahtinen
8 years ago
4 posts
I'd like to create a site. where everybody can view content and profiles, but only people who have reveiced invitation can create accounts. Furthermore, I'd like the existing user be able to send out invitations, but with limitations, e.g. one invitation/user/month.

How can I implement this?
updated by @terolahtinen: 10/12/17 11:15:55AM
michael
@michael
8 years ago
7,805 posts
We have the invite module:
https://www.jamroom.net/the-jamroom-network/networkmarket/291/invitations

and similar questions have been asked before:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/50647/how-can-i-invite-a-mass-of-emails-like-in-a-csv-file
https://www.jamroom.net/the-jamroom-network/forum/suggestions/6336/any-plans-for-an-invite-module

But what you're after does not currently exist.

The invite module only allows users to send out invites to people already joined to the site AND following their profile.

What you're after is a way to email people who are not expecting your email and invite them to join your site.

This concept has possible problems.

If one of your members sends an email to someone who is not interested and they mark it as spam, then you will find your normal emails get harder to be delivered.

Too many spam complaints and our server company says to us that they are getting spam complaints and we have to figure out why or your server gets shut down.

If you must have this structure, then you'll need some custom modules built.
alt=
@terolahtinen
8 years ago
4 posts
With restrictions I don't think any spam problems will arise, and if so, it is trivial to solve.

Adding an invitation code field to registration field would be a small task, but does Jamroom support such modifications? Looking at the code I did not find any hooks for observer-concept or anything like that, which would make it possible to make small modifications to exisiting module.

Or is there? I'm very new to Jamroom.

I think further details are more suited to development forum, but maybe an explanation what can and cannot be done would be appropriate here.
michael
@michael
8 years ago
7,805 posts
The Form Designer can be used to add additional fields to forms provided by existing modules:

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer

Or it can be done programatically in your module by adding it in the "Events and Listeners" system:

Docs: "Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1011/events-and-listeners
paul
@paul
8 years ago
4,335 posts
As Michael says above, use the Form Designer to add an 'Invitation Code' field to the signup form, then set the 'User Validation Method' to 'Admin Validation' so that you can check it. Alternatively, a custom module could 'listen' for new signups and automatically check the Invitation Code against a known list.


--
Paul Asher - JR Developer and System Import Specialist

Tags