happycog / VMG-Chosen-Member

VMG Chosen Member - Fieldtype for Expression Engine 2 and 3
http://vectormediagroup.com
23 stars 11 forks source link

Chosen Member Field Incorrectly Autopopulating #26

Closed matthewpepin closed 6 years ago

matthewpepin commented 6 years ago

We have two VMG Chosen Member fields, and they are configured the same as far as I can tell, but one is autopopulating with the same member each time we open a new entry, but it is not for the other one.

See attached screenshots

https://prnt.sc/jcy3hq https://prnt.sc/jcy385

lukewilkins commented 6 years ago

@matthewpepin Can you let me know what version of EE and VMG-Chosen-Member you are using?

matthewpepin commented 6 years ago

Mr. Wilkins,

It turned out that there was a line in the database that was creating that default value. We corrected that and it is no longer populating with that member number anymore.

On Thu, May 3, 2018 at 9:53 AM, Luke Wilkins notifications@github.com wrote:

@matthewpepin https://github.com/matthewpepin Can you let me know what version of EE and VMG-Chosen-Member you are using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vector/VMG-Chosen-Member/issues/26#issuecomment-386303136, or mute the thread https://github.com/notifications/unsubscribe-auth/AfkCLgVoB6XTjLBUk3WTlonIQ4IXFTTwks5tuwvJgaJpZM4TwfM4 .

--

Matt Pepin, Designer & Developer [image: ADA-Signature-webmachines] http://alariedesign.com/ 260 E. Plant Street Winter Garden, FL 34787 alariedesign.com [image: Like Us on Facebook!] https://www.facebook.com/AlarieDesign/ [image: Follow Us on Twitter!] https://twitter.com/alariedesign [image: Connect on Google+!] https://plus.google.com/111859756146748898263/posts [image: Connect on Linkedin!] https://www.linkedin.com/company/alarie-design-associates-inc. matt@alariedesign.com josh@alariedesign.com Phone: (407) 656-8879 <407.656.8879> Fax: (407) 656-4502 <407.656.4502> ADVERTISING / BRANDING / MARKETING / WEB / VIDEO

©2017 Alarie Design Associates, Inc. Alarie Design Associates, Inc. retains ownership of all creative execution unless and until such ownership is transferred in writing to the client. The client buys the right to use any artwork herein on a single use basis. All other usage of artwork herein by the client must be cleared by Alarie Design Associates, Inc. A fee may be chosen and set for additional usage. Permission must be obtained from Alarie Design Associates, Inc. for any production or transfer of files.

lukewilkins commented 6 years ago

Ok, great. Glad you were able to get that resolved!

matthewpepin commented 6 years ago

Can I bother you with another question? I have an if statement I want to execute with VMG Chosen member. I think the best way to explain it is just to show you the code. There are three possible outcomes.:

{exp:vmg_chosen_member:assoc_entries field="allowed_users" member_id="{member_id}" limit="99999" } {if channel_id == 8}

{if user_no_results}

You currently have no reports available. Please contact us if this is an error.

{/if}

{if total_results == "1"} {redirect="/client_access/{url_title}/r=1"} {/if}

{title}

{/if}

{/exp:vmg_chosen_member:assoc_entries}

mrw commented 6 years ago

@matthewpepin I know Derek was helping you a bit in EE slack -- did you get it figured out after that?

matthewpepin commented 6 years ago

No, I'm afraid. I didn't get it.

On Thu, May 3, 2018 at 11:53 PM, Matt Weinberg notifications@github.com wrote:

@matthewpepin https://github.com/matthewpepin I know Derek was helping you a bit in EE slack -- did you get it figured out after that?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vector/VMG-Chosen-Member/issues/26#issuecomment-386499881, or mute the thread https://github.com/notifications/unsubscribe-auth/AfkCLmrJeqSzS0kC82NfiDqQrVipMFd7ks5tu9CtgaJpZM4TwfM4 .

--

Matt Pepin, Designer & Developer [image: ADA-Signature-webmachines] http://alariedesign.com/ 260 E. Plant Street Winter Garden, FL 34787 alariedesign.com [image: Like Us on Facebook!] https://www.facebook.com/AlarieDesign/ [image: Follow Us on Twitter!] https://twitter.com/alariedesign [image: Connect on Google+!] https://plus.google.com/111859756146748898263/posts [image: Connect on Linkedin!] https://www.linkedin.com/company/alarie-design-associates-inc. matt@alariedesign.com josh@alariedesign.com Phone: (407) 656-8879 <407.656.8879> Fax: (407) 656-4502 <407.656.4502> ADVERTISING / BRANDING / MARKETING / WEB / VIDEO

©2017 Alarie Design Associates, Inc. Alarie Design Associates, Inc. retains ownership of all creative execution unless and until such ownership is transferred in writing to the client. The client buys the right to use any artwork herein on a single use basis. All other usage of artwork herein by the client must be cleared by Alarie Design Associates, Inc. A fee may be chosen and set for additional usage. Permission must be obtained from Alarie Design Associates, Inc. for any production or transfer of files.