Page 1 of 2

See Members of a group?

Posted: Wed May 16, 2007 8:35 pm
by carnini
I have created some groups in serendipity, is there a way to show who is in that group on the front end? Very much like in phpBB if you are part of a group you can see other member of it. I created a blog and would like members to see who is in their particular group.
thanks
chris

Re: See Members of a group?

Posted: Thu May 17, 2007 2:44 pm
by garvinhicking
Hi!

There currently is no plugin to do that, but it would not be very hard to create one.

I would offer you to create it, if you can give me more input on how and where you'd like the output to look like. Like, if you want the output in the sidebar, or in the content.

I could also implement that functionality into the "User Profiles" plugin, which shows author information if you click on an author.

Maybe you'd like to build some dumym HTML pages or screenshots to tell me how it should look like, and then I'll create it. :-)

(Might take me though until next week to get started, because we have a small holiday season here in germany this weekend)

Best regards,
Garvin

Re: See Members of a group?

Posted: Thu May 17, 2007 4:18 pm
by carnini
garvinhicking wrote:Hi!

There currently is no plugin to do that, but it would not be very hard to create one.

I would offer you to create it, if you can give me more input on how and where you'd like the output to look like. Like, if you want the output in the sidebar, or in the content.

I could also implement that functionality into the "User Profiles" plugin, which shows author information if you click on an author.

Maybe you'd like to build some dumym HTML pages or screenshots to tell me how it should look like, and then I'll create it. :-)

(Might take me though until next week to get started, because we have a small holiday season here in germany this weekend)

Best regards,
Garvin
That would be really great. I work at a school and have been looking into using this blog system but I think the kids would really like to be able to see people in their own blog groups. I will work on some dummy html pages for that. I am thinking very similar to how phpBB does groups.

Re: See Members of a group?

Posted: Fri May 18, 2007 9:01 pm
by garvinhicking
Hi!

Okay! I believe if you can make it a bit easier (like not so many sub-pages - instead put information on a single page) then it would not be so much coding effort.

Since serendipity has no frontend group management, I think we could ease it up a little. :)

Looking forward to your input,
Garvin

Re: See Members of a group?

Posted: Mon May 21, 2007 3:31 pm
by carnini
garvinhicking wrote:Hi!

Okay! I believe if you can make it a bit easier (like not so many sub-pages - instead put information on a single page) then it would not be so much coding effort.

Since serendipity has no frontend group management, I think we could ease it up a little. :)

Looking forward to your input,
Garvin
Gavin,
Ok sounds good, not sure if you just want some images of what was thinking of? I can work on those and post them in this thread.
thanks for all your help

Re: See Members of a group?

Posted: Mon May 21, 2007 3:48 pm
by garvinhicking
Hi!

Yes, some simple images should be sufficient! :)

Just remember, the easier you make it, the fast I can code it for you :)

Regards,
Garvin

Re: See Members of a group?

Posted: Mon May 21, 2007 4:25 pm
by carnini
garvinhicking wrote:Hi!

Yes, some simple images should be sufficient! :)

Just remember, the easier you make it, the fast I can code it for you :)

Regards,
Garvin
Garvin,
Here is what I was thinking, the front page having a link
Image

Then the actual group page being very much like the group listing in phpbb, which I have found easy to add other columns in. Right now I am using the profile plugin for serendipity and doing it like this makes me think it would be easy to pull back additional fields I am hoping
Image

If there is anything I can do to help out please let me know.
Chris

Re: See Members of a group?

Posted: Mon May 21, 2007 4:36 pm
by garvinhicking
Hi!

That's perfect! I'll start working on this, I suppose you should have results at the end of the week.

Best regards,
Garvin

Re: See Members of a group?

Posted: Mon May 21, 2007 5:49 pm
by carnini
garvinhicking wrote:Hi!

That's perfect! I'll start working on this, I suppose you should have results at the end of the week.

Best regards,
Garvin
That would be super !!! I think it would be a great plugin to have and I can imagine a lot of people would like a feature like that.

Re: See Members of a group?

Posted: Thu May 24, 2007 4:04 pm
by garvinhicking
Hi!

I just committed a very simply version of this to the Userprofiles plugin (available via Spartacus) in version 0.22.

It has now a new template file 'plugin_groupmembers.tpl' that can be customized to indicate the look of the resulting page.

You can call it via:

http://yourblog/index.php?serendipity[s ... erprofiles

once the plugin is installed. So you could add a link to that page to a HTML nugget plugin for example to reach the page.

HTH,
Garvin

Re: See Members of a group?

Posted: Thu May 24, 2007 7:35 pm
by carnini
garvinhicking wrote:Hi!

I just committed a very simply version of this to the Userprofiles plugin (available via Spartacus) in version 0.22.

It has now a new template file 'plugin_groupmembers.tpl' that can be customized to indicate the look of the resulting page.

You can call it via:

http://yourblog/index.php?serendipity[s ... erprofiles

once the plugin is installed. So you could add a link to that page to a HTML nugget plugin for example to reach the page.

HTH,
Garvin
Garvin,
that is totally great. I just upgraded to user profile plugin to .22 (love that auto update) on the test site I am using. I am not exactly sure how to implement it.
I did a search on the remote directory and didn't see the .tpl file you mentioned.
sorry for so many questions, I am very new to serendipity but it seems like a great system

Re: See Members of a group?

Posted: Fri May 25, 2007 12:46 pm
by garvinhicking
Hi!

You should get that .tpl file in your

plugins/serendipity_event_userprofiles/

directory.

Then you can call the URL via:

http://yourblog/index.php?serendipity[s ... erprofiles

and it will display your template. You can call the URL already now, because the default template should display what you want already. :)

Regards,
Garvin

Re: See Members of a group?

Posted: Thu May 31, 2007 2:43 pm
by carnini
garvinhicking wrote:Hi!

You should get that .tpl file in your

plugins/serendipity_event_userprofiles/

directory.

Then you can call the URL via:

http://yourblog/index.php?serendipity[s ... erprofiles

and it will display your template. You can call the URL already now, because the default template should display what you want already. :)

Regards,
Garvin
I'll give that a try,
was on a long holiday here so just got back.
thanks
chris

Re: See Members of a group?

Posted: Thu Jun 07, 2007 9:57 pm
by carnini
garvinhicking wrote:Hi!

You should get that .tpl file in your

plugins/serendipity_event_userprofiles/

directory.

Then you can call the URL via:

http://yourblog/index.php?serendipity[s ... erprofiles

and it will display your template. You can call the URL already now, because the default template should display what you want already. :)

Regards,
Garvin
Just updated it again and it brought over all the files which I don't think it did last time. Sorry to be a bonehead but I can't seem to figure out how to get the show group function to work.

my test Serendipity setup is here:
http://nmhdev.com/serendipity/

I tired but I am jsut not getting how I can get the user profiles to work. I have two users in the group that is linked to the 1957 N category.

I do see on the backend when I install the plugin it looks like it is listed twice, maybe that is why it doesn't seem to be working at all anymore , I can't see my profile info anymore either.
Any help would be greatly appreciated.
thanks
chris

Re: See Members of a group?

Posted: Fri Jun 08, 2007 11:17 am
by garvinhicking
Hi!

You need to delete one instance from the plugin configuration. You are only allowed to have that plugin once!

Did you check if maybe on your server there are multiple directories with that plugin and it still has the old one as well?

Regard,s
Garvin