We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

NG! Member List -- new fieldtype for FieldFrame

Development and Programming

NG!'s avatar
NG!
2 posts
16 years ago
NG!'s avatar NG!

Hello everyone:

I just released my first Expression Engine plugin/extension. It was needed on a recent project to associate entries with member data to create a basic product relationship, but I can definitely see this being useful in other applications (ie. family relationship, Emily Post etiquette seating charts, etc).

I consider this the logical next step beyond LG Member List as it offers more flexibility through the magic of FF Matrix and group_id restrictions.


NG! Member List

NG! Member List is a FieldFrame field type for Expression Engine. It dynamically populates a select with a member list based off your pre-determined configuration.

Download 1.1.2: http://labs.nakedgremlin.com/ee/ng_member_list/


Changelog

1.1.2 (2009-10-09)

  • Initial public release

Please let me know if you find this useful.

Thanks.

       
lealea's avatar
lealea
202 posts
16 years ago
lealea's avatar lealea

This is pretty awesome, and I can see this becoming very very useful. Is there any plan in the future to make things even more granular? Say, we only need to show 4 names from 1 member group, not all (especially if it’s a giant member group)?

I’d just rather not create several new member groups just to accommodate granularity.

       
NG!'s avatar
NG!
2 posts
16 years ago
NG!'s avatar NG!
Is there any plan in the future to make things even _more_ granular? Say, we only need to show 4 names from 1 member group, not all (especially if it’s a giant member group)?

That’s an interesting idea. I do fear performance hitches on the admin area for a hyper-large user base (to select the specific members via a multiselect would be an awful experience). I’ll look into it and see if this is a possibility. Thanks for the feedback.

       
lealea's avatar
lealea
202 posts
16 years ago
lealea's avatar lealea

I also ask this because it’s currently impossible to have one member under multiple member groups as well. I can assign new members with the same name but not the same email to another member group.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

lealea, actually you can assign multiple member accounts with the same email address, but you have to set EE to allow it.

       
lealea's avatar
lealea
202 posts
16 years ago
lealea's avatar lealea

Sorry for my ignorance but where can I do this? I have been trying to do a search but have not found anything.

       
birdie's avatar
birdie
68 posts
16 years ago
birdie's avatar birdie

Hi NG!

I have installed your fieldtype but instead of the Member Name (“Some Name”) the output is the member_id (“3”). Any ideas?

Edit: Just to clarify, the Screen Name appears in the dropdown in the CP, but the member_id appears on the template.

Cheers,

Cormac

       
NG!'s avatar
NG!
2 posts
16 years ago
NG!'s avatar NG!
I have installed your fieldtype but instead of the Member Name (“Some Name”) the output is the member_id (“3”). Any ideas? Edit: Just to clarify, the Screen Name appears in the dropdown in the CP, but the member_id appears on the template. Cheers, Cormac

Hi Cormac:

This is the correct behavior.

Like the other FieldFrame fieldtypes, this only saves the identifier for the member (in this case the ‘member_id’). It is up to your front end to determine how that member_id is handled.

For instance, on some of our projects, we pass that info to Solspace’s User module to get the relevant user data.

NG!

       
birdie's avatar
birdie
68 posts
16 years ago
birdie's avatar birdie

Yeah, I was just not thinking it through last night, it makes much more sense to have it that way. Cheers!

       
outline4's avatar
outline4
271 posts
16 years ago
outline4's avatar outline4

this is very handy! but: could you specify the parameters and variables that are available? I was quite astonished that there was no example whatsoever…

thanks stefan

       
outline4's avatar
outline4
271 posts
16 years ago
outline4's avatar outline4

ha ha… I found out myself:

here’s a working example: Tag Pair:

{if your_custom_field}
    {your_custom_field}
        {if {row_count} == 1}<h3>Title</h3><ul>{/if}                
            <li><a href="#">{your_col_name}</a></li>
        {if {row_count} == {total_rows}}</ul>{/if}
    {/your_custom_field}
{/if}

your_col_name outputs the member_id

Single Tag:

{your_custom_field}

outputs a table with col_label as Heading and Member_id’s as table cells

       
deckard97's avatar
deckard97
137 posts
16 years ago
deckard97's avatar deckard97

Could NG! Member List be used to add a Member List pull down menu custom_field for the Photo Gallery?

       
Farm.Co's avatar
Farm.Co
38 posts
16 years ago
Farm.Co's avatar Farm.Co

Nice idea!

Do you think users could check/uncheck their names as selected from a saef? This would come really handy to keep record of attending members on events…

       
Farm.Co's avatar
Farm.Co
38 posts
16 years ago
Farm.Co's avatar Farm.Co

BTW: I just notice it only allows you to select a single member. Is there any setting to make it a multiple select field?

       
Gareth Davies's avatar
Gareth Davies
491 posts
16 years ago
Gareth Davies's avatar Gareth Davies

Loving this extension.

However, I’m getting duplicate entries in the drop down list - lists the same name 10 times for each member.

Anyone else got this problem?

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.