Allows users to invite others to join the site
Project description
About PloneInvite
PloneInvite is a tool for Plone which allows portal members to invite new users to register into the portal. Members get invite codes which are used to send the invitation.
This is a short introduction. For more information, bug trackers, feauture request, etcetera, see the product web page.
How to Use
For the portal administrator:
Go to Site Setup and click on the “Member Invitations” link.
On this page you can give invites to other users and set the expiration period in days for the portal invites.
For a member:
After logging in, open the “invite someone” link available under your login name in the upper right corner.
This page allows members to send invitations as well as see the status of their invitations.
Install
Add Products.PloneInvite to your buildout’s instance’s eggs.
Install the product from Plone’s Add-on configuration or use the portal_quickinstaller in the ZMI.
Features
Assign invitations to the current site members. With these invitations, they can invite new members. New members will receive this invitation by e-mail.
The site manager can enforce email in the the invitation. This means the invitee must register with the email address to which the invitation was sent.
The inviting member can optionally also enforce email, if it was not already enforced by the site manager.
The “@@register” form now contains a field “invite_code”. New users can register only if they have a valid invitation code.
The invitation e-mail message can be customized. (This can be done through the ZMI, it’s a skin template.)
The portal administrator manage invitations through the configlet:
see which invitations have been accepted
revoke unused invitations
revoke sent but unaccepted invitations
Configuration
Customize PloneInvite/skins/invite_template.cpt in your Product folder to customize your portal Invitation template.
The email address which will be used as the “sender” in invite e-mails is the site-wide e-mail address. You can change it via the site’s Mail configuration.
Requirements
Tested on:
Plone 4.0a3, Zope 2.12.2
Technical summary
Subclasses and overrides plone.app.users’ RegistrationForm (“@@register”)
Stores invitations in a portal tool (‘portal_invitations’)
Uses skin templates and scripts for sending and managing invitations
Defines custom permissions (among others, for giving invitations to members)
Caveats
This product has not been tested in conjunction with other products, such as emaillogin or membrane users.
Credits
Created by Giovani Spagnolo of Partecs Participatory Technologies.
Plone 4 port and maintained by Kees Hink of Goldmund, Wyldebeast & Wunderliebe.
Changelog
2.0a1 (2009-12-30)
Plone 4 compatible (Plone 3 support dropped)
Generic Setup installation
Updated README.txt’s
1.1-alpha (march 2009)
Plone 3 compatibility fixes [khink]. This takes care of just getting the product to work, but there’s more that could be done: see the TODO.
Breaks compatibility with Plone 2.5, due to @@authenticator, which is called from the join_form in Plone 3, isn’t available in Plone 2.5.
Renamed permissions from “PortalInvite: …” to “PloneInvite: …”.
- Minor modifications so it works under Plone 3, most notably
encode e-mail before sending
Enabled self-registration (‘Add portal member’ permission on the site), which is needed to enable new members to register themselves. (Self-registration is protected by the validation on the join_form, so people will only be able to register with an invitation code.)
Disabled ‘info@yoursite.com’ as default value, use site-wide email_from_address as default. (Still customizable through config.py)
Disable overriding of mailhost settings. (Install.py used to reset the portal’s mailhost settings to localhost:25)
Turn on invitation generation for new users by default (5 invitations), this is probably what most sites want. Should be configurable in Plone product settings configlet.
Disable bare try-except blocks in invite.cpy
Translations:
Added PloneInvite.pot and plone.pot
Added Makefile for easy creation and updating of translation (.po) files
Added Dutch translation
Fixed a bug in the user_invites template table, which showed only the invites which did not have enforce_address set.
Fixed bug in Extensions/Install.py which added two ‘invite_form’ links to user actions.
Added a “FakeMessageFactory” class for translations in controller scripts, see fakemessagefactory.py
TODO
Complete i18n.
Automaticaly add a number of invites for new members. (And modify the configlet to enable modification of number of invites to give new users.
Re-add expiration functionality (invitation expires after configurable time period).
Modify configlet to enable modification of invitiations e-mail “Sender” in Plone.
In the configlet, don’t show “Number of days the invitation stays active” if there are no members.
Do not lose invitations when re-installing.
See if we can subclass zope.interface.Interface instead of IDefaultPloneLayer (interfaces.IPloneInvitePolicy)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for Products.PloneInvite-2.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359b7174c1dba0c8e615097c0e5fbcfdb53903df66a2056e4d9a4a74679d0462 |
|
MD5 | 3bcd7b9f0a22dfdde5f8562710a4ebd4 |
|
BLAKE2b-256 | 4a712006e8e95ecf79af69ecc5599b1e4bc06b1b046906c9f0f5483fc6709019 |