Events Made Easy Forums Bug fixed or feature request implemented group_id ignored in eme_people if template_id given and group empty

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #60693
    Anonymous
    Inactive

    Hello,

    I have a template that contains the following code:
    [eme_people group_id=1 template_id_header=33 template_id=46 template_id_footer=34]
    The Group with id 1 is empty right now but on the page are shown all the EME people.
    If I remove the part ‘template_id=46’ nothing is shown – as I would like it.
    Content of the template 46 is:
    <li class="liste_superviseurs"><a href="https://www.....org/author/#_NICKNAME">#_FIRSTNAME</a></li>
    If I use another group ID where the group has members then only those are shown correctly.

    So I guess there is something wrong on dealing with empty groups. I would like to already impliment the code before the first person is add to the group.

    #60694
    Franky
    Keymaster

    Could you check if this change fixes things:
    https://plugins.trac.wordpress.org/changeset/2226079/

    #60695
    Anonymous
    Inactive

    Yes, seems to work. Thank you very much again for your fast and helpful reaction.

    #61066
    Anonymous
    Inactive

    It looks like this phenomenon is occuring again.

    #61067
    Franky
    Keymaster

    If I take a group with 0 members, I get nothing rendered as expected.

    #61087
    Anonymous
    Inactive

    Like in most of the cases it was human failure. My code actually contains group_id=’#_ATT{emegroupid}’ and I forgot to set this attribut in the new event. Now it is working fine. But might be also some kind of error worth to intercept?

    #61090
    Franky
    Keymaster

    Well, I check if group_id contains something or not. In your case it was an empty string, so that’s why everyone was being shown.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top