rsclg / member-submission-post-processor
Perform additional actions after registration of a new member in the RSC web system.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: >=5.3
- cliffparnitzky/user-member-bridge: ~1.2
- contao-community-alliance/composer-plugin: ~2.0
- contao/core: >=3.2.0,<3.6
- friends-of-contao/contao-associategroups: ~1.3
- rsclg/club-member-fields: ~1.0
Conflicts
- contao/core: 3.4.0,3.4.1,3.4.2
This package is auto-updated.
Last update: 2024-05-14 20:18:35 UTC
README
Contao Extension: RscMemberSubmissionPostProcessor
Perform additional actions after registration of a new member in the RSC web system.
Installation
Install the extension via composer: rsclg/member-submission-post-processor.
If you prefer to install it manually, download the latest release here: https://github.com/rsclg/RscMemberSubmissionPostProcessor/releases
Database modification
Execute the following database script to ensure Contao to Roundcube connection:
-- add the member number as new column, to get an reference value
ALTER TABLE rcb_contacts ADD rsc_member_number INT( 4 ) UNSIGNED;
UPDATE rcb_contacts SET rsc_member_number = (SELECT xt_club_membernumber FROM tl_member WHERE rcb_contacts.name = CONCAT(tl_member.firstname, " ", tl_member.lastname));
-- add view that are expected from contao
CREATE OR REPLACE VIEW rcb2cto_contactgroups (id, name, tstamp) AS SELECT contactgroup_id, name, changed FROM rcb_contactgroups;
CREATE OR REPLACE VIEW rcb2cto_contacts (id, tstamp, name, firstname, lastname, email, member_number, user_id) AS SELECT contact_id, changed, name, firstname, surname, email, rsc_member_number, user_id FROM rcb_contacts WHERE del = 0;
CREATE OR REPLACE VIEW rcb2cto_users (id, name, tstamp) AS SELECT user_id, username, created FROM rcb_users;
Tracker
https://github.com/rsclg/RscMemberSubmissionPostProcessor/issues
Compatibility
- min. Contao version: >= 3.3.0
- max. Contao version: < 3.6.0
Dependency
This extension is dependent on the following extensions: