tspace: how list members?

0 views
Skip to first unread message

twgrp

unread,
Oct 13, 2010, 4:56:55 PM10/13/10
to TiddlyWiki
How do I for
http://tiddlyworld.tiddlyspace.com/#Members

1) show a list of all added members?
2) make it possible for a visitor to somehow announce that he/she
wants to be added as a member?

Thank you

:-)
Message has been deleted

Tobias Beer

unread,
Oct 13, 2010, 5:25:15 PM10/13/10
to TiddlyWiki
as for 1) ...the list of members can be seen in the backstage area to
the topleft

as for 2) ...I guess you'll have to either provide...

*a link to some discussion thread where one could say "add
me" (simplest)
*some email adress (not so good)
*a (hosted) contact form so one send you an email in order to ask you
to be added

Personally, as for the moment and near future, I think it were best if
those members would be known ones from around here or at least have
introduced themselves.

Cheers, Tobias.

twgrp

unread,
Oct 13, 2010, 8:39:21 PM10/13/10
to TiddlyWiki
For 1), yes I know of the backstage member listing, but the idea was
to be able to present members more prominently and perhaps also
manipulate such a list - "Tobias Beer - theme creator, ..."

For 2) yeah... I was hoping there was some smooth integrated way,
maybe via those discussion plugins of late. Do they all require that
you're already a member to be able to add something? (Those star-
rating plugins lets user rating be saved without any loggin in, no?
I've never used one, in tw)

...and a third yes; for the moment I agree only established members
should be added, but then again, I think only established members have
tiddlyspaces. It is still pretty much hidden from the world I would
say. (Should you, or anyone, see any inappropriate name in the member
list, feel free to delete it. After all, we are only 3 people
contributing so far so the others merely serve as invitations.)

:-)

FND

unread,
Oct 14, 2010, 4:42:55 AM10/14/10
to tiddl...@googlegroups.com
> For 1), yes I know of the backstage member listing, but the idea was
> to be able to present members more prominently and perhaps also
> manipulate such a list - "Tobias Beer - theme creator, ..."

You can retrieve the list of members fairly easily:

var callback = function(members, status, xhr) {
// do stuff with members array
};
var errback = function(xhr, error, exc) {
var msg = xhr.status == 403 ? "unauthorized" : "error";
// do stuff with error message
};
var space = config.extensions.tiddlyspace.currentSpace.name;
var host = config.extensions.tiddlyweb.host;
var space space = new tiddlyweb.Space(space, host);
space.members().get(callback, errback); // asynchronous request

In the callback, you can do whatever you please with the data - e.g.
combining it with descriptions from local tiddlers.
(If you're new to asynchronous programming, you might wanna read up on
jQuery's ajax function.)

Code in context:
http://github.com/TiddlySpace/tiddlyspace/blob/master/src/plugins/TiddlySpaceMembers.js


-- F.

Tobias Beer

unread,
Oct 14, 2010, 8:44:07 AM10/14/10
to TiddlyWiki
Thanks for the tip FND, it's in my notebook.

To answer twgrp, one could have an extra "members" tiddler that
contains slices to describe a users role in TiddlyWorld and use the
function from FND to populate a list with this information. Members
for which there are no such slices might be put under a
"status:invited" section.

As for wanting to become a member... as there is no offical way to do
this today - although there should be one - I would suggest to use an
external service that allows one to send a message, subscribe or
otherwise add ones username to some list which notifies you that there
is such a user.

On the other hand... in combination with the above function one could
have a look at all "followers" of TiddlyWorld and if not yet in the
members list, add them... but then, following a space should not be
automatically interpreted as wanting to be a member.

Cheers, Tobias.
Reply all
Reply to author
Forward
0 new messages