Comments (10)
It is currently not possible, but not that difficult to add though. Problem is more that I do not know the field name of any custom (meta) field in the WP profile, so that would be up to you to figure out (and there's a difference with default wp fields and all custom fields, WP is kind of lacking in profiles).
Currently marked as feature request.
from events-made-easy.
Cheers Franky - appreciate you having a look at it.
Out example could be Role Type, so if a user selects Role Type 1 on their WordPress registration they're shown one template dynamically, then if they select Role Type 2 they'd be shown another.
I'm happy to have a go at figuring out the custom (meta) fields if you're able to start me off? Happy to test it too if you're planning on implementing it.
from events-made-easy.
Currently the dev-version has this change:
Add generic placeholders #_WPUSERDATA{xx} and #_WPUSERMETA{xx}
meaning you can get the value of user data (main wp profile info) and meta (other fields) info.
from events-made-easy.
This is fantastic, thanks Franky - can't wait to test it out.
from events-made-easy.
Feel free to download the zip from github then :-)
from events-made-easy.
I'm not that familiar with github, I can see the 2.3.58 release to download but can't see the dev version.
from events-made-easy.
Go to "code" and there click on the green button to download a zip. The url to the dev-zip is always this:
https://github.com/liedekef/events-made-easy/archive/refs/heads/main.zip
from events-made-easy.
I'll close this now. Feel Free to react if not working as expected.
from events-made-easy.
Hi Franky,
Sorry it's taken so long to get back to you. This does pull some detail in but not all.
For example, using the code:
`
#_SEATS
First Name*: | #REQ_FIRSTNAME |
---|---|
Last Name*: | #_LASTNAME |
E-Mail*: | #_EMAIL |
WPUSERDATA: | #_WPUSERDATA{role} |
WPUSERMETA: | #_WPUSERMETA{role} |
WPUSERDATA: | #_WPUSERDATA{nickname} |
WPUSERMETA: | #_WPUSERMETA{nickname} |
WPUSERDATA: | #_WPUSERDATA{last_name} |
WPUSERMETA: | #_WPUSERMETA{last_name} |
This brings in the user nickname or last_name whether WPUSERDATA or WPUSERMETA is used, but neither of them bring in the user role. I've tried using roles but when loading the event after using roles I see the error There has been a critical error on this website and the page doesn't render correctly. Removing 'roles' resolves this problem.
I've also tried pulling in bp_member_type, that doesn't return a value but is a column header when I try exporting user data into a csv.
Hope you can help.
Thanks.
from events-made-easy.
roles is an array, and printing that will probably cause the error. Try this:
ad5305c
from events-made-easy.
Related Issues (20)
- after the Update the Placeholder do not fill out anything Example: https://www.pfadiriko.ch/events/uebertritt-21-10-2023 HOT 1
- Event not displaying in EME but is visible to public HOT 5
- Facebook Import HOT 1
- empty variable in eme-payments-.php HOT 1
- v2.4.13 release zip contains 2.4.12 version code HOT 2
- Unable to have "-" in front of numbers for Permalink HOT 3
- Installation: syntax error eme-filters.php on line 231 HOT 2
- scope problem HOT 1
- Publish date is always publish date, not event date in RSS HOT 3
- Warning: Undefined variable $res in /wp-content/plugins/events-made-easy/eme-rsvp.php on line 3191 HOT 1
- "Booking Pending Email" for Contact Person not being sent HOT 1
- Bug with PHP 8.2 HOT 7
- Generic email not sending HOT 2
- Missing shortcode [eme_edit_member_form] HOT 7
- text or name search in filterform HOT 4
- Offline Payment Option not showing HOT 2
- Event page hangs if selecting Single Event Format in Single Event Title dropdown HOT 12
- WP Data not retrieved in the eme_add_member_form HOT 3
- Placeholder issue #_FIRSTNAME HOT 9
- wpdb::prepare was called incorrectly HOT 11
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.