[pmwiki-users] New ZAP Profile Vars...

The Editor editor at fast.st
Thu May 31 08:11:41 CDT 2007


Just released a minor upgrade to ZAP which fixed a couple minor bugs
and added a couple new features.

First, a $ZAPfieldlabel[$field] can be set in a config file to
override form field names in the "required fields missing' error
message with a more user friendly label.

Second, more interestingly, just added a new shortcut which allows you
to pull member profile data into a wiki page using a new shortcut
notation.

    {~Country} -- Current Member
    {~Caveman$:Country} -- Specified Member

If you are not familiar with ZAP's member management system, it allows
users to create their own profile pages and store various profile
information in them as PTV's. This feature just adds a simple shortcut
that allows that data to be easily accessible throughout your wiki.
It can be implemented without ZAP by a half dozen lines of code or so,
and I'd be happy to share it with anyone interested, but it's not much
use without a good member management system, along the lines of what
ZAP offers.

On the subject of member management, it would be nice if PmWiki had
something similar to ZAP's approach, as it really is a fantastic way
to do member management. And it wouldn't be hard to do without ZAP now
that Pm's form processing capabilities are becoming a bit more
flexible.

In fact, if Pm should only add to the core an option for ZAP's default
login approach tied to encrypted password field in a users profile
page. It seems that's about all you would really need to replicate
ZAP's basic member management system. Just a thought for those who
don't really want all the fire power in ZAP.

Cheers,
Dan



More information about the pmwiki-users mailing list