addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Vaetertag, fete des peres

sitepic_vaetertag.ch.jpg:
Viewable with Any Browser

Members
Join Now
Login

Managing membership using addedValues

If your Manila website membership list is maintained externally, for example in an Excel spreadsheet or a Filemaker data base, you face the problem of synchronizing the website membership with the actual master list.

Using the addedValues plugin, a Managing Editor can solve this problem with a minimum of fuss. It uses the feature of addedValues called import extensions, a way of extending addedValues open to skilled developers. addedValues ships with 2 import extensions, csvGemsToMembers and tabbedTextToMessages. A server administrator defines additional extensions by writing a script and then using the addedValues control panel addin

csvGEMS2Members0: bulk load

Managing Editors see these extensions from the plugin Import menu item

csvGEMS2Members1: bulk load

This particular extension knows how to read documents in comma separated values format, a pretty standard format exported by many spreadsheets and databases. CSV documents always have a first line which contains the names of the variables separated by commas. *Interestingly, the German version of Excel has a bug where it writes ; characters instead of , characters). The extension tries to match these names to variables defined as member variables in addedValues.

csvGEM2Members6:

addedValues is able to recognise names defined in the custom prefs Xml (editors ->prefs) and seen in the signup and profile form

memberexport7: bulk load memberexport6: bulk load

When the Managing editor elects to use this extension, he is asked to locate the csv document that he wants to use. He is expected to load it as a GEM, then to select the gem, and configure the import (click images to view fullsize version)

csvGEMS2Members2: bulk load csvGEMS2Members3: bulk load csvGEMS2Members4: bulk load

which might produce

csvGEMS2Members5: bulk load

So this is a way to create or modify member records.

One important point. addedValues will not allow passwords to be member variables. If there is a column called password in the csv file, it will actually generate an error because the extension won't find a matching variable. If a new member record is created, a random password will be generated and emailed out to the new user in the standard Manila way. If the member already exists, the password remains unchanged.

The extension never deletes members, it simply marks them blocked. Unless they are some type of editor (managing, contributing or content) members whose keys do not appear in the gem can be blocked by choosing the "Block Members not listed in GEM" radio option.

A managing editor can decide to dis-allow new member signup using the standard Manila options. If he does not members can signup and log on in the normal way. Members can also use the standard Manila urls to modify their personal details.

So how does the external database get updated with these changes? Answer, by exporting the membership into a csv document. The format of the document can be decided at the time of import by telling the save the layout as a report. An addedValue report is template for output, and typical Manila website might many of these, so there is a managment page

memberexport4: bulk load

and a detail page

memberexport5: bulk load

When the Managing Editor starts an export, he selects a report

Member export1: bulk load

chooses some options

Member export2: bulk load

to get the response

member export3: bulk load

That's it.