Re: [tw] Re: tspace: how list members?

2010-10-14 Thread FND
 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.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: tspace: how list members?

2010-10-14 Thread Tobias Beer
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.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: tspace: how list members?

2010-10-13 Thread Tobias Beer
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 ask 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.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: tspace: how list members?

2010-10-13 Thread Tobias Beer
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.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: tspace: how list members?

2010-10-13 Thread twgrp
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.)

:-)


On Oct 13, 11:25 pm, Tobias Beer beertob...@googlemail.com wrote:
 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.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.