See Members of a group?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

See Members of a group?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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
carnini
Regular
Posts: 10
Joined: Wed May 09, 2007 10:43 am

Re: See Members of a group?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: See Members of a group?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply