Giter VIP home page Giter VIP logo

Comments (7)

liedekef avatar liedekef commented on August 13, 2024 1

ok, I see ... it is because you specify the group names, not their id's. The old code worked unintentionally :-)
The change you reverted is ok, but less efficient if someone uses lots of group ids. This change should help too:

9823ff8

from events-made-easy.

liedekef avatar liedekef commented on August 13, 2024 1

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.

from events-made-easy.

liedekef avatar liedekef commented on August 13, 2024

This should fix it:
312183c (1-line change in eme-people.php ==> if it does, please provide feedback)

from events-made-easy.

MichaelWybo avatar MichaelWybo commented on August 13, 2024

That helped for single group.
Found out that the problem is also the fact that there is more than 1 group

--> [eme_if tag='#_IS_USER_IN_GROUP{Admins,Moniteur,Assistant}' value='1'] --> Not Working
--> [eme_if tag='#_IS_USER_IN_GROUP{Admins}' value='1'] --> Working

from events-made-easy.

liedekef avatar liedekef commented on August 13, 2024

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)

from events-made-easy.

MichaelWybo avatar MichaelWybo commented on August 13, 2024

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

from events-made-easy.

MichaelWybo avatar MichaelWybo commented on August 13, 2024

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

from events-made-easy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.