-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.4.44 implemented #_IS_USER_IN_GROUP for Dynamic Groups but broke #_IS_USER_IN_GROUP for registered groups in EME #560
Comments
This should fix it: |
That helped for single group. --> [eme_if tag='#_IS_USER_IN_GROUP{Admins,Moniteur,Assistant}' value='1'] --> Not Working |
That seems to be working fine here ... can you test further with the just released version? Also: check your php error logfiles, if there's an issue some error (php or mysql) should be logged somewhere (if you log errors to file, which of course everyone should) |
Nothing specific in error_log But I reverted this change: ef53a2f and it's working again with 2.4.45 and only this reverted change |
ok, I see ... it is because you specify the group names, not their id's. The old code worked unintentionally :-) |
I made the page that uses these placeholders long time ago, and the documentation (https://www.e-dynamics.be/wordpress/generic-placeholders/) say "called xxx" so i assumed that was only their names, not ids :) Thanks for the modfication |
It might very well be that I did it like it was before just for this reason, but I didn't document it :-) So now the code is better documented too, this can now be closed. |
Describe the bug
Hello Franky
Since 2.4.44 update
This line always return 0:
[eme_if tag='#_IS_USER_IN_GROUP{Admins,Agility,Chiots,GroupeA,GroupeB,GroupeC,Assistant,Moniteur}' value='0']
Fallback to 2.4.43 and its OK
The text was updated successfully, but these errors were encountered: