Forum Replies Created

Viewing 150 posts - 3,751 through 3,900 (of 7,815 total)
  • Author
    Posts
  • in reply to: Display Holidays in Calendar View #52922
    Franky
    Keymaster

    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)

    in reply to: Allow RSVP until X days / hours before END #52921
    Franky
    Keymaster
    in reply to: Broken Calendar Pagination #52920
    Franky
    Keymaster

    I 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/998770

    in reply to: IPN url #52918
    Franky
    Keymaster

    As 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.

    in reply to: Broken Calendar Pagination #52914
    Franky
    Keymaster

    Hmmm …. I’m not able to check it right now, but does the shortcode work as expected when not using the template?

    in reply to: Feature Request: Conditional Tag for First Recurrence #52910
    Franky
    Keymaster

    Ok, keep me posted (it’s untested …)

    in reply to: Feature Request: Conditional Tag for First Recurrence #52908
    Franky
    Keymaster

    Implemented in trunk:

    add #_RECURRENCE_NBR, #_IS_FIRST_RECURRENCE and #_IS_LAST_RECURRENCE
    See http://plugins.trac.wordpress.org/changeset/998149

    in reply to: Allow RSVP until X days / hours before END #52904
    Franky
    Keymaster

    You 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?

    in reply to: Conditional not Working #52902
    Franky
    Keymaster

    Just 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)

    in reply to: NotCategory in Events List Shortcode #52898
    Franky
    Keymaster

    That’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 …

    in reply to: NotCategory in Events List Shortcode #52896
    Franky
    Keymaster

    Could you try
    [eme_events paging=1 limit=0 scope=this_year notcategory=2+8]
    ?

    in reply to: Customising CSV #52894
    Franky
    Keymaster

    I 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

    in reply to: NotCategory in Events List Shortcode #52893
    Franky
    Keymaster

    I 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.

    in reply to: NotCategory in Events List Shortcode #52891
    Franky
    Keymaster

    ok, moving to bugs then

    in reply to: NotCategory in Events List Shortcode #52886
    Franky
    Keymaster

    Hmmm … apparently I overlooked to document it, but it should already just work

    in reply to: IPN url #52884
    Franky
    Keymaster

    For 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_notification

    For 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.

    in reply to: Confirmation Mail BG Color Changing? #52881
    Franky
    Keymaster

    Sounds 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 …

    in reply to: Confirmation Mail BG Color Changing? #52877
    Franky
    Keymaster

    Hmmm … 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 …

    in reply to: Confirmation Mail BG Color Changing? #52874
    Franky
    Keymaster

    Try 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 🙂

    in reply to: Split: Redirect on Successful Booking #52870
    Franky
    Keymaster

    (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.

    in reply to: [eme_location id=7] nothing is showing #52867
    Franky
    Keymaster

    The state of your event was “draft”, not “public”. That’s why you couldn’t see it when not logged in.

    Franky

    in reply to: Coupon Codes #52866
    Franky
    Keymaster

    Please 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;
    }
    
    in reply to: Add JavaScript to an RSVP form #52864
    Franky
    Keymaster

    Add 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.

    Franky
    Keymaster

    You need to use the eme_bookings shortcode in e.g. The setting ‘event list format’, then it will work just fine.

    in reply to: [eme_location id=7] nothing is showing #52861
    Franky
    Keymaster
    Franky
    Keymaster

    See 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.

    in reply to: Coupon Codes #52852
    Franky
    Keymaster

    Try 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;
    }
    
    in reply to: Print Edit Event Link #52846
    Franky
    Keymaster

    #_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)

    in reply to: [eme_location id=7] nothing is showing #52843
    Franky
    Keymaster

    Looking 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.

    in reply to: [eme_location id=7] nothing is showing #52839
    Franky
    Keymaster

    That 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=25

    in reply to: Change Eventful Days color in calendar widget #52833
    Franky
    Keymaster

    Read 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.

    in reply to: Howto: Include your events in the search result #52831
    Franky
    Keymaster

    Glad to hear it works now.

    in reply to: Howto: Include your events in the search result #52827
    Franky
    Keymaster

    You 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.

    in reply to: Howto: Include your events in the search result #52825
    Franky
    Keymaster

    Post your code.

    in reply to: Single event format, multiple templates #52824
    Franky
    Keymaster

    The 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.

    in reply to: Change Eventful Days color in calendar widget #52823
    Franky
    Keymaster

    Indeed, 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.

    in reply to: Change Eventful Days color in calendar widget #52818
    Franky
    Keymaster

    Read 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.

    in reply to: BUG #52817
    Franky
    Keymaster
    in reply to: BUG #52811
    Franky
    Keymaster

    No issues here, adding and editing events work just fine. Look in your browser console for javascript errors.

    in reply to: Front End Submit- Req fields and Contact Email #52808
    Franky
    Keymaster

    Well, 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.

    in reply to: #_PAYMENT_URL #52807
    Franky
    Keymaster

    Confirmed as a bug and since I consider this serious enough, I released a new version for it (1.5.3).

    in reply to: Front End Submit- Req fields and Contact Email #52805
    Franky
    Keymaster

    The 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” 🙂

    in reply to: Redirect on Successful Booking #52802
    Franky
    Keymaster

    Thanks! I am also looking at another way to add the javascript to the page, so that it won’t interfere with similar themes.

    in reply to: AM event ends at AM time instead of PM #52801
    Franky
    Keymaster

    No, 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.

    in reply to: Additional Levels of Conditional Logic? #52795
    Franky
    Keymaster
    in reply to: AM event ends at AM time instead of PM #52794
    Franky
    Keymaster

    Seems 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.

    in reply to: Redirect on Successful Booking #52793
    Franky
    Keymaster

    Ok, 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.

    in reply to: Redirect on Successful Booking #52791
    Franky
    Keymaster

    Ok, 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.

    in reply to: Redirect on Successful Booking #52789
    Franky
    Keymaster

    This 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?

    in reply to: Additional Levels of Conditional Logic? #52788
    Franky
    Keymaster

    Adding 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 …

    in reply to: Redirect on Successful Booking #52784
    Franky
    Keymaster

    Adding 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.

    in reply to: Redirect on Successful Booking #52782
    Franky
    Keymaster

    This 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.

    in reply to: #_PENDINGSPACES #52781
    Franky
    Keymaster
    Franky
    Keymaster

    Action hook eme_ipn_action added, see:
    http://plugins.trac.wordpress.org/changeset/984716

    Franky
    Keymaster

    For 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_simulator

    in reply to: Change Eventful Days color in calendar widget #52770
    Franky
    Keymaster

    Look 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.

    in reply to: Conditional not Working #52769
    Franky
    Keymaster

    As 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

    in reply to: Change Eventful Days color in calendar widget #52765
    Franky
    Keymaster

    I’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.

    in reply to: Change Eventful Days color in calendar widget #52763
    Franky
    Keymaster

    CSS is something you should learn to master, using a CSS-debugger like firebug also helps.
    Learn CSS here: http://www.w3schools.com/css/

    in reply to: Change Eventful Days color in calendar widget #52761
    Franky
    Keymaster

    See 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.

    in reply to: YES / NO Registration #52756
    Franky
    Keymaster

    I 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 …)

    in reply to: YES / NO Registration #52753
    Franky
    Keymaster

    In 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.

    in reply to: YES / NO Registration #52751
    Franky
    Keymaster

    You 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.

    in reply to: Events Disappear after Update #52750
    Franky
    Keymaster

    Sounds 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?

    in reply to: Make the Featured Image Clickable? #52747
    Franky
    Keymaster

    I corrected the format for you in your post.

    in reply to: How to show attendees list on particular events page #52735
    Franky
    Keymaster

    Read the doc from the beginning to get an understnding about shortcodes and placeholders.

    in reply to: How to show attendees list on particular events page #52727
    Franky
    Keymaster

    Just 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 …

    in reply to: How to show attendees list on particular events page #52725
    Franky
    Keymaster

    Please 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.

    in reply to: Tracking the EME version number #52723
    Franky
    Keymaster

    Thanks for the info!

    in reply to: Tracking the EME version number #52720
    Franky
    Keymaster

    Although … you can check the readme.txt file of the plugin, it contains the version number:

    Stable tag: 1.5.2

    in reply to: Make the Featured Image Clickable? #52719
    Franky
    Keymaster

    Just do that yourself via simple html. E.g.:

    #_EVENTIMAGE

    in reply to: Tracking the EME version number #52718
    Franky
    Keymaster

    Indeed, 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 …

    in reply to: Tracking the EME version number #52713
    Franky
    Keymaster

    Can’t help you there. Maybe you should ask this at the official wp forum.

    in reply to: Add JavaScript to an RSVP form #52710
    Franky
    Keymaster

    Sure 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(''));
       });
    
    in reply to: Paypal feature request – support for discounts #52704
    Franky
    Keymaster

    Discounts 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).

    Franky
    Keymaster

    Use the conditional tag #_IS_ALLDAY to test for all day events and show the text you want.

    in reply to: avoid 00:00 if end of an event is unknown #52690
    Franky
    Keymaster

    You 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.

    in reply to: avoid 00:00 if end of an event is unknown #52689
    Franky
    Keymaster

    Please 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).

    in reply to: avoid 00:00 if end of an event is unknown #52687
    Franky
    Keymaster

    See 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]
    
    in reply to: Editing an existing event is removing the event dates #52684
    Franky
    Keymaster

    The 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.

    in reply to: Editing an existing event is removing the event dates #52682
    Franky
    Keymaster

    If 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.be

    in reply to: [eme_location id=7] nothing is showing #52680
    Franky
    Keymaster

    Confirmed as a bug and fixed here (one line fix in eme_locations.php):
    http://plugins.trac.wordpress.org/changeset/965856

    in reply to: Modify export / print preview #52678
    Franky
    Keymaster

    Although 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).

    in reply to: Use Form Fields for Attendee List #52674
    Franky
    Keymaster

    The 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.

    in reply to: eme_event_preinsert_filter #52667
    Franky
    Keymaster

    I 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.

    in reply to: eme_event_preinsert_filter #52666
    Franky
    Keymaster

    No sorry, it needs to be add_filter, not add_action. My bad.
    Let me retest.

    in reply to: Links for last/next month disappear without event #52662
    Franky
    Keymaster

    Well, 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.

    in reply to: eme_event_preinsert_filter #52660
    Franky
    Keymaster

    I 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.

    in reply to: Location and Category improvements. #52649
    Franky
    Keymaster

    all should already work.

    in reply to: Selecting Multiple Categories in Widget #52648
    Franky
    Keymaster

    Done in trunk

    in reply to: Expanded Form Styling Capabilities #52647
    Franky
    Keymaster

    The 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 …

    in reply to: Ability to change subject for all mailings #52646
    Franky
    Keymaster

    implemented in trunk

    in reply to: [eme_rss_link contact_person=xxx] #52645
    Franky
    Keymaster

    ok, 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.

    in reply to: Pagination Disappears #52642
    Franky
    Keymaster

    I 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.

    in reply to: Pagination Disappears #52640
    Franky
    Keymaster

    I 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.

    in reply to: Ability to Book Multiple Events #52635
    Franky
    Keymaster

    The multi-booking thingie seems ready to me 🙂
    I updated the doc for that part already, with even emails being done right now.

    in reply to: Call for translators #52626
    Franky
    Keymaster

    Hi, please feel free to mail the translation files (.mo and .po) to me so I can include them for the next release.

    in reply to: Map in a Widget #52622
    Franky
    Keymaster

    It took me some hours to get it working, but it will be in the next version.

    in reply to: Map in a Widget #52621
    Franky
    Keymaster

    2 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 …

    in reply to: Ability to Book Multiple Events #52618
    Franky
    Keymaster

    Yes, 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.

    in reply to: Ability to Book Multiple Events #52616
    Franky
    Keymaster

    Read the doc about it here already, and see if it would fit:
    http://www.e-dynamics.be/wordpress/?cat=5968

    Franky
    Keymaster

    Implemented in trunk, albeit not showing as a seperate line.

    in reply to: Condition based on another event's attributes #52605
    Franky
    Keymaster
    in reply to: Map in a Widget #52604
    Franky
    Keymaster

    I 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?

    in reply to: Map in a Widget #52600
    Franky
    Keymaster

    Enable the EME option “Enable shortcodes in widgets” and it should work 🙂

    in reply to: Conditionally Coding Stop Time to not Display #52597
    Franky
    Keymaster

    Yes it does 🙂
    And the bug was for updating an event, not for creating it (that’s why it escaped my testing).

    in reply to: #_HOURS_TILL_START placeholder #52595
    Franky
    Keymaster
    in reply to: Ability to Book Multiple Events #52594
    Franky
    Keymaster

    I 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 🙂 )

    in reply to: Insert event image #52593
    Franky
    Keymaster

    I 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 …

    in reply to: Conditionally Coding Stop Time to not Display #52591
    Franky
    Keymaster

    Hi, 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):

    http://plugins.trac.wordpress.org/changeset/956729

    in reply to: Insert event image #52585
    Franky
    Keymaster

    I see what you mean now. Let me check this …

    in reply to: RSS Week Scope #52581
    Franky
    Keymaster

    The eme_rss_link shortcode supports the same scope values as for events, I’ve changed the documentation accordingly.

    in reply to: Drop Down Menu Bug #52579
    Franky
    Keymaster

    As 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)

    in reply to: Ability to Book Multiple Events #52574
    Franky
    Keymaster

    In fact my point of view on this matter changed over time, and it is on my shortlist of features to implement next 🙂

    in reply to: [eme_locations_map] eventful=true not working #52571
    Franky
    Keymaster

    Confirmed as a bug and fixed here:
    http://plugins.trac.wordpress.org/changeset/949076

    in reply to: Format Templates for Calendars #52569
    Franky
    Keymaster
    in reply to: [eme_locations_map] eventful=true not working #52568
    Franky
    Keymaster

    Just to be sure: the locations have events linked to them?

    in reply to: Center Year element in Events List #52562
    Franky
    Keymaster

    Ok, it should be fixed with this change:
    http://plugins.trac.wordpress.org/changeset/947884

    in reply to: Center Year element in Events List #52560
    Franky
    Keymaster

    Any 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)?

    in reply to: Update notifications stuck #52557
    Franky
    Keymaster

    What 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 …

    in reply to: Insert event image #52555
    Franky
    Keymaster

    I’m not quite sure I understand what you’re saying here …

    in reply to: IDEAL Payment #52554
    Franky
    Keymaster

    Well, 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 🙂

    in reply to: IDEAL Payment #52551
    Franky
    Keymaster
    in reply to: Recurrences: multiple Times per Event #52548
    Franky
    Keymaster

    You can duplicate an event and then edit that new event and make a recurrent event out of it.

    in reply to: Recurrences: multiple Times per Event #52546
    Franky
    Keymaster

    Well, you can just duplicate another event and change the hours, for the moment that is the only solution.

    in reply to: Req field not filled in and form submits fine #52542
    Franky
    Keymaster

    Yes, sorry. Trunk means the development version. But since then, it has been released, so just updating the plugin should be sufficient.

    in reply to: Mail and conditional tags #52539
    Franky
    Keymaster

    Correct, added placeholder #_FIELDVALUE{xx} to get the real value.
    See http://plugins.trac.wordpress.org/changeset/940433

    in reply to: Creat event – user templates order by disciption #52538
    Franky
    Keymaster
    in reply to: Function eme_get_events() #52533
    Franky
    Keymaster

    There’s just an argument missing:

    
    $o_limit=5;
    $events = eme_get_events($o_limit, "future", "ASC", 0, "", "", "", "", 1, "", 0, "event_rsvp=1");
    
    in reply to: Html tags + Placeholder #52532
    Franky
    Keymaster

    I 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?

    in reply to: Function eme_get_events() #52531
    Franky
    Keymaster

    That 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).

    in reply to: Function eme_get_events() #52529
    Franky
    Keymaster

    I’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 …

    in reply to: Html tags + Placeholder #52526
    Franky
    Keymaster

    I 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)?

    in reply to: Function eme_get_events() #52525
    Franky
    Keymaster

    That 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");
    
    in reply to: Page scroll after registration #52522
    Franky
    Keymaster

    Just 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.

    in reply to: Page scroll after registration #52520
    Franky
    Keymaster

    Normally 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?

    in reply to: Function eme_get_events() #52519
    Franky
    Keymaster

    Please 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.

    in reply to: Html tags + Placeholder #52516
    Franky
    Keymaster

    This is the change for events-manager.php between 1.4.4 and 1.4.5:

    https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=932114%40events-made-easy%2Ftrunk%2Fevents-manager.php&old=925061%40events-made-easy%2Ftrunk%2Fevents-manager.php&sfp_email=&sfph_mail=

    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).

    in reply to: Mail and conditional tags #52513
    Franky
    Keymaster

    Confirmed as a bug and fixed here:
    http://plugins.trac.wordpress.org/changeset/936657

    in reply to: Template order by? #52512
    Franky
    Keymaster

    The 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)

    in reply to: Hide expired events in calendar #52508
    Franky
    Keymaster

    Glad to hear conditional tags are of use 🙂
    I also added a new option to hide evernts which rsvp period has ended.

    in reply to: Allow RSVP time limit #52506
    Franky
    Keymaster
    in reply to: Allow RSVP time limit #52505
    Franky
    Keymaster

    For the moment that is not possible. I’ll see if I can add an option to hide events past their RSVP ending limit.

    in reply to: Limit to 1 registration #52502
    Franky
    Keymaster

    For completeness: was just wrongfully pasted in the functions.php file, the code works as expected.

    in reply to: Allow RSVP time limit #52501
    Franky
    Keymaster

    Yes, look at conditional tags here: http://www.e-dynamics.be/wordpress/?cat=24 and use the tag #_IS_RSVP_ENDED

    in reply to: Custom fields, html output #52498
    Franky
    Keymaster

    You’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/934008

    in reply to: Limit to 1 registration #52495
    Franky
    Keymaster

    I don’t see anything wrong here. Can you send an admin account so I can check on your side?

    in reply to: Limit to 1 registration #52493
    Franky
    Keymaster

    Make 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.

    in reply to: Hide expired events in calendar #52491
    Franky
    Keymaster

    Just found a small error in my last code, fixed with this: http://plugins.trac.wordpress.org/changeset/932722

    in reply to: Hide expired events in calendar #52385
    Franky
    Keymaster

    And 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.

Viewing 150 posts - 3,751 through 3,900 (of 7,815 total)
Scroll to Top