Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
The widget is not related in any way to the event currently being viewed, so it has no knowledge of the event id to be used.
Mayne I could add that (it is not that difficult …), this is the relevant part of the code to be used to detect:if (eme_is_single_event_page()) $event_id = intval(get_query_var('event_id'));
So, adding a placeholder like #_CURR_EVENT_ID (or something else, I’m open for suggestions), that could return the event id of the event currently shown.
FrankyKeymasterAlthough you could use the name to set CSS values, I added it:
http://plugins.trac.wordpress.org/changeset/1249163FrankyKeymasterThe end-time was a typo, see this:
http://plugins.trac.wordpress.org/changeset/1247949
and, for the leading zeros for minutes to be correctly removed:
http://plugins.trac.wordpress.org/changeset/1247948But: I added a test123 recurrent event: no issues (except the end-time typo fix needs to be done)
FrankyKeymasterThe shortcode is interpreted before the placeholders so that’s why it isn’t working.
FrankyKeymasterCould you send me an admin account, so I can see for myself? Mail me at liedekef@telenet.be
FrankyKeymasterWorks fine here.
Don’t be mistaken: when clicking the “recurrence” checkbox, the recurrence date shows before the event date. Look at the titles of the fields you’re completing.FrankyKeymasterI just tried the current version with your “Event1” link, and it only creates the location once.
Of course, another event with the same location name but not-empty values for address/town will cause another location to be created.
However that only happens once, and is correct imho. What you can do is set “Skip synced events and locations” at yes, so then you can update the event to point to the correct location and even delete the empty location.FrankyKeymasterAlthough I could do that, I don’t support creating locations without address info in EME (although I seem to support it when creating the location via the facebook import).
In my opinion, a location “name” without further info is not really a location …FrankyKeymasterIndeed, the discount group should have an extra option to indicate how many discounts can be applied.
For the text description : it should indicate e.g. the text of the coupon (coupon code), not a description of the discount.FrankyKeymasterI’m thinking about creating a new section, called Discounts
There you’d be able to define a discount:
– the name
– dropdown for type of discount: percentage, fixed value, code
– discount text label value (optional, and I need to find a better way of describing this field, but it would correspond with the gift certificate you described). If empty: only the type “code” can apply (since the percentage or fixed values would apply all the time then, it is logical to just lower your price …)
– discount value (corresponding with the discount type)
– discount count (how many times this can be used: 0 for infinite times, the database table would need an extra column for keeping track of how many times the discount has been applied)Then I could link this to an event (by editing the event and selecting via a dropdown the discount) and then do all the checks:
– if there’s a discount textfield, check the value of a new #_DISCOUNT form field
– check the discount count
– evaluate the discount code if that is the discount type (some kind of eval, but it might be too complicate)
– check for a possible new hook that allows you to change the whole discount logic (pass the discount id as optional value too, so you can create different logics). Maybe this hook should only be used if the discount type is “code”
– save the calculated discount in a new column per booking
– save the payed amount in a new column per booking, and set the “payed” status to “yes” if the amount payed equals the amount to pay for the booking minus the calculated discountIt is complicated to do, but would allow for the most flexibility. One issue to solve is how to define multiple “gift certificates” per event then …. still pondering
Edit: maybe also work with something called Discount groups (which groups different discounts together), that would allow multiple “gift certificates” per event. The discount group should have an extra option to indicate how many discounts can be applied (1 or more, 1 by default)
FrankyKeymasterIt is in the 1.5.45 release, and thanks for the donation.
FrankyKeymasterHmmm … I might have found the problem
Could you try this changeset (only the change to eme_events.php):Thu 10 Sep 2015 at 23:26 in reply to: Timezone problem (Blank screen) persists in version 1.5.44 #54845FrankyKeymasterHmmm … I might have found the problem
Could you try this changeset (only the change to eme_events.php):FrankyKeymasterSee this thread :
https://wordpress.org/support/topic/site-broked-after-update?replies=6You can see that it should work just fine with php 5.4
But I’ll release a new version today that also checks the php version.FrankyKeymasterThe pay-button only shows if you have defined one of the available payment gateways in the EME settings and then checked that gateway when creating/editing the event.
FrankyKeymasterA white screen (in fact nothing shows) means there is a php error. Look in the error logfiles of your server for the error.
But I still believe it us due to the php version used. Create a small php script in your wp dir and call phpversion() in it to check.FrankyKeymasterThat’s quite a lot 🙂
Could you try this version (seems to be working for me now):
http://plugins.trac.wordpress.org/changeset/1241984Reason for all this: I now try to be independant of what wordpress claims to be the timezone in the backend which is btw UTC, totally different from what is configured in your wp settings and thus causing lots of troubles. In the past I just set the timezone correct using the php function date_default_timezone_set, but wordpress doesn’t like that …
FrankyKeymasterThe paypal button shows after registration.
FrankyKeymasterI think you misunderstood me. Could you give me the facebook page you’re syncing from?
FrankyKeymasterCould you check if this changeset solves it for you (apply the marked differences, not download the whole files):
http://plugins.trac.wordpress.org/changeset/1241961FrankyKeymasterHmmm … I need to check that. But I can tell that a user is registered even before paying (which is logical).
FrankyKeymasterCan you show the facebook event in question? Maybe it contains timezone info and then that wins
FrankyKeymasterOk, for the sync plugin would you mind testing this:
http://plugins.trac.wordpress.org/changeset/1241840FrankyKeymasterNegative values fixed in 1.5.44
Now for the sync-plugin (which I think suffers from the same UTC-issue as found here)FrankyKeymasterwhich php version are you using? You need at least 5.4 (remember: 5.2 is out of support for several years already, but unfortunately still used by many providers)
FrankyKeymasterimported via eme, or via eme-sync-facebook-events?
I really need to remove it in eme itself 🙂FrankyKeymasterThanks for testing. Could you post the last one as a separate bug report? I’ll fix that this evening …
FrankyKeymasterI released a new version for the UTC-timezone variants (which is a wordpress weirdness …).
FrankyKeymasterDid you try to clean your browser cache? Because the colreorder plugin is the one that came with the new version of datatables, so it should work just fine. On which EME admin page do you have this error?
FrankyKeymasterWeird … normally that is included. Let me check that today
Tue 8 Sep 2015 at 22:55 in reply to: Multibooking related placeholders not working in Payments #54781FrankyKeymasterSince I got no reply, I assume this is fixed
FrankyKeymasterHow about just not showing the rsvp form if they already registered? The placeholder #_ADDBOOKINGFORM_IF_NOT_REGISTERED is there for that reason.
Sun 6 Sep 2015 at 23:23 in reply to: Multibooking related placeholders not working in Payments #54777FrankyKeymasterOk, since it is a multibooking issue, I think I found the problem.
Could you try to change the line 902 in eme_rsvp.php
from
$result = eme_replace_booking_placeholders($result, $event, $booking);
to
$result = eme_replace_booking_placeholders($result, $event, $booking,1);
?Sat 5 Sep 2015 at 23:36 in reply to: Multibooking related placeholders not working in Payments #54775FrankyKeymasterWhich section (setting) and placeholders are you talking about?
Make sure the setting “Show custom payment return page” is set, and then also “Add booking id to return page info”.FrankyKeymasterI feel your pain, but currently I have no solution for this.
Although I do like the ajax-solution as a whole, but it needs a lot of work (since I would need to replace whole parts of generated html every time, taken into account that multiple event lists can be on a page or even multiple calendars …). But this solution would solve problem of needing an extra page completely.FrankyKeymasterDatetime::diff is a function present in php 5.3 or newer. If you don’t have that function, it means that your php version is way too old.
FrankyKeymasterSome fb locations have no facebook id allocated, nor coordinates to use. The next version will have an extra possibility to also check the name+address before creating a new location, so no more doubles will be created then.
FrankyKeymasterThe booking ID is an auto-increment, so should *never* decrease or get re-used. This means something is wrong in the db …
FrankyKeymasterSorry, but that’s not going to work.
IMHO use a advertising plugin, those most of the time also have shortcodes that you can use on other pages …FrankyKeymasterI added placeholders #_EVENT_EXTERNAL_REF and #_LOCATION_EXTERNAL_REF, returning the external reference for an event or location (typically the facebook id)
Will be in the next version.FrankyKeymasterThat can only be achieved by coding it up yourself using the eme api calls.
Mon 3 Aug 2015 at 21:20 in reply to: Fix the Disconnect Between Registration Name and Cancelation Name #54743FrankyKeymasterUse the EME option “require WP membership” for that event, and then it will (or should) work just fine since then the WP user id is taken as reference.
FrankyKeymasterYou shouldn’t change any api settings AFAIK. But try the ipn tester : https://developer.paypal.com/developer/ipnSimulator
The ipn link to use can be found in the eme settings concerning PayPal.FrankyKeymasterTry with a regular page (not subpage), maybe indeed there are issues. Also refresh your permalink settings.
I’m leaving on holidays for 2 weeks, so support from me will be minimal 🙂FrankyKeymasterIf nothing logs, something else is wrong. You should check the webserver logfiles for possible hints. At paypal, you can also do tests towards your server to get logs.
But a small question: are you sure /calendar/events is the correct url for your events?FrankyKeymasterbtw: shortcode “events_list” has been renamed to “eme_events” some time ago, maybe update your template to use the new naming convention. I updated the doc 🙂
FrankyKeymasterTry this as content of the template:
[events_list scope=future limit=5 location_id=#_LOCATIONID]
and add indeed category=1 to the eme_locations shortcode to limit it to that category.FrankyKeymaster3 is not a valid permission. Try 777 to be sure.
FrankyKeymasterThe file only gets written if the webserver has access to that file.
The email only gets sent if your php installation knows how to correctly send mail.
Both cases are beyond my control, these things should get fixed first.FrankyKeymasterUse [eme_locations], see http://www.e-dynamics.be/wordpress/?cat=42
And then use a template to display events per location in the list. This template should contain for example:
[events_list scope=future limit=5 location_id=this_location]
FrankyKeymasterI think the time is there for a new release … since the next release contains the placeholder #_EVENTCATEGORIES_CSS, returning a space-separated list of categories. These can be used in your own links at will, and then you just need to add the css for each category name …
Sun 26 Jul 2015 at 23:39 in reply to: RSVP Form Not Working After Change of Primary Domain Name #54708FrankyKeymasterWhen editing an event, you’ll see it on the right side of your screen.
FrankyKeymasterI don’t know Visual Composer, so no idea …
Sun 26 Jul 2015 at 23:38 in reply to: Show time only on start date & end date for a multi day events? #54706FrankyKeymasterIt doesn’t work like that: the calendar loops through days, while for all intends and purposes, #_IS_STARTDATE would only be true the day the event starts and that day you would be looking at your site.
Currently, there is no possibility to transfer the managed calendar day to the event, and I’m not quite sure how to do it in a “good” way yet.Wed 22 Jul 2015 at 00:33 in reply to: RSVP Form Not Working After Change of Primary Domain Name #54682FrankyKeymasterIf the customer is receiving their mails, then mail works. Check the “author” of the event (the contact person that receives the mails).
Thu 16 Jul 2015 at 23:08 in reply to: RSVP Form Not Working After Change of Primary Domain Name #54678FrankyKeymasterCheck your mail settings, nothing more I can say about that.
Concerning the last name: #_RESPNAME is short for #_RESPLASTNAME. For all possible placeholders: http://www.e-dynamics.be/wordpress/?cat=27Thu 16 Jul 2015 at 14:23 in reply to: Beginner Question on using #_ commands…(i.e. #_SUBMIT, #_CAPTCHAHTML) #54676FrankyKeymasterIn your single event format settings, use the placeholder #_ADDBOOKINGFORM where you want the form to be shown, no seperate page needed.
See this also: http://www.e-dynamics.be/wordpress/?cat=8FrankyKeymasterGo to the bottom of the forum page http://www.e-dynamics.be/wordpress/?page_id=19755
Select your forum and then you can post in itFrankyKeymasterSee if these settings work for you:
By default enable registrations for new events
By default require approval for registrations
By default require WP membership to be able to register
Default number of spacesIf not: then it’s an error and they should be …
FrankyKeymasterSee the doc about hooks and filters:
http://www.e-dynamics.be/wordpress/?cat=41You could use the discount code example as a start (but of course add to the total, not reducing it)
FrankyKeymasterYou could try the following: check your webserver logfiles for possible errors, activate WP debugging and try again, use firefox web developer tools to see what happens at submit
Thu 9 Jul 2015 at 12:06 in reply to: How do I make my calendar widget look like the one on the e-dynamics website? #54616FrankyKeymasterIt is the same, but your CSS is resulting in different formatting …
FrankyKeymasterSeems fine to me. If the box turns grey, this means something else is intervening with the form submit … maybe you got a popup of some kind that you’re blocking, or some antispam feature being too strict …
FrankyKeymasterThis seems to be ok to me, and the return code too. So the paid status should get updated …
If not, you should try to capture the whole post request to see what happens.
Or you can activate logging by changing the following lines in eme_payments.php, lines 576 and following:$ipn->log_to_file = false; // write logs to file
$ipn->log_filename = ‘/path/to/ipn.log’; // the log filename (should NOT be web accessible and should be writable)// log to e-mail options
$ipn->log_to_email = false; // send logs by e-mail
$ipn->log_email = ”; // where you want to receive the logs
$ipn->log_subject = ‘IPN Log: ‘; // prefix for the e-mail subjectSet to ‘true’ for either filebased and/or email logging and change the other variables accordingly.
FrankyKeymasterSince it is only one person that can do the booking, use [eme_bookings] with a template that shows the answers per person. Normally #_FIELD{xx} also works in showing the info per booking, see this: http://www.e-dynamics.be/wordpress/?cat=27
FrankyKeymasterSorry, but the location and time are part of the event before the booking, not after …
You could try to use custom form fields though, and show the booking info to others.FrankyKeymasterNumber 2 is not very clear to me. But I think you’re looking for conditional tags:
http://www.e-dynamics.be/wordpress/?cat=24
and check for the value of #_RESERVEDSPACES and/or #_IS_REGISTERED:[eme_if tag='#_IS_REGISTERED' value='1'] You have already registered to host this event [/eme_if] [eme_if tag='#_IS_REGISTERED' value='0'] [eme_if2 tag='#_RESERVEDSPACES' gt='0'] This event is hosted [/eme_if2] [/eme_if]
Wed 1 Jul 2015 at 23:17 in reply to: Allow only the booking of one single seat and add link as field value #54594FrankyKeymasterThat you can change by using CSS …
Mon 29 Jun 2015 at 12:14 in reply to: Place the event image above Event Title on Single Event view? #54589FrankyKeymasterBecause of wordpress “loop” thingie, this is currently not possible.
One way would/could be the possibility to add a different template for single events. I need to look into that.FrankyKeymasterRight now the header/footer for the category list of events is the same as the generic event list format.
You could change that format to include the category description, and for other event lists you can use the templates.
Or, if you don’t want that: I implemented this:FrankyKeymasterA html5-date field would be easy to add …
FrankyKeymasterFYI, the following “old” code
$table = $wpdb->prefix."eme_events"; $s = mysql_real_escape_string($_REQUEST['s']); // The search key words $found_event = false; $query = "SELECT * FROM $table WHERE (event_name LIKE '%".$s."%') OR (event_notes LIKE '%".$s."%') ORDER BY event_start_date"; $events = $wpdb->get_results ( $query, ARRAY_A );
should be replaced by the “better” code:
$table = $wpdb->prefix."eme_events"; $found_event = false; $query = "SELECT * FROM $table WHERE (event_name LIKE '%%".$s."%%') OR (event_notes LIKE '%%".$s."%%') ORDER BY event_start_date"; $sql=$wpdb->prepare($query,$_REQUEST['s'],$_REQUEST['s']); $events = $wpdb->get_results ( $sql, ARRAY_A );
FrankyKeymasterMaybe more an issue with your Apple Calendar? Google calendar works just fine …
if you find any issues with the generated ical format, I can change them to suit everybody’s needs, but I don’t have Apple Calendar to test.Thu 4 Jun 2015 at 23:48 in reply to: Add ability to list attendees based on their wordpress user's Nickname #54265FrankyKeymasterTry if this change helps you:
http://plugins.trac.wordpress.org/changeset/1174843FrankyKeymasterThe problem is if they require the coupon code to be used only once …
so I think it needs to be a separate table with e.g.event id, coupon code, percentage or real discount, number of times it can be used
And a second table that tracks the discount codes used per booking.
And then indeed a discount placeholder for the rsvp form …
And of course a whole interface to manage it all. But even that doesn’t take into account other peoples need for formulas based on number of seats reserved etc …
Any suggestions are welcome though! Or maybe something has already been developed and I can integrate that …Edit, maybe this as a base: http://stackoverflow.com/questions/7278925/creating-discount-code-system-mysql-php
FrankyKeymasterSeems like a firefox web developer toolbar issue, see:
http://stackoverflow.com/questions/21631828/jquery-and-bootstrap-not-working-in-firefoxFrankyKeymasterThis has changed quite some time ago. See this for RSVP mail placeholders:
http://www.e-dynamics.be/wordpress/?cat=27FrankyKeymasterFor day formats, the generic wordpress setting ‘Date Format’ is used, so you can change that to your liking.
Tue 19 May 2015 at 01:22 in reply to: the #_TOTALPRICE{xx} are only displaying 0.00 and not the correct price! #54231FrankyKeymaster“Pay at the door with cash”? That can easily be obtained by using basic multiprice in the online registration form and in the payment screen behind you can just use conditional tags (“payment form header format”) to add the text that no online payment is needed then. Or even use conditional tags in the “payment form header format” to add a simple redirect using jquery/javascript.
Now, #_TOTALPRICE can be used in booking mails, but not in attendee mails. See the doc:
http://www.e-dynamics.be/wordpress/?cat=45 and
http://www.e-dynamics.be/wordpress/?cat=48Tue 19 May 2015 at 01:14 in reply to: The time is not correct with the time zone I am & [#_HOURS_TILL_START] issue #54230FrankyKeymasterNice to hear it is not a bug 🙂
Tue 19 May 2015 at 01:13 in reply to: want to have #_PAYMENT_URL be able to work for multi price events. e.g. {xx} #54229FrankyKeymasterIf you want to change his booking, you can do so in the backend. The payment url stays the same.
Sun 17 May 2015 at 00:54 in reply to: the #_TOTALPRICE{xx} are only displaying 0.00 and not the correct price! #54222FrankyKeymasterWhich scenario? Multibooking+multiprice? Or just multiprice?
Sun 17 May 2015 at 00:49 in reply to: The time is not correct with the time zone I am & [#_HOURS_TILL_START] issue #54220FrankyKeymasterI can’t reproduce that here. Are your wordpress settings correct? And your php.ini settings? Feel free to send me an admin account so I can take a look for myself.
FrankyKeymasterconfirmed, should be fixed with this:
http://plugins.trac.wordpress.org/changeset/1161967FrankyKeymasterConfirmed. Just replacing in line 888 $booking_ids_done by $booking_ids should solve it.
Sat 16 May 2015 at 23:51 in reply to: want to have #_PAYMENT_URL be able to work for multi price events. e.g. {xx} #54217FrankyKeymasterIt’s not supposed to and will not work. The doc only specifies #_PAYMENT_URL and it is logical: when you make a booking (even multiprice), the price is what you order in total for all seats, not per price/seat category. Partial payments are not a part of this.
FrankyKeymasterYou’re free to sponsor for new payment gateways anytime.
Fri 8 May 2015 at 12:39 in reply to: Is the cancel booking via email URL working in Version 1.5.36 ?? #54196FrankyKeymasterBtw, I found some issues with the cancel link.
This change should fix it:
http://plugins.trac.wordpress.org/changeset/1156021Fri 8 May 2015 at 11:54 in reply to: Is the cancel booking via email URL working in Version 1.5.36 ?? #54195FrankyKeymasterDo you mean it is not working in 1.5.36 or you are not yet on 1.5.36?
FrankyKeymasterI think you should ask them 🙂
Maybe paypal does.FrankyKeymasterset the value of “echo” to 0, that does the trick 🙂
FrankyKeymasterProbably the plugin cryptX doesn’t use the EME filter eme_email_obfuscate_filter.
Read the EME filter doc, and add the call to encryptx to it, see the screenshot
https://s.w.org/plugins/cryptx/screenshot-2.png?r=1154441FrankyKeymasterIf you want to have the same amount of seats selected, you have 2 options:
– frontend side: then you need to use some jquery to set the number to the same value everytime someone changes a seat
– backend side: using the multibooking evaluation filter eme_eval_multibooking_form_post_filterConcerning discounts: this is not yet possible for multibookings (for now). I’m planning on adding a discount column to the individual bookings and the overal payment too, so that will become more flexible than the current discount example (and will work for multibookings as well). For now I’m sorry in this case … but feel free to create a feature request and refer to this thread 🙂
FrankyKeymasterConditional tags are evaluated at server side before being shown to the client, so this will not work for you.
You need to do some jquery and show/hide the fields based on the value of your dropdown field of choice.FrankyKeymasterworldpay added in 1.5.36 (although many requested it, nobody cared to donate for this …)
Wed 29 Apr 2015 at 22:44 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54170FrankyKeymasterindeed
Wed 29 Apr 2015 at 22:34 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54168FrankyKeymasterI’m still guessing that permalinks are messed up in some manner (wordpress is not the most stable in that region). Can you try to reproduce the prob without permalinks on your test site?
Concerning the edit issue: I couldn’t replicate it here anymore (but I made some small changes), so I’ll consider that fixed (and since nobody was complaining, I attribute that to my test code).FrankyKeymasterCheck out the filters: http://www.e-dynamics.be/wordpress/?cat=41
Maybe they can help you.FrankyKeymasterI gave up on that: wordpress requires a post/comment relation and since events are not posts … so I have to recommend facebook comments here.
Wed 29 Apr 2015 at 13:45 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54163FrankyKeymasterI had the issue yesterday evening with “There was a problem editing your category, please try again” and I thought it was due to qtranslate (couldn’t find anything else that was causing this). I’m debugging that too.
FrankyKeymasterFor the last part, look into this: http://www.e-dynamics.be/wordpress/?cat=40
Also, you can show more than one cal on 1 page, and you can choose which month/year (but it is not dynamic yet)FrankyKeymasterYou can change the format using conditional tags I think. See the doc on conditional tags.
Wed 29 Apr 2015 at 11:44 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54159FrankyKeymasterSorry to hear that … but that is not the fault of EME 🙂
Btw: normally your DB is still there …Tue 28 Apr 2015 at 23:48 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54152FrankyKeymasterSeems ok to me.
Although, the categories you’ve created got me testing weird characters here, and I finally found some inconsistent behavior (for multilanguage, and when showing a cat).
See if this change helps you in any way:
http://plugins.trac.wordpress.org/changeset/1148458
edit, reverted a small part back:
http://plugins.trac.wordpress.org/changeset/1148490Tue 28 Apr 2015 at 10:00 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54150FrankyKeymasterIf it works on a new site, then it will work on your old site too.
Again, as said: do the permalinks thing and check your .htaccess file (modification time).
Also: 64MB (your memory exhaustion) is not much for php and wordpress (especially for that many events), so increase that to eg 256 or so. See
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHPTue 28 Apr 2015 at 01:39 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54145FrankyKeymasterOk, local testing seems that even with permalinks it works just fine. You seem to use permalinks, so: can you regenerate the rules (disable/re-enable permalinks) and make sure your .htaccess file got updated ok?
Tue 28 Apr 2015 at 00:00 in reply to: request for a link pointing to a cancelation form/page for non-wp users #54141FrankyKeymasterI’m almost done with the testing, and no more features until the release is done for now 🙂
Mon 27 Apr 2015 at 23:59 in reply to: make my #_LINKEDCATEGORIES actually link to categories?? #54140FrankyKeymasterWorks fine here. As an example, click on the “examples” above, and then choose “test future recurring event”. There you’ll find a linked category, showing only events with that category.
Can you show an example?Mon 27 Apr 2015 at 00:55 in reply to: request for a link pointing to a cancelation form/page for non-wp users #54134FrankyKeymasterIn the next version non-wp users will be able to cancel a booking also, using #_CANCEL_URL/LINK. In the backend a new option will be present to limit the rsvp cancellation to x days before the event starts.
FrankyKeymasterworldpay api doc: http://support.worldpay.com/support/bg/index.php?page=downloads&c=WW
FrankyKeymasterThanks for this mailchimp API example!
Small question: is that really the content of your field: “Ich möchte den Sensorgrafie Newsletter erhalten.” ? Maybe just a checkbox with values 0/1 would be easier to check 🙂FrankyKeymasterIndeed, $person is a plain php array.
FrankyKeymasterConcerning 1: yes, seems to be ok
Concerning 2: good question … according to what I find on the net, wordpress has no issues with this. Although you should use the priority option correctly to define which one to run first.
Or: do everything in the same action hook, and call other functions from there (seems cleaner to me).
Edit: see also http://wordpress.stackexchange.com/questions/6688/how-many-times-can-i-hook-into-the-same-action (the last answer)FrankyKeymasterIf you want to use FIRSTNAME and LASTNAME, then also use it for non-logged in users (for consistency).
Now, concerning the logic when creating the form fields, see this code snippet:if (is_user_logged_in()) { get_currentuserinfo(); $bookerLastName=$current_user->user_lastname; if (empty($bookerLastName)) $bookerLastName=$current_user->display_name; $bookerFirstName=$current_user->user_firstname; $bookerEmail=$current_user->user_email; }
When WP membership is required, then the lastname-field is readonly (in some cases also the firstname field, if you decide to use it: this is fixed in the next version as that can be empty).
Also, when WP membership is required, the values in these fields are purely informative: when storing the booking, the info from the $current_user is taken for lastname/firstname too.
The value for RESPLASTNAME should always be the same, regardless of requiring WP membership.FrankyKeymasterYou’re creating a recurrent event but you don’t fill out the “every week ” parameter (enter 1 if you want it to be weekly), and you’re not entering the recurrence begin and end dates.
FrankyKeymasterThose are both valid ways of doing it 🙂
FrankyKeymasterLook at the state of the event you created (maybe it is “draft”). Does it show in the list of events in the backend (select “all” for the list of events and then filter on the title of the event you created)?
Also, maybe the calendar is showing only events of a specific category?FrankyKeymasterGo to the bottom of the forum page, there you can select the forum of your choice. Click on it and post your question
FrankyKeymasterThanks for the donation. Find your gift here in the changelog:
“added description for categories, together with placeholders #_EVENTCATEGORYDESCRIPTIONS and #_LOCATIONCATEGORYDESCRIPTIONS”
See http://plugins.trac.wordpress.org/changeset/1136640FrankyKeymasterHmmmm … you made me realize the donate button was missing from my site, I corrected that now 🙂
FrankyKeymasterAlthough there are workarounds possible, I see where you want to go with this.
Some extra coding required of course … and donations are welcome 🙂FrankyKeymasterThe things you describe are typic for javascript errors preventing further execution (and so the google map doesn’t show, nor the datepicker).
Look in your browser console for javascript errors …FrankyKeymasterFor google maps: do you use the placeholder #_MAPS in your event format? Otherwise it won’t show.
Concerning the duplicates: is that consistently? Can you also test on a page without another shortcode?
Th repeat thing is something that can be added, but just isn’t so far …Sat 11 Apr 2015 at 08:01 in reply to: add featured image option disappeared in the admin panel #54082FrankyKeymasterIt is indeed your user that has issues.
Try this :
http://devblog.virtage.com/2011/04/en-how-to-reset-wordpress-screen-options-to-default/Fri 10 Apr 2015 at 15:35 in reply to: add featured image option disappeared in the admin panel #54080FrankyKeymasterI updated some of your events and changed featured images … no issues here. Maybe your browser is acting up?
FrankyKeymasterOf course!
Thu 9 Apr 2015 at 23:52 in reply to: add featured image option disappeared in the admin panel #54075FrankyKeymasterJust tested it here: no issues at all with the featured image.
Thu 9 Apr 2015 at 23:19 in reply to: add featured image option disappeared in the admin panel #54074FrankyKeymasterThat’s weird and of course should not happen. I’ll try it out here too but you can always mail me an admin account at liedekef@telenet.be
Btw: check your browser for javascript errors tooFrankyKeymasterThe reason is that FIELDVALUE contains an error in the code.
This change should fix it:
http://plugins.trac.wordpress.org/changeset/1129955FrankyKeymasterwp-admin/admin.php?page=eme-registration-seats: first show/hide/reorder, then click “print” (not “printable view”)
For eme_people: one step at a time, features need to grow and mature …FrankyKeymasterI’m sorry, but while I do provide all means to do what you want here (with action hook examples), this is functionality not related to Events Made Easy, so you should hire an external party to do it for you if you can’t do this. You could hire me, but I’m charging by the hour for these things. Or you could try to ask mailchimp for the support.
Start from this (do it for a specific event_id or for all, and change MY_FIELD_NAME to the field you want to check.add_action('eme_insert_rsvp_action', 'my_eme_discount_function',20,1); function my_eme_discount_function($booking) { global $wpdb; $bookings_table = $wpdb->prefix.BOOKINGS_TBNAME; $where = array(); $fields = array(); $booking_id = $booking['booking_id']; $event_id = $booking['event_id']; $event = eme_get_event($event_id); $person = eme_get_person($booking['person_id']); if ($event_id == 5) { /* put in the event_id that needs processing, or leave out this line to process all events */ $answers = eme_get_answers($booking_id); $my_answer = ""; foreach ($answers as $answer) { if ($answer['field_name'] == "MY_FIELD_NAME") { $my_answer = $answer['answer']; } } if ($my_answer == "my wanted text") { // do mailchimp thing here, based on the info in $booking, $event and/or $person } } return; }
FrankyKeymasterTry using conditional tags in either format setting. See the doc about conditional tags for examples, but it should work if you limit yourself to the correct placeholders (see the rsvp placeholders for those)
FrankyKeymasterRead a bit here about ical problems and timezones: http://icalevents.com/2613-what-every-developer-ought-to-know-about-timezones-wrt-calendar-files/
In your case: it seems your reading application doesn’t understand UTC-xx or UTC+xx as a timezone value, and thus ignores it (reaction different depending on the application).
You then changed it to “America/New York”, which improved your situation but your application or your webserver doesn’t respect or know about the dst … so you should check the application you’re using.
Also, make sure your php is always up-to-date (at least the timezonedb: https://pecl.php.net/package/timezonedb )
Currently EME stores everything without timezone format, making it so that all times are local times.FrankyKeymasterFixed in 1.5.33
FrankyKeymasterThe timezone comes from the wordpress settings. is that setting correct?
Many ical interpreters have difficulties with empty lines (the same goes for RSS feeds btw)FrankyKeymasterYour theme is adding empty lines at the beginning of the output (see the html-source of your pages), it shouldn’t do that.
Solve that and your ical will work too.FrankyKeymasterAnd what is your form format? I tested in on mu public site as a plain update and it works just fine …
Otherwise mail me an admin acciunt so I can check this evening too.FrankyKeymasterDid you update to 1.5.32?
Edit: I split your post into a bug report.FrankyKeymaster#_ICALLINK only gets replaced correctly inside the “single event format” and “event list format” settings, maybe that’s what’s wrong?
Do you have an example? And the date/time info in the backend for that event? And also: what is the EME version you’re using?FrankyKeymasterI updated the doc. The shortcode you’re using is for ical info on a list of events, not one. Use #_ICALLINK.
FrankyKeymasterA percentage number is needed for responsive themes. See
http://www.e-dynamics.be/wordpress/?cat=30
for css tips on how to change the width and height of the map.FrankyKeymasterUse the following action hook in EME for this: eme_insert_rsvp_action
and then call the mailchimp API (which I must admit: I do not know)Fri 3 Apr 2015 at 15:34 in reply to: inserting a conditional phrase in another one: eme_if….. #53935FrankyKeymasterRead the solution at the bottom of the page http://www.e-dynamics.be/wordpress/?cat=24
FrankyKeymasterNice to hear!
FrankyKeymasterI guess there’s something wrong with your SEO permalink rules. Deactivate them (set to default and “save”) and then reactivate them.
Also, disable/re-enable EME might help too.
Also: does the event page pointed to by EME (in its settings page) still exist?Tue 31 Mar 2015 at 19:00 in reply to: Fatal error when trying to activate Sync Facebook Events plugin #53922FrankyKeymasterCheck your php version, I guess it’s lower than php 5.4 (which is required by the facebook API)
FrankyKeymasterYou are free to donate what you want. The more you donate, the more I can donate to a good cause.
F.
FrankyKeymasterUpdate registrations is not possible in the frontend.
Concerning the eme_bookings shortcode: you need to use the template variables too.
And inside a single event, you can use the relevant placeholders to show the cancel booking form too:
#_REMOVEBOOKINGFORM
or
#_REMOVEBOOKINGFORM_IF_REGISTERED
Which is kind of identical as using [eme_delete_booking_form id=#_EVENTID] inside the single event format.
Also, there are cancel links in the user’s profile.Mon 30 Mar 2015 at 00:51 in reply to: Can EME be installed/used instead of another event 'processor' #53914FrankyKeymasterNot really, just deactivating the old plugin after you’ve finished configuring EME will be more than enough. EME uses a special events page, but I try to not interfere with other plugins at all.
FrankyKeymasterBtw: I just updated trunk with some missing code, so now it should work.
-
AuthorPosts