Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
This would require some work:
– creating an upload of some kind to some place for ical files
– parsing the ical files found: http://code.google.com/p/ics-parser/source/browse/trunk/class.iCalReader.php
– then displaying them as special events (holidays)FrankyKeymasterImplemented in trunk:
FrankyKeymasterI just tested it: the template works just fine, but remember to add li-tags around it (as said in the calendar template settings, in the admin interface).
Also: you did make me find another bug: the template was not kept when switching months, which is fixed here:
http://plugins.trac.wordpress.org/changeset/998770FrankyKeymasterAs said: the payment ID you can find when submitting a test payment to paypal after RSVP-ing an event in EME (I should maybe make that easier to find in the backend too).
If you apply this changeset:
https://plugins.trac.wordpress.org/changeset/996354/events-made-easy/trunk
the payment ID will be shown when hovering over the unique number too.FrankyKeymasterHmmm …. I’m not able to check it right now, but does the shortcode work as expected when not using the template?
FrankyKeymasterOk, keep me posted (it’s untested …)
FrankyKeymasterImplemented in trunk:
add #_RECURRENCE_NBR, #_IS_FIRST_RECURRENCE and #_IS_LAST_RECURRENCE
See http://plugins.trac.wordpress.org/changeset/998149FrankyKeymasterYou can always check the #_DAYS_TILL_END and #_DAYS_TILL_START via conditional tags, and hide the booking form if wanted …
Edit: I think in the past I suggested to somebody that (via a small db modif) the rsvp ‘cut off’ days could be negative as well, so it could be past the start date of an event too. Maybe that could help you?
FrankyKeymasterJust tried (copy/paste) your code: works just fine here.
Edit: although there’s not much meaning in testing if it is empty: if it really is empty, the replacement will be an empty string … But probably you want the “additional information” header too (although that too can be in the event details section)
FrankyKeymasterThat’s why I originally didn’t include the “,” in the parsing for notcategory: in fact that reads: “show me events not in cat 2 or 8”, while you need “not in cat 2 and not in cat 8”
It’s a bit weird with a negation …FrankyKeymasterCould you try
[eme_events paging=1 limit=0 scope=this_year notcategory=2+8]
?FrankyKeymasterI added 2 filters in the development version:
http://plugins.trac.wordpress.org/changeset/996905
Allowing you to add a line to the top and/or bottom of the CSV output, based on $event
FrankyKeymasterI just took a hard look at notcategory, but it should be ok.
I did change some small parts, can you test this:
http://plugins.trac.wordpress.org/changeset/996853
Also: a usage example (events with their cats, and your shortcode) might help.FrankyKeymasterok, moving to bugs then
FrankyKeymasterHmmm … apparently I overlooked to document it, but it should already just work
FrankyKeymasterFor payment url in testing, just take the url of your event page and add “eme_eventAction=paypal_notification” to the url (either seperate from previous arguments in the url with “?” or “&”.
Example:
http://www.e-dynamics.be/wordpress/?page_id=63&eme_eventAction=paypal_notification
or (if you use seo urls):
http://fffffff/wordpress/events?eme_eventAction=paypal_notificationFor the values themselves: the important one is the item_number, which corresponds to a payment ID in EME (the rest is pure informative, but of course some should correspond to your paypal info given in EME). The payment ID you can find when submitting a test payment to paypal after RSVP-ing an event in EME (I should maybe make that easier to find in the backend too).
I already add the ipn url as info to the admin page of EME for each of the payment methods, but apparently I missed those for paypal and Google Checkout.
FrankyKeymasterSounds a bit weird to me … maybe you were indeed hitting a borderline case here, but I see that you don’t use “ESC” in your tags and values, so the result is not escaped and maybe that is resulting in weird things …
FrankyKeymasterHmmm … your code got messed up I think. Try using the “code” button.
Also, try this for more easy-reading (no need to use eme_if4,5 or 6, and using #_STARTDATE and #_ENDDATE):Your meeting registration for #_{F jS}[eme_if2 tag="#_STARTDATE" notvalue="#_ENDDATE"][eme_if3 tag="#Y" notvalue="#@Y"], #Y[/eme_if3] – [eme_if3 tag="#F" notvalue="#@F"]#@_{F }[/eme_if3]#@_{jS}[/eme_if2], #@_{Y} (#_{l}[eme_if2 tag="#_STARTDATE" notvalue="#_ENDDATE"] – #@_{l}[/eme_if2][eme_if2 tag="#_STARTDATE" value="#_ENDDATE"] only[/eme_if2]), is <strong>confirmed</strong>.
Edit (forgot to answer a bit): EME interprets what it can, and that get replaced by values, so you have to find which value doesn’t get interpreted …
FrankyKeymasterTry saving the html from the mail in a file (on the pc where you saw the different color), and open that html. I’m guessing there’s some CSS issue in it that works on the server, but not remotely.
For the moment I’m not going to consider this as a EME bug 🙂FrankyKeymaster(I splitted this off in a new topic)
Using conditional tags, this should be possible, but you’ll also need to check the option “Add booking id to return page info” then.FrankyKeymasterThe state of your event was “draft”, not “public”. That’s why you couldn’t see it when not logged in.
Franky
FrankyKeymasterPlease mark your code as such using the code button.
Also, as said: try to print_r($answers) to see the whole array.
Also, you can always try this (replace “MY_FIELD_NAME” with the name of the formfield you defined):function my_eme_coupons($booking) { global $wpdb; $bookings_table = $wpdb->prefix.BOOKINGS_TBNAME; $discount = 5; $where = array(); $fields = array(); // Grab the coupon code from the extra answers $event_id = $booking['event_id']; $booking_id = $booking['booking_id']; $answers = eme_get_answers($booking_id); $coupon = ""; foreach ($answers as $answer) { if ($answer['field_name'] == "MY_FIELD_NAME") { $coupon = $answer['answer']; } } // As long as the coupon code isn't empty, look for matches if ($coupon == "WCMDCPrice") { // If coupon code used, apply the appropriate price change $price = $booking['booking_price'] - $discount; $fields['booking_price'] = $price; $where['booking_id'] = $booking['booking_id']; $wpdb->update($bookings_table, $fields, $where); } return; }
FrankyKeymasterAdd the code either to a javascript file of your theme or try adding it to the setting eme ‘extra html headers’ (in the tab ‘Others’), then you shouldn’t need to worry about an update.
Sat 20 Sep 2014 at 16:15 in reply to: Show all attendees for a list of events with special #_FIELD{{ #52862FrankyKeymasterYou need to use the eme_bookings shortcode in e.g. The setting ‘event list format’, then it will work just fine.
FrankyKeymasterMy email: liedekef@telenet.be
Fri 19 Sep 2014 at 14:34 in reply to: Show all attendees for a list of events with special #_FIELD{{ #52854FrankyKeymasterSee the doc at http://www.e-dynamics.be/wordpress/?cat=53 : you can use #_EVENTID as id, if you use the [eme_bookings] shortcode inside your events list format, that way it becomes dynamic.
FrankyKeymasterTry the following, but also make sure that
$answers[0]['answer']
is the answer containing your coupon code (you can always just do ‘print_r($answers);” to see what is in that array. Maybe also post your rsvp form template being used.add_action('eme_insert_rsvp_action', 'my_eme_coupons',20,1); /** * Custom function to calculate coupon code discounts for events */ function my_eme_coupons($booking) { global $wpdb; $bookings_table = $wpdb->prefix.BOOKINGS_TBNAME; $discount = 5; $where = array(); $fields = array(); // Grab the coupon code from the extra answers $event_id = $booking['event_id']; $booking_id = $booking['booking_id']; $answers = eme_get_answers($booking_id); $coupon = $answers[0]['answer']; // Collect the event categories $event_cat = eme_get_event_categories($event_id); // As long as the coupon code isn't empty, look for matches if ($coupon == "WCMDCPrice") { // If coupon code used, apply the appropriate price change $price = $booking['booking_price'] - $discount; $fields['booking_price'] = $price; $where['booking_id'] = $booking['booking_id']; $wpdb->update($bookings_table, $fields, $where); } return; }
FrankyKeymaster#_EDITEVENTURL already exists, it was just not documented 🙂
Also: something with x-webdoc:// is not generated by me, something else must do this (or your copy/paste went wrong)FrankyKeymasterLooking at it on another computer doesn’t make a difference, unless you created some weird logic in your templates.
You can always send me an admin account, so I can take a look too.FrankyKeymasterThat bug was fixed some time ago and already in the latest release.
Please open a new bug report, describing exactly the problem. Also: make sure that your setting “single event format” contains the needed placeholders to show location info and such.
Read this: http://www.e-dynamics.be/wordpress/?cat=8
and for all possible event placeholders, find the doc here: http://www.e-dynamics.be/wordpress/?cat=25FrankyKeymasterRead other posts: if you ask friendly, you get a friendly response; if you refuse to learn anything, then I’m like a teacher. My first post to your question already showed a possible solution, based on the little info (no site url) you gave in your initial post.
Concerning my mistake: I pointed you to the doc, and then I made a mistake afterwards which I admitted (while I was at work, trying to help you along btw). Then saying that you’ll just have to believe me is wrong: try e.g. one of the standard themes and put eme.css in their css dir, it will be present in your html-code afterwards too. I had and still have to prove to many people that the theme they’ve chosen is pricey and badly written. I’m beyond complaining about bad themes, but don’t try to blame their mistakes on me.
For the rest: CSS is out-of-scope for EME. If you buy dreamweaver, even then you’ll need to understand CSS. The whole user experience is based on the layout of your site, so I give everybody the possibility to adapt everything via CSS by providing names and id’s to all html tags, the rest is up to them.
You were even “unfriendly” to me (look at your posts above), because I was not giving you the solution (which in fact I did in my second post, because you gave the site url only in your 4th post) but because I only pointed you in the right direction. Putting text in bold doesn’t help anybody but is just shouting and not polite at all.
Even then, you saying the following: “but not if I can’t make it work the way I need it to, and not if I have to learn CSS to make it work the way I need it to” is in no way showing appreciation of a tool I worked years on. If you refuse to see the technical implementation separately from the layout, that’s fine by me but don’t come asking me every time you want to change the colour of something. Imagine that all users come to you because their site is not looking the way they want it to … you’ll quickly start pointing them to the CSS manuals too.I never intend to become rich by developing EME, I’m counting on donations to keep my coffee flowing while developing and helping people along. I get many promises about donations if I can fix a problem for them. Many times I do log in into their admin-backend and fix their problem, only to never hear from them again. I can do better things with my time, but I try to help everybody along; as I also gave you the CSS-code after you posted the url to your site (which you should have done in the first place, my mistake was not asking for it immediately).
Edit: based on your comments, I changed the text of the doc concerning CSS a bit, to help people along more.
FrankyKeymasterGlad to hear it works now.
FrankyKeymasterYou post a different error in the last post than the one mentioned before. Also: you’re only using part of the code (you never use the var called $found_event in the rest of search.php)
Anyway, I don’t see anything wrong with that code, I even tried it locally and it seems to be working just fine.
I even tried it with your theme and it seems to work just fine.
Make sure you edited search.php the right way (no mixed windows and linux line endings …), and figure out what is at line 9 that might be the prob for you.FrankyKeymasterPost your code.
FrankyKeymasterThe code checks for the fields defined in the rsvp form. Since I don’t know at that time which fields are going to be required (if using conditional tags), I take all of the required fields into account.
But since I now added the extra “required” part to each and every required input form field, the browser prevents form submission anyway. So I could just remove that extra check from the backend and then your code would work.
Feel free to make a feature request for that.FrankyKeymasterIndeed, in your theme CSS dir (I was typing that at work, and checked the code later on). I even use the standard wordpress function calls get_stylesheet_directory (to check for the existence of that dir and file) and get_stylesheet_directory_uri (to give the css url to the browser).
So if your theme does not register a CSS subdir with wordpress, wordpress (and by definition EME) doesn’t know where to look for the extra CSS file.
In other words: not the best of themes, but maybe it’s the intention of the theme developer. Like I said: learning CSS always helps.FrankyKeymasterRead the doc again: put the eme.css file in your theme dir, not the CSS subdir.
I admit that is not the best place to put it, but it’s kind of legacy. If you want to be able to put eme.css in your theme CSS dir, create a feature request.
Also: just changing (in your case), mesocolumn-child/style.css would do it too.FrankyKeymasterFrankyKeymasterNo issues here, adding and editing events work just fine. Look in your browser console for javascript errors.
FrankyKeymasterWell, I’ll make it more clear in the backend. If the contact person is the “event author”, and that one is empty (like when submitting via the frontend submission form), the following text will be shown:
Since the author is undefined for this event, any reference to the contact person (like when using #_CONTACTPERSON when sending mails), will use the currently logged-in user info.
FrankyKeymasterConfirmed as a bug and since I consider this serious enough, I released a new version for it (1.5.3).
FrankyKeymasterThe contact person is the one who normally created the event, unless defined otherwise in the event.
Concerning the required fields: with a little bit of jquery, you can make other fields required as well. As an example, this should work (untested, change “inputfield” to the id of the field you want required):jQuery(document).ready( function($) { $("#inputfield").prop('required',true); });
And google on “jquery make field required” 🙂
FrankyKeymasterThanks! I am also looking at another way to add the javascript to the page, so that it won’t interfere with similar themes.
FrankyKeymasterNo, you used #A for the time zone of the end time as well, should be #@A. So it was never correct in the first place.
FrankyKeymastereme_if7 till eme_if15 added:
http://plugins.trac.wordpress.org/changeset/985739FrankyKeymasterSeems to work just fine here. Did you check start/end hour?
Also, what are the placeholders you use to represent the start and end times? Just a small reminder: you can use #_STARTTIME and #_ENDTIME too now, these follow your wordpress preferences concerning the time representation.FrankyKeymasterOk, the issue has been found: the theme added the description as extra meta-info in the header of the page, but doesn’t strip out html-tags, resulting in all kind of weird stuff …
Since you use yoast, I disabled the theme option “Include Built In SEO”, and it works now. You should make a bug report with your theme maker for this.
Of course you need to work on the CSS for the balloon in the Google map and such, but that’s besides the point.FrankyKeymasterOk, I think I found the problem at your side. The html created includes some facebook headers (I think), like this
<meta name="description" property="og:description" content="
And bizarrely, the javascript function to redirect to the paypal button is after that last opening-quote. Therefore it is being shown on screen …
Do you have anything configured in EME that creates these facebook headers (it might be a bug)?
Or another plugin that creates those headers?If you don’t know, please mail me an admin account at liedekef@telenet.be so I can check myself.
FrankyKeymasterThis means that there’s probably an issue with the theme, preventing further submissions (like an empty first line in the html-code).
Can you post an example link?FrankyKeymasterAdding more isn’t that difficult, but if 6 levels are not enough, shouldn’t you change the logic?
Anyway, I think WP also limits the shortcode recursion, I need to check that …FrankyKeymasterAdding extra jquery-code like mentioned here is not “out of the box”. If you’re unfamiliar with that, don’t do it and remove it.
FrankyKeymasterThis means that there is a bug in your jquery script somewhere that blocks future javascripts from being executed. Look in your browser console for javascript errors and fix those.
FrankyKeymasterImplemented in trunk:
FrankyKeymasterAction hook eme_ipn_action added, see:
http://plugins.trac.wordpress.org/changeset/984716FrankyKeymasterFor the moment there’s no hook yet for ipn. I’ll add some this evening.
Concerning sandbox and ipn: I think paypal doesn’t touch your ipn when using a sandbox account, but you can emulate ipn’s via paypal: https://developer.paypal.com/webapps/developer/applications/ipn_simulatorFrankyKeymasterLook at your posts: you never mentioned you don’t know CSS (but I figured that much already), you even said “I know enough CSS to change colors”
Anyway, this changes the color in your case:
#right-sidebar .eventful a { color: #222222; }
And for hovering over with the mouse, you can use this:
#right-sidebar .eventful a:hover { color: #222222; }
Change the colorcodes to your liking.
Again: I normally don’t support CSS issues (unless it’s a bug in the code somewhere), so you really should read the doc I mentioned. It will save you huge amounts of time and help you with future changes you want to do to the layout.
FrankyKeymasterAs the doc says: “You can use all placeholders in the if-part, just by prepending them with “ESC”, e.g you could use this for single event formatting:”
In your case: change e.g. [eme_if2 tag="#_EVENTDETAILS" is_empty=0] to [eme_if2 tag="#ESC_EVENTDETAILS" is_empty=0]I’ll explain in the doc what ESC does here
FrankyKeymasterI’m the one and only EME developer, and since you don’t pay me for support, I’m pointing you in the direction you should go. I don’t solve all CSS problems for all persons, I like to direct my energy to functionality for the plugin.
I DO know enough about CSS, but it seems you don’t since I gave enough hints on how to do it. You need to look at the HTML code generated to see which cell in the table uses which class, and then base your CSS on that. That’s the example I gave with the “.eventful” entry in the doc I mentioned above. And apparently you also don’t understand CSS enough to just simple be able to change “background” to just “color”. And even then, CSS from your theme can overwrite links to be in another color.
So you see: since you don’t even provide a link as an example, I can’t even really help you.FrankyKeymasterCSS is something you should learn to master, using a CSS-debugger like firebug also helps.
Learn CSS here: http://www.w3schools.com/css/FrankyKeymasterSee the doc concerning CSS: http://www.e-dynamics.be/wordpress/?cat=30
I added an CSS-entry to it as example on how to change the background for eventful days.FrankyKeymasterI think there’s a way to do that: if you use the eme_attendees shortcode (just replace the #_ATTENDEES placeholder), like this:
[eme_attendees id=#_EVENTID]
then you can use a template for that shortcode (like described here: http://www.e-dynamics.be/wordpress/?cat=54 ).
In your case, by changing the template for the attendee list-entry to use a conditional tag, you could check for the value of #_ATTENDSPACES.
So, create a template that contains e.g. for those that have 1 reservation:[eme_if tag='#_ATTENDSPACES' value='1'] #_ATTENDNAME #_ATTENDEMAIL [/eme_if]
And call that template in the eme_attendees shortcode (replace xx with the id of the template just created):
[eme_attendees id=#_EVENTID template_id=xx]That should then give you the list of those that will attend (although: untested, I’d need to check if I evaluate conditionals inside that shortcode …)
FrankyKeymasterIn the CSV export and the print overview you should have all the info, including the number of seats booked and the answers to the custom field (if the custom field is created via EME).
Edit: also the shortcodes for the bookings or attendees (or the placeholders for those) also can show this info on a regular WP page.
FrankyKeymasterYou can use the seats with values 0 and 1 for that.
If you want, hide the seats field (use CSS or jquery for that), create your a custom form field (EME supports that too) and use jquery to update the value of the seats booked when they choose yes or no.FrankyKeymasterSounds like the events are still there, but probably with a wrong date or so. Maybe you have javascript conflicts in your setup.
Can you send me a temporary admin account at liedekef@telenet.be so I can check myself?FrankyKeymasterI corrected the format for you in your post.
FrankyKeymasterRead the doc from the beginning to get an understnding about shortcodes and placeholders.
FrankyKeymasterJust pt the explanation of what is shown aboventhe used placeholder or shirtcode, or in the event description itself.
In order to check your setup, I would need an admin account. If you want, mail it to me at liedekef@telenet.be, or play around more with shortcodes, placeholders, etc …FrankyKeymasterPlease read this to get started: http://www.e-dynamics.be/wordpress/?topic=how-do-i-get-started-with-eme
What you want is already possible, see also the doc on booking lists and attendee lists.FrankyKeymasterThanks for the info!
FrankyKeymasterAlthough … you can check the readme.txt file of the plugin, it contains the version number:
Stable tag: 1.5.2
FrankyKeymasterJust do that yourself via simple html. E.g.:
‘
#_EVENTIMAGE
‘FrankyKeymasterIndeed, I don’t store that version myself. The eme_version is something for myself, not something wp uses to check the version. I think they check the version in the readme.txt …
FrankyKeymasterCan’t help you there. Maybe you should ask this at the official wp forum.
FrankyKeymasterSure that is possible, using jquery. Small example (see js/eme_admin_events.js for more examples):
jQuery('textarea#event_cancel_form_format').blur(function(){ alert(jQuery(this).val('')); });
FrankyKeymasterDiscounts can now be done via an action hook, see the doc concerning “Hooks and filters”. You can also check the value of any custom form field to make a decision, but it wil only show when going to paypal (although you can change the payment message to your liking too).
Mon 18 Aug 2014 at 20:14 in reply to: Neither start nor ending time known – "Whole Day" should be shown #52694FrankyKeymasterUse the conditional tag #_IS_ALLDAY to test for all day events and show the text you want.
FrankyKeymasterYou are comparing the beginning and end date and time, but the dates differ (in fact due to the bug in the current version I mentioned above), so it is logical it doesn’t work.
The fix for that is here (will be in the next version):
https://plugins.trac.wordpress.org/changeset/956729/events-made-easy/trunk
After that, you can edit the event and set the correct end date again, then everything should work ok.FrankyKeymasterPlease send me an admin account so I can check for myself. Also: there’s a bug in the current version of EME that prevents updated events to have the end time the same as the start time (fixed in the next version).
FrankyKeymasterSee http://www.e-dynamics.be/wordpress/?cat=24 for the use of conditional tags for this:
[eme_if tag="#ESCj #ESCM #ESCY" value="#ESC@j #ESC@M #ESC@Y"] The start and end date of this event is the same, so just showing start: #j #M #Y [/eme_if]
For all date/time placeholders: http://www.e-dynamics.be/wordpress/?cat=25
The next version of EME will also allow for this:
[eme_if tag="#_STARTDATE" value="#_ENDDATE"] The start and end date of this event is the same, so just showing start: #_STARTDATE [/eme_if]
FrankyKeymasterThe second error happens because of the first one, which is not a EME error. Another plugin is causing this error, so you need to find the plugin responsible for this. Disabling all plugins and reenable one by one helps you to find the plugin misbehaving.
FrankyKeymasterIf that is the case, it means something is wrong with the javascript filling in the data.
Can you check for javascript errors in your browser?
And maybe send me an temporary admin account at liedekef@telenet.beFrankyKeymasterConfirmed as a bug and fixed here (one line fix in eme_locations.php):
http://plugins.trac.wordpress.org/changeset/965856FrankyKeymasterAlthough it is not exactly what you want, you can read this thread: http://www.e-dynamics.be/wordpress/?topic=use-form-fields-for-attendee-list
Also, I added 4 extra columns in the next version (also in the CSV export):
ID, total price, booking date and unique number.
(using CSS you can hide the columns you want in the printable view).FrankyKeymasterThe attendees list can be customized in 2 ways:
1) by using the [eme_attendees] shortcode with templates to your liking
2) OR by setting the format in the option “Attendees list format” (see EME settings page, tab “RSVP”)In both, you can use any of the placeholders mentioned in the doc: http://www.e-dynamics.be/wordpress/?cat=48
But, since this is for attendees (not bookings), I don’t know which booking info to show (one person can in theory book more than once).
So, then you can use the bookings list: [eme_bookings] or #_BOOKINGS . There you can use #_FIELD{xx} to your liking.FrankyKeymasterI added this to my functions.php:
add_filter('eme_event_preinsert_filter','do_my_stuff'); function do_my_stuff($event) { $event['event_name'].="test"; return $event; }
(just adding the string “test” to each new created event. Works fine for normal and recurring events.
FrankyKeymasterNo sorry, it needs to be add_filter, not add_action. My bad.
Let me retest.FrankyKeymasterWell, there’s a bug in the prev/next logic that can cause this. In the current development version this is fixed already 🙂
I’m currently testing out the dev version, since there’re a huge amount of changes and I want to limit the number of new bugs 🙂
If you’re interested, you can download the dev version, or wait for the next release.FrankyKeymasterI just tried using this in my functions.php (basically not changing anything):
add_action('eme_event_preinsert_filter','do_my_stuff'); function do_my_stuff($event) { return $event; }
and I could create a recurrence just fine …
Edit: if the code stops, there’s a php error somewhere. Check your webserver error logfiles for clues.
FrankyKeymasterall should already work.
FrankyKeymasterDone in trunk
FrankyKeymasterThe first one would require quite an amount of code rewriting.
The second one: what’s wrong currently? Everything should be changeable via css already, so creating your own css file should solve everything.
The third one: once again code rewriting …FrankyKeymasterimplemented in trunk
FrankyKeymasterok, this was in fact a bug: contact_person was possible but due to a error, it was taken for author. Fixed in the next version.
FrankyKeymasterI did some more paging corrections, you might want to update your trunk version 🙂
Unless bugs are discovered, this will also be the final version before the next release.FrankyKeymasterI couldn’t reproduce the problem here, but I did do a lot of changes. And you made me discover a bug in the prev/next links (the count was not correct), so you might want to test the trunk version to see if that works better.
FrankyKeymasterThe multi-booking thingie seems ready to me 🙂
I updated the doc for that part already, with even emails being done right now.FrankyKeymasterHi, please feel free to mail the translation files (.mo and .po) to me so I can include them for the next release.
FrankyKeymasterIt took me some hours to get it working, but it will be in the next version.
FrankyKeymaster2 times the same map uses the same div-id (html-speak), which causes one of the 2 to be empty. Circumventing that would require some work: create unique id’s, extra javascript loop to find all the divs etc … can be done …
FrankyKeymasterYes, either a recurrence or a list of ids. Implementing an exclusion is the same as just setting a list of ids. Also, the recurrence option results in a list of all events in the recurrence, not 1 booking for the whole recurrence. Maybe that should be different, but it is taking a lot of my free time … and if it would be 1 booking for the whole recurrence, I would still need to figure out how to do the mailing then …
So maybe I’ll just remove the recurrence option again, to have less confusion.FrankyKeymasterRead the doc about it here already, and see if it would fit:
http://www.e-dynamics.be/wordpress/?cat=5968Sun 3 Aug 2014 at 17:00 in reply to: Paypal Charge/Convenience Charge line item for registrering/paying for events. #52607FrankyKeymasterImplemented in trunk, albeit not showing as a seperate line.
FrankyKeymasterImplemented in trunk:
http://plugins.trac.wordpress.org/changeset/959104FrankyKeymasterI just tested this feature again (shortcode in widget) and it seems to be working just fine: the locations map shows as expected. So maybe in your case it is a theme issue?
FrankyKeymasterEnable the EME option “Enable shortcodes in widgets” and it should work 🙂
FrankyKeymasterYes it does 🙂
And the bug was for updating an event, not for creating it (that’s why it escaped my testing).FrankyKeymasterImplemented in trunk:
http://plugins.trac.wordpress.org/changeset/958360FrankyKeymasterI created a new shortcode called eme_add_multibooking_form that lets you use either a comma-seperated list of event id’s or a recurrence id for which you want to do multiple bookings in one go.
It also has a template id for the header, entry and footer of the form list. More info will follow in the doc I’ll be writing for this shortcode (as it is rather complicated at first sight, but simple once you get the hang of it and using an example eases things even more 🙂 )FrankyKeymasterI worked around the problem: apparently wordpress treats URL’s differently from the rest (and it is not well documented). So I changed the way you can choose images from the gallery (to the more supported method of wordpress), which removes the url-option. In fact, don’t blame me, blame wordpress here for creating a weird media manager interface …
FrankyKeymasterHi, this is confirmed as a bug and fixed here (so the end time can be the same as the start time when updating an event too):
FrankyKeymasterI see what you mean now. Let me check this …
FrankyKeymasterThe eme_rss_link shortcode supports the same scope values as for events, I’ve changed the documentation accordingly.
FrankyKeymasterAs seen in your screenshot, you’re still using Events Manager Extended. Switch to Events Made Easy first, Events Manager Extended has been discontinued for about 2 years now (and renamed to Events Made Easy)
FrankyKeymasterIn fact my point of view on this matter changed over time, and it is on my shortlist of features to implement next 🙂
FrankyKeymasterConfirmed as a bug and fixed here:
http://plugins.trac.wordpress.org/changeset/949076FrankyKeymasterShould be done here:
http://plugins.trac.wordpress.org/changeset/948347FrankyKeymasterJust to be sure: the locations have events linked to them?
FrankyKeymasterOk, it should be fixed with this change:
http://plugins.trac.wordpress.org/changeset/947884FrankyKeymasterAny chance on a demo url (easier than setting it up myself, and then I can be sure it’ll work on your side too if my firebug doesn’t let me down)?
FrankyKeymasterWhat language are you using (see the file wp-config.php, search for WPLANG)? It seems many translations are empty, so that’s probably the problem. Try plain english and see what happens.
OR another plugin is removing the links …FrankyKeymasterI’m not quite sure I understand what you’re saying here …
FrankyKeymasterWell, I’ll try to take a look at it. Their PDF is ok, but the class is not public, so I need to send them a mail. Of course a donation is welcome in this case 🙂
FrankyKeymasterIDEAL is not really open: http://www.ideal.nl/ontvangen/aan-de-slag/internetkassa/
FrankyKeymasterYou can duplicate an event and then edit that new event and make a recurrent event out of it.
FrankyKeymasterWell, you can just duplicate another event and change the hours, for the moment that is the only solution.
FrankyKeymasterYes, sorry. Trunk means the development version. But since then, it has been released, so just updating the plugin should be sufficient.
FrankyKeymasterCorrect, added placeholder #_FIELDVALUE{xx} to get the real value.
See http://plugins.trac.wordpress.org/changeset/940433FrankyKeymasterThis should do it:
http://plugins.trac.wordpress.org/changeset/940424FrankyKeymasterThere’s just an argument missing:
$o_limit=5; $events = eme_get_events($o_limit, "future", "ASC", 0, "", "", "", "", 1, "", 0, "event_rsvp=1");
FrankyKeymasterI just tested this and I’m not able to reproduce this at all … can it be that another plugin is causing this?
Can you set up a test site with just EME as plugin and try there?FrankyKeymasterThat should not be the case, I’ll check this later on too.
For now: either use the filter (as said), or loop through the resulting array yourself and filter out the events you don’t want (the filter would do the same in fact).FrankyKeymasterI’m guessing this happens because you also have one of the options “hide full events” or “hide rsvp ended events” activated. These will cause to also show events with event_rsvp=0 to be shown (the way I currently create the sql then …).
In your case, I think it is best to use the filter eme_event_list_filter on a specific page then.
I’ll try to add an option to the function to account for this …FrankyKeymasterI just tested this and #FF0000 is not being changed at all, so it must be something else.
Where exactly do you use this “color: #FF0000” (which EME setting)?FrankyKeymasterThat is not correct usage of a function in php.
This is:$o_limit=5; $events = eme_get_events($o_limit, "future", "ASC", 0, "", "", "", "", 1, "", "event_rsvp=1");
FrankyKeymasterJust tested with firefox and IE9: all work as expected, the form redirects to the message, with the message shown at the top of the screen (not the top of the page of course, and nothing hidden). So it seems to me this works just fine. This has always been like this, the reason you see it halfway the page is because the theme takes the place above it …
You can change the layout of the confirmation screen as wanted in the EME settings though.FrankyKeymasterNormally the page jumps to the confirmation message. If that message is hidden or gets displaced by the theme (jquery or so, or css), then this might happen.
The message itself is inside a self-contained div, and if the rsvo form shows correctly, so should the message.
Do you have an example url I can test?FrankyKeymasterPlease don’t assign this as a bug, it’s a howto.
You need to call the function with all parameters, as any other function in php.FrankyKeymasterThis is the change for events-manager.php between 1.4.4 and 1.4.5:
So, for events not much changed, and certainly not the time parsing …
I also checked the code, and #F should be changed, but #FF0000 should stay, so I’ll test this later on myself.Btw: please post in the correct forum (I’m moving it to Bugs now).
FrankyKeymasterConfirmed as a bug and fixed here:
http://plugins.trac.wordpress.org/changeset/936657FrankyKeymasterThe templates were not sorted at all, so the list is the one decided by mysql. I changed it in trunk to be conform to the sorting done for categories and locations, namely by name (or in this case: description)
FrankyKeymasterGlad to hear conditional tags are of use 🙂
I also added a new option to hide evernts which rsvp period has ended.FrankyKeymasterFrankyKeymasterFor the moment that is not possible. I’ll see if I can add an option to hide events past their RSVP ending limit.
FrankyKeymasterFor completeness: was just wrongfully pasted in the functions.php file, the code works as expected.
FrankyKeymasterYes, look at conditional tags here: http://www.e-dynamics.be/wordpress/?cat=24 and use the tag #_IS_RSVP_ENDED
FrankyKeymasterYou’re correct. I fixed that and went through all code to make sure it has ” />” at the end (sometimes there were 2 spaces, sometimes none, sometimes the slash was missing).
See: http://plugins.trac.wordpress.org/changeset/934008FrankyKeymasterI don’t see anything wrong here. Can you send an admin account so I can check on your side?
FrankyKeymasterMake sure that the lines are in fact (check the “>” character in your code)
return array(0=>1,1=>'');
In your posted code it was (I corrected the code) the html equiv of the “>” character was being used, so maybe that is also the case in your code?
(probably because of a copy/paste with your browser). Also with the other return-line.
Edit: in fact, check the whole function to see if it is syntactically correct.
FrankyKeymasterJust found a small error in my last code, fixed with this: http://plugins.trac.wordpress.org/changeset/932722
FrankyKeymasterAnd I just figured out that it was already possible for events which RSVP period has ended: using [eme_if] in the calendar format with the #_IS_RSVP_ENDED conditional tag, you could control all this too.
-
AuthorPosts