Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
Well, as long as it seems logical, I’m good with it 🙂
The next version is around the corner, with many new things. I’ll remake the pot file later today again.
FrankyKeymasterOne event that runs 5 weeks but only one day of the week? Not possible for now … the recurrence is the same as for your normal average outlook calendar. So they are in fact 5 seperate events.
Maybe I’ll add an option later on to be able to register for all occurences. Not many people asked for this, but I’ll move it to feature requests.
Mon 22 Aug 2011 at 06:40 in reply to: More about admin panel – deleting a certain date of a recurring event #47916FrankyKeymasterThat shouldn’t be happening. What version of trunk are you testing?
FrankyKeymasterDo you use the #_MAP placeholder? Currently not enough info here …
FrankyKeymasterJust for your information: basic paypal integration will be in the next version
FrankyKeymasterJust for your information: basic paypal integration will be in the next version
FrankyKeymasterBasic paypal integration will be in the next version
Sun 21 Aug 2011 at 21:43 in reply to: Feature request: add number of booked seats and number of pending approval #48223FrankyKeymasterThe “modify registration” page is the “change registrations” page.
And as I said: the recap is there per booking.
Edit: and now also in the events overview, the recap is there per event (was already there, added pending info as well if any)
FrankyKeymasterI’m still working on integrating paypal.
For now, read this thread: http://www.e-dynamics.be/bbpress/topic.php?id=1229#post-4734
FrankyKeymasterGo the either “Edit events” where you can click on “Printable view” for the RSVP list (I believe this is in trunk), or then click the event you want to edit. Then on the right, below all registrations you can click on “Printable view”
Sun 21 Aug 2011 at 11:30 in reply to: Feature request: add number of booked seats and number of pending approval #48221FrankyKeymasterIt is in the code, per event you see the number of pending/approved registrations, in both the “pending approvals” and “change registrations” pages. I suggest you check your code again then.
Sat 20 Aug 2011 at 19:12 in reply to: Suggestion: Keep the original filename for image uploads on location page #47052FrankyKeymastersorry, I don’t agree here: lots of things can go wrong with using original filenames (weird characters being one of them; “..” in the name, etc … The most secure is not to keep the original name, and I’ll stick with that.
FrankyKeymasterThe option to “switch to pending registrations after being fully booked” is not a good idea, so maybe in the future I’ll add an option for overbookings. For now: the feature to edit the pending message per event has been implemented.
FrankyKeymasterI made the subject lines more descriptive (included the event name) in trunk, but for now it’s a bit too cumbersome to make all possible combos configurable. So the real feature request is postponed.
FrankyKeymasterCreate a normal page in wordpress and add the shortcode to the content of it.
FrankyKeymasterI’ll add a new option: “switch to pending registrations after being fully booked”
and add the feature to edit the pending message per event as well.
Fri 19 Aug 2011 at 21:37 in reply to: Feature request: add number of booked seats and number of pending approval #48219FrankyKeymasterThis is not the case here. If you use trunk: update to the latest trunk, deactivate and activate EME and try again
Fri 19 Aug 2011 at 09:41 in reply to: Feature request: add number of booked seats and number of pending approval #48217FrankyKeymasterCan’t check it here right now, but can you send me a screenshot or so? liedekef@telenet.be
FrankyKeymasterAnd what about using the location notes field?
Also, in the 2 fields for the location address, you can put in zipcode, state, etc …
FrankyKeymasterNormally you can’t “overbook” an event if you set the max number of seats correctly.
I understand your case though, so I’ll move this to feature requests.
FrankyKeymasterSorry, for the moment this is not possible …
Thu 18 Aug 2011 at 19:48 in reply to: Feature Request: hierarchical categories (multi-levels) #47304FrankyKeymasterThe alphabetical order thingie is in trunk, the multilevel request is being postponed until (and if) I ever switch to custom post types.
FrankyKeymasterImplemented in trunk
FrankyKeymasterSo I can safely assume the problem is fixed 🙂
Thanks for testing!
FrankyKeymastereasiest to do: put the fields in html in hidden with a bogus value
FrankyKeymasterI just tried it using the current trunk version and I don’t get the form-validation issue. So @wputler: would you be willing to try out the trunk version?
FrankyKeymasterFor now this is only editable via the code. A feature request is pending implementation for editing the fields.
FrankyKeymasterHmmm … maybe it’s a table or div not being correctly closed. I can’t check it here now, but if you paste the html source of that page into
http://validator.w3.org/#validate_by_input
does it show anything interesting?
FrankyKeymasterYes, I believe this is some CSS issue. I can’t reproduce it here though, so it must be a theme issue. If you switched to 3.2.1, you can’t just keep using the old themes just because of things like this I guess. Firebug might help you to find the real culprit.
FrankyKeymasterWell, I’m implementing one last feature: hardcoded permalinks for events and locations, so they don’t change if you change the title.
Once that’s implemented, I’m planning on releasing (probably somewhere this weekend).
But I can always use a hand for testing purposes. There’s one other user helping me here (admintiger), but more testers are always welcome!
FrankyKeymasterfixed in trunk
FrankyKeymasterThat’s something I can work with. I thought I disabled that function for now, but I’ll check this evening …
FrankyKeymasterErrr … I know of no method to disable that. Check your browser error console, I would say.
FrankyKeymasterFrankie, check your browser javascript error console, you might find a clue of what’s going on there.
Also, sometimes it’s good to really emoty the browser cache when trying things out …
FrankyKeymasterWhy don’t you use conditional tags in the format setting?
[events_if tag="#ESC_CATEGORIES" contains="cat_name"] a http-link to an image [/events_if]
Tue 16 Aug 2011 at 18:58 in reply to: Default event status is now Draft even when admin user logged in? #48325FrankyKeymasterIt’s been like this for quite some time now. This is also the case for new pages or posts btw ..
If you want to change it (I don’t recommend changing the code, but here you have to), change in eme_events.php, at the top:
event_status” => STATUS_DRAFT,
into:
event_status” => STATUS_PUBLIC,
or
event_status” => STATUS_PRIVATE,
FrankyKeymasterI corrected your “Exhibits” example: you had the recurrence set to “recur” every Wednesday, Thursday, Friday and Saturday each week, while the event also takes 4 days. This results in an event on Wednesday for 4 days, on Thursday for 4 days etc …
So I changed it to only happen on Wednesday and now it probably shows what you want.
FrankyKeymasterDid you try adding “long_events=0” as an option to [events_list] for the Camps example?
For the rest: I really should see the events themselves and the [events_list] instances used, so I can reproduce it. Could you give me a temporary admin account?
My email: liedekef@telenet.be
FrankyKeymasterno, not possible for now.
FrankyKeymasterSee this change made in trunk:
* Feature: added option “show_ongoing” to [events_list], to indicate you want the scopes to include end dates (ongoing events) upon evaluation (like e.g. future events include events starting in the past, but ending in the future), or just the start date. Default: 1
FrankyKeymasterNot possible for now. A feature request has already been made for an event image. Workaround is indeed to use the custom attribute method. If you don’t want the attribute to show for single events, just put it in the “Default event list format” setting.
FrankyKeymasterThe delete recurrence has been implemented in trunk, but the “taking out of the recurrence” has an easy workaround, so I will not implement that.
FrankyKeymasterTo reset the permalinks: deactivate/reactivate EME
then go to *Wordpress* settings “Permalinks” and press “Save changes” to be sure.
Then try again
FrankyKeymastersorry, not possible for now unless you code this yourself using the available filter for [events_list] mentioned here: http://www.e-dynamics.be/wordpress/?cat=41
FrankyKeymasterOk, I think your permalinks are off. Go to the permalinks and save the settings again.
The next version (hopefully) will allow you to change the permalink prefix, so that should be easier then.
FrankyKeymasterSo figure out what page they are seeing first … did you try it?
And for events: the registration form is part of the single event description.
Mon 15 Aug 2011 at 10:31 in reply to: Display just the date and location on the events list page #48301FrankyKeymasterRead my comment again …
Mon 15 Aug 2011 at 08:44 in reply to: Display just the date and location on the events list page #48299FrankyKeymasterThat’s because you tell in the formatting to show the attribute:
#_ATT{assessment_date}
so when you give it a value, it will show.
If you only want to use the assessment_date attribute for comparison reasons, use it inside a [events_if] condition. If not: add some text to it in case it’s not empty (using conditional tags again) or so.
Mon 15 Aug 2011 at 08:16 in reply to: Display just the date and location on the events list page #48296FrankyKeymasterWhat do you mean with “it messes up formatting in places using short codes”?
Sun 14 Aug 2011 at 23:13 in reply to: Possible to exclude categories from [events_list] & [events_filterform]? #46863FrankyKeymasterDone in trunk:
new option notcategory for shortcode [events_list]: works as the category option but serves to exclude categories
Sun 14 Aug 2011 at 18:46 in reply to: More about admin panel – deleting a certain date of a recurring event #47914FrankyKeymasterImplemented in trunk: “now you can delete events of an recurrence or the whole recurrence (no longer needed to take an event out of an recurrence before being able to delete just that event)”
FrankyKeymasterProbably it doesn’t like the 12H-formatting. Try using regular time format strings.
FrankyKeymasterImplemented in trunk:
extra html headers can now be added, usefull for e.g. meta tags for facebook or seo
FrankyKeymasterImplemented in trunk:
extra html headers can now be added, usefull for e.g. meta tags for facebook or seo
FrankyKeymasterFor the moment I’ll move this to postponed feature requests. It’s easy to implement, but I got no reaction to my last question and so far nobody else requested this.
FrankyKeymasterURL has been added, but google maps doesn’t work with more fields than the ones provided, and some countries don’t have states. You can use attributes for these if you want though.
FrankyKeymasterI just tried the AddToAny plugin in trunk for facebook sharing, and this works ok. There is a change in trunk that might influence this: wordpress creates a canonical relation link in the http header (link rel=”canonical”) for each page, and that pointed to the “system” page for EME. In my opinion it’s not wordpress place to generate this link-header, since it influences google search as well.
Anyway, this has been corrected in the trunk version so the AddToAny plugin works.
The facebook-share-new plugin is not yet ready for the newest WP releases (uses deprecated ways of implementing things).
EDIT: the AddToAny plugin needs a small change as well: the use of the function A2A_SHARE_SAVE_link_vars() should be omitted, so comment this out everywhere you find it in add-to-any.php . I’ll talk to the owner of this plugin.
FrankyKeymasterI was talking about firefox plugins, not WP plugins. But if you tried IE and Chrome as well, then it’s weird. Activate the url again please, I’ll check here using 2 browsers and see for some errors.
FrankyKeymasterI’m using firefox as well … maybe an issue with your browser then? Check your error console, or maybe a plugin is playing up, or you upgraded firefox in the background and didn’t restart the browser yet …
FrankyKeymasterI get this when trying to book:
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home3/savorype/public_html/wp-content/plugins/events-manager-extended/phpmailer/class-smtp.php on line 122
Fatal error: Call to undefined method SMTP::getError() in /home3/savorype/public_html/wp-includes/class-phpmailer.php on line 1910meaning you can’t connect to the google servers from your webserver (as mentioned in the doc: http://www.e-dynamics.be/wordpress/?cat=32 )
FrankyKeymasterURL to test?
What do you see in your webserver logs?
What are your rsvp settings?
Is mail activated?
FrankyKeymasterYour “requirement” was to show an recurrent event only on the starting day, even when it spans multiple days. That’s what I understood, and that’s what’s possible now. You need to play with “long_events” and “show_ongoing” (new feature in trunk).
FrankyKeymasterThe location can now also have an external url, implemented in latest trunk.
Categories don’t point to an url, but using conditional tags, you can let appear any url of your choice checking the resulting content of #_CATEGORIES (see the examples in the documentation).
Sat 13 Aug 2011 at 11:26 in reply to: Display just the date and location on the events list page #48294FrankyKeymasterWell, the code for this is ready (meaning I figured out how to code it up). I just need to figure out how to do the settings part:
– either a single text box where you can enter all the meta info of your choice
– or: per meta tag, ask for tag-name (e.g. “property”), tag-value (e.g. “og:title”) and content value (e.g. “#_NAME”)
Fri 12 Aug 2011 at 22:36 in reply to: Display just the date and location on the events list page #48292FrankyKeymasterUse attributes for that: one that contains the url (or complete link with text) of where you want to link to, and use that in your event formatting.
FrankyKeymasterYes, it will be part of the next release.
The error you’re seeing is probably because the contact person you choose for the event, or the default contact person, has a wrong (or none) email address.
FrankyKeymasterwas a small bug, fixed in trunk
FrankyKeymasterOk, I found the issue here: the obfuscate filter needs to be added to the output from eme, but even then the filter wouldn’t work since I already obfuscate the email (using ascii encoding).
Anyway, in trunk I added a filter for email encoding, so if you define the filter like this in your theme functions.php file:
add_filter( 'eme_email_filter', 'c2c_obfuscate_email' );
it will be obfuscated in the way of your choice (in this case the filter function comes from the “Obfuscate E-mail” plugin)
In the same way, you need to add the filter functions of your choice to “eme_general” and “eme_notes” for your quotation marks.
FrankyKeymasterI tried #_DESCRIPTION and it works just fine in the balloon.
FrankyKeymasterThis is the default balloon setting:
<strong>#_NAME</strong><br />#_ADDRESS - #_TOWN <br /> <a href='#_LOCATIONPAGEURL'>Details</a>
FrankyKeymasterI corrected your post, but I don’t see text in it, so how can you ever click on a url if there’s no text?
FrankyKeymasterI don’t know what you did, but now there’s no text in it at all 🙂
FrankyKeymasterThe description is there, but it seems there are a *lot* of single quotes in there that probably mess things up. This is what I see in firebug:
<div class="eme-location-balloon" id="eme-location-balloon-96_1313131003_34"><a ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''http:="" href=""></a></div>
(I needed to remove lots of quotes or I couldn’t show it here). See your html source.
It might be that some code is to blame here: it seems that single quotes are being escaped (which they should anyway) but there are waaaaaaaaay too many of them.
FrankyKeymasterNot really …
The new pot is online:
http://plugins.trac.wordpress.org/browser/events-manager-extended/trunk/langs/eme.pot?format=txt
FrankyKeymasterWhat’s the link?
FrankyKeymasterFor the moment this is not easily done: it needs a new conditional tag to check if you’re viewing a single day and then show that day. Both have been implemented in trunk:
* Feature: for conditional tags, I added 1 extra shortcode:
#_IS_SINGLE_DAY (‘1’ if you’re viewing a single day, ‘0’ otherwise)
* Feature: new shortcode #_CALENDAR_DAY, returning the day being viewed when viewing a specific day on the calendar
So now in trunk, you can do this in the events list formatting setting:
[events_if tag='#_IS_SINGLE_DAY' value='1'] Events happening on #_CALENDAR_DAY [/events_if]
Now that I think of it, this should work too (in trunk):
[events_if tag='#ESC_CALENDAR_DAY' value='1'] Events happening on #_CALENDAR_DAY [/events_if]
FrankyKeymasterthis is currently a feature request
FrankyKeymasterI’ll do an update of the language template file (pot) so you can use poedit to update the german language file if you want. Then this one can be included in the next version.
FrankyKeymasterI would first advise you to start with a basic fresh install of WP 3.2.1 and install EME on it, see if that works.
FrankyKeymasterFrankyKeymasterI quickly tried it, but no success so far: your site keeps behaving weirdly. Did you change anything in the WP core itself? Or manually changed CSS or themes or so?
FrankyKeymasterI’m still guessing it’s your theme that messes this up, in my install of 3.2.1 I don’t have the disturbing line there (and the html is a bit different as well).
The JS was probably my firefox, because here at home I can’t reproduce the error. If you allow me to deactivate all plugins and go to the default theme, we can start from there.
FrankyKeymasterEven when editing an event on your site, the map doesn’t show while it should. I saw some weird JS errors on my side. The following can be the reason:
– your frontend theme
– another plugin
So use the default theme, disable all other plugins and activate one by one until you find the guilty one.
FrankyKeymasterI received no mail so far …
FrankyKeymasterUse firebug on the link, you’ll see that there’s a CSS class for widget overriding this in custom.css:
.widget ul li a {
color: #000000 !important;
}
Please do be aware: I’m not giving CSS support here.
FrankyKeymasterSee the CSS rules: when you look at the source code, you’ll see that the widget has 2 classes: “widget” and “widget_eme_list”. It doesn’t mean that if widget_eme_list isn’t in the CSS that you can’t add it. Just read this: http://www.e-dynamics.be/wordpress/?cat=30 ==> eme.css needs to be in your theme folder. When EME finds it, it will include it so it will again show in the html source of the page.
FrankyKeymasterCould you give me a temp admin account? My email: liedekef@telenet.be
FrankyKeymasterThe locations_map creates a page with the locations added. You want to use the events_locations shortcode for this. See http://www.e-dynamics.be/wordpress/?cat=42
FrankyKeymasterThis is done in the same way/CSS as any post/page title. For the widget, look at the html source of the surrounding div: the CSS classes are “widget widget_eme_list”
FrankyKeymasterThis is already in trunk, so that’s no longer needed. My email: liedekef@telenet.be (in case you want to implement other stuff as well)
Sun 7 Aug 2011 at 07:22 in reply to: Feature request: add number of booked seats and number of pending approval #48214FrankyKeymasteralso line 793 in that file, which covers the features asked.
FrankyKeymasterThe map only displays if all data of the location is completed: location name, address and town.
Sat 6 Aug 2011 at 22:51 in reply to: Feature request: add number of booked seats and number of pending approval #48212FrankyKeymasterI also put these in the “pending approval” and “change reservations” page.
FrankyKeymasterWell, development is done in svn trunk of wordpress. So I would say: do a checkout of trunk, change the code and mail the ouput of ‘svn diff’ to me.
Sat 6 Aug 2011 at 15:15 in reply to: Feature request: add number of booked seats and number of pending approval #48210FrankyKeymasterdone in trunk
FrankyKeymasterIt can use any capability. Using a tool like the one mentioned at the top of the capabilities list, you can add capabilities of your own (User Role Editor). I’m still thinking about starting to use own capabilities, but it might interfere with current installed versions.
Updating of people info is (I think) another existing feature request. Manually adding registrations in the admin backend is also another existing feature request. If the feature requests don’t exist: feel free to add them, I’ll see what I can do before the next release.
There’s a bug in the trunk btw, maybe update again.
FrankyKeymasterDid you deactivate/reactive the plugin?
Could it be that you have roles without capabilities?
Which version of WP are you using?
It’s still trunk of course, so it’s good other people test this out.
FrankyKeymasterThese are a lot of different feature requests. I implemented categories for locations for now. Location filtering is very low on my to do list, I have another 40 feature requests to be dealt with first. Pagination for locations is more difficult than you would think btw …
FrankyKeymasterimplemented in trunk
FrankyKeymasterdone in trunk. From the changelog:
new option link_showperiod for shortcode [events_list]: if showperiod=daily and link_showperiod=1, then the shown days are links that will go to events for just that day
FrankyKeymaster#_MAP works only if all data for a location is filled in when creating/editing an event: name, address and town
FrankyKeymasterCan you show an url where it doesn’t work? And exactly what doesn’t work?
FrankyKeymasterI’m not going to implement this, there’s an easy workaround for this: add a person as contact person with an email address that’s in fact a list (or forwarded address) to the desired persons.
Thu 4 Aug 2011 at 21:14 in reply to: Author & Contributor Event Location Entry and Editing Rights #46637FrankyKeymasterOriginal request implemented in trunk: locations have an author now, and the rights management is complete as well: people can be assigned the right to add, edit own or edit all events.
Thu 4 Aug 2011 at 16:19 in reply to: Feature Request: add this_location/this_category to Event List/Single Event #48040FrankyKeymasterOk, now this is a bug: LOCATIONID inside a single event details wasn’t filled in, so it returned 0 and thus all locations were given. Fixed in trunk.
FrankyKeymasteryour JS generates an error in firefox, see your firefox error console. Fix this error and everything will be ok.
FrankyKeymasterCan you provide an url for this?
Thu 4 Aug 2011 at 13:28 in reply to: Feature Request: add this_location/this_category to Event List/Single Event #48038FrankyKeymasterviewing an event is done via a shortcode. anyway it will work as I already tested it
FrankyKeymasterDoes the setting “Events page” in the EME settings page refers to a valid page?
Wed 3 Aug 2011 at 18:46 in reply to: Feature Request: add this_location/this_category to Event List/Single Event #48036FrankyKeymasterJust realized it: if using a shortcode like [events_list] in another shortcode, you need to watch out for the placeholders: all things with “#_” get replaced first, so that’s why it seems like the same content appears. In this case: you can’t use the format option. This will work:
[events_list location_id=#_LOCATIONID]
In trunk I’ve added the possibility to use format anyway, using #OTHER as prefix for placeholders you don’t want replaced:
[events_list location_id=#_LOCATIONID format="
<li>#OTHERM #OTHERj #OTHERY - #OTHER_LINKEDNAME </li>
"]Wed 3 Aug 2011 at 18:23 in reply to: Feature Request: add this_location/this_category to Event List/Single Event #48035FrankyKeymaster“this_location” is only possible when viewing a location, so it doesn’t work when viewing an event.
I’ll check out the other option now.
FrankyKeymasterIn the trunk version: yes
FrankyKeymasterIn the trunk version you can configure access for rsvp if you want. In your case: the owner and contact person of the event can see everything.
FrankyKeymasterJust click on the “print” link, it will give you a nice overview then.
FrankyKeymasterMost of this is possible without any real code change: the full page calendar should just be rendered using [events_calendar] on a page with the template layout of your choice. The events page (the one choosen in the EME settings page) should then be one with sidebars. So these two are wordpress thingies, not EME.
For the colors: CSS is your friend, together with conditional tags.
FrankyKeymasterOk, fixed in trunk. From the changelog:
the no-events-message needs to be formatted by the user, not in the code using ul/li constructs
FrankyKeymasterOk, now this is something I can work with (you never mentioned it comes from the widget).
FrankyKeymasterThe code works just fine, but sometimes your “Featured”-span doesn’t show, I’m guessing because the div is too small or so (look via firebug, you’ll see the “Featured” is there in html).
Mon 1 Aug 2011 at 11:50 in reply to: Feature Request: add this_location/this_category to Event List/Single Event #48032FrankyKeymasterI looked at this last week, but it’s not as simple as it seems.
But I just thought of something: what about using this in single event description:
[events_list location_id=#_LOCATIONID]
Franky
Mon 1 Aug 2011 at 08:44 in reply to: Auto-populate fields in Booking Form for Registered Members #48105FrankyKeymasterDone in trunk. From the changelog:
* Improvement: the RSVP form now always prefills the name and email if you’re logged in, if no WP membership is required you can change the values
FrankyKeymasterYou are using minify for EME javascript. Don’t do that. See http://www.e-dynamics.be/bbpress/topic.php?id=1170#post-4618
FrankyKeymasterSo then my question remains: Which plugin do you use for email obfuscating?
FrankyKeymasterPlease use backticks to quote the code, now I can’t read this. And I believe this is no longer an issue, what version are you using?
Edit, my answer from before:
That’s not a line in my code. In the code I have:
$output = "<ul class='eme-no-events'><li>" . get_option('eme_no_events_message' ) . "</li></ul>";
which seems just fine to me.
FrankyKeymasterNo, I use strpos again but I compare the result binary: 0 is not false then. So that’s not the issue.
Would you give me a temporary admin account so I can snoop around?
Sun 31 Jul 2011 at 22:03 in reply to: Auto-populate fields in Booking Form for Registered Members #48103FrankyKeymasterIf a user is logged in, this data will be used to populate the booking form if you activate the RSVP setting “Require WP membership for registration”. A user can’t change these then, otherwise there’s no point in requiring WP membership.
FrankyKeymasterDid you enter anything in the EME setting “Events page”? That needs to point to a real page.
FrankyKeymasterVery weird … would you be interested in testing the trunk version?
FrankyKeymasterI tried with different categories without problems. Please see my question in my previous post.
FrankyKeymasterIf it is an event happening each day, it will be shown on each and every day that it happens. If it is an event spanning multiple days and you only want to show it on the first day it happens, use the option “long_events=0”.
FrankyKeymasterThe plugin “User Role Editor” can add capabilities, it seems to me the Role Scoper plugin does something differently.
FrankyKeymasterWell, for now I use capabilities, so any plugin that can add capabilities is ok. I didn’t do roles because it seemed more restrictive …
I’ll check out the Role Scoper plugin now.
Btw: the plugin “Capability Manager” does seem to work with 3.2.1 here (but I didn’t check if it is still in development).
FrankyKeymasterDownload the development version from here:
http://wordpress.org/extend/plugins/events-manager-extended/download/
but be warned: it’s the development version. Best to try it out in a controlled environment, it can eat your computer 🙂
FrankyKeymasterYes it would explain that: the code for contains and notcontains is practically identical:
} elseif (is_numeric($contains) || !empty($contains)) {
if (strpos($tag,"$contains")!== false) return do_shortcode($content);
} elseif (is_numeric($notcontains) || !empty($notcontains)) {
if (strpos($tag,"$notcontains")===false) return do_shortcode($content);so if notcontains works, contains should as well …
I just checked it here, and it seems to be working just fine using contains. If you just print out #_CATEGORIES, what do you get as a result? It might be that some strange character is interfering with php quotes here (although I escape using mysql_real_escape_string, but that might not be sufficient)
FrankyKeymasterIf not logged in into wordpress, the ical link should not give you the private events.
The category can now be specified as an option in the trunk version. From the changelog:
Feature: the shortcode [events_ical_link] now also accepts category as an option
FrankyKeymasterIt is case sensitive of course …
FrankyKeymasterAlso, try this change in the code, it might help:
FrankyKeymasterYour events_if tag is not closing, maybe that’s an issue? Also (I need to rectify the doc), try using ESC_CATEGORIES in the equation:
[events_if tag='#ESC_CATEGORIES' contains='Featured']<span class="pstv-cl-featured">FEATURED</span>[/events_if]
FrankyKeymasterCould you try to change the following line in events-manager.php from
$replacement = apply_filters('eme_notes', $replacement);
to
$replacement = apply_filters('the_content', $replacement);
and see if that does it for you?
FrankyKeymasterNotes are supposed to be shown as they are formatted. If you want plain text versions, use the filter eme_event_list_filter and change the content of the notes part per event to your liking.
FrankyKeymasterI created the function eme_daydifference in trunk. Your counter function would become (you used eme_get_event, it should be eme_get_events(1) like I mentioned before. I added this to trunk, so it will be in the next version:
# return number of days to next event, or to the specified event ID
function eme_countdown() {
extract ( shortcode_atts ( array ('id'=>''), $atts ) );
$now = date("Y-m-d");
if ($id!="") {
$event=eme_get_event($id);
} else {
$newest_event_array=eme_get_events(1);
$event=$newest_event_array[0];
}
$end_date=$event['event_start_date'];
return eme_daydifference($now,$end_date);
}
add_shortcode('events_countdown', 'eme_countdown');Btw: the “add_filter(‘widget_text’, ‘do_shortcode’);” is not needed: it’s an option in EME that you can activate.
FrankyKeymasterRole permissions are implemented in the current trunk version (in fact it’s more abilities). Payment is a howto I still need to write up. Search this forum for paypal for tips for now.
Thu 28 Jul 2011 at 12:06 in reply to: How to add a weekly RSVP event without a start and end date #48153FrankyKeymasterThere’s a setting “Default single event format” which you can change. Also there you can use conditional tags to show the date, based on eg. category name or attribute values, …
FrankyKeymasterIn trunk there’s now a new feature: recurrent events can span multiple days. Please do try it out.
Wed 27 Jul 2011 at 23:28 in reply to: No print of name and e-mail in the "delete booking" form #48155FrankyKeymasterConfirmed as a bug, fixed in trunk. The change:
Wed 27 Jul 2011 at 23:22 in reply to: How to add a weekly RSVP event without a start and end date #48150FrankyKeymasterIf you use the format option, don’t forget to enclose what’s following it in quotes. I really suggest that you first edit the format in the settings page, to get a feel of what changes when you change anything. In your case you want to change the setting “Default event list format”, for which the default is
<li>#j #M #Y - #H:#i<br /> #_LINKEDNAME<br />#_TOWN </li>
See http://www.e-dynamics.be/wordpress/?cat=25 for all possible placeholders for events, and also for the time placeholders.
FrankyKeymasterYou can use conditional tags for that, see http://www.e-dynamics.be/wordpress/?cat=24
In your case, you should check the result of the #_IS_RSVP_ENABLED tag (which wasn’t on the doc page, but now I added it):
[events_if tag='#_IS_RSVP_ENABLED' value='1'] show some stuff, eg. #_AVAILABLESPACES [/events_if]
FrankyKeymasterI see now what you mean: the current implementation of recurring events only allows for one-day events.
FrankyKeymasterWhich plugin do you use for email obfuscating? It might be that it simply acts upon posts and since events are not posts … I’ll try it here as well
Mon 25 Jul 2011 at 20:26 in reply to: How to add a weekly RSVP event without a start and end date #48147FrankyKeymasterThere’s an example on that page for categories, and also one that plays with start/end dates. Play with that and with the time placeholders (see http://www.e-dynamics.be/wordpress/?cat=25 )
-
AuthorPosts