Comments (7)
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:
from events-made-easy.
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.
This should fix it:
312183c (1-line change in eme-people.php ==> if it does, please provide feedback)
from events-made-easy.
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.
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.
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.
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)
- The booking form is no longer displayed HOT 1
- Custom field "JavaScript date" decrements by one day with each submission of the form where used HOT 24
- Strange thing since last update HOT 6
- RE Captcha doesn't work HOT 5
- Plugin update through Wordpress not working HOT 4
- Error when copying an event HOT 2
- replies-to always the email from the admin HOT 2
- sorting on the 'membership' column returns nothing HOT 1
- Issues with mailing to unpaid bookings HOT 1
- Calendar links not showing HOT 4
- Stripe payment submit/redirect stopped working HOT 1
- Issue with mailing HOT 8
- Issue with the payment button HOT 8
- Impossible to update to the last version 2.4.51 HOT 1
- The "Cleanup action" form is confusing in Swedish translation HOT 1
- event frontend submit form and custom fields HOT 15
- Error WP with the last update HOT 2
- Revise error message in "eme-locations.php" for error while importing HOT 2
- Programming an event from the frontend does not save the correct times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from events-made-easy.