justinendler
Forum Replies Created
-
The 1.6.x versions are all geared towards WP 3.0 compatibility, so the best solution for TEC is to use WP 3.0 and TEC 1.6.3. Due to your other plugins, however, you might want to try reverting to TEC 1.5.6.
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Todays event not showing in widget…@r3volution11 and @chm82
If you’re using 1.6.3, the way it should work is a day-of event should show in the list and the widget until the end time of the event is passed. All-day event should show. Is this what you’re getting?
Justin
Did any changes to the WP install or the site coincide with the plugin breaking? Specifically, I’m wondering if an update to WP caused the plugin to break.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Problem after upgrading to WordPress 3.0This was referred to above, but just a reminder to update TEC when updating WordPress. Please let me know about any problems that persist after upgrading to 1.6.3. Thanks.
Justin
Does your url structure
https://mydomain.com/category/events2010-05
occur by design or did TEC assign a post with it? If you’ve created that structure on purpose, how do you accomplish it? ( permalinks settings, rewrite rules, changing the url in the post editor, etc. ) Thanks.Justin
The code you posted suggests the problem may be with input validation. Can you post here the data you entered in your Events fields when the error occurred? Also, it’s not best, but you should be mostly safe keeping that line commented out, that is:
if( is_string($_POST[$htmlElement]) ) $_POST[$htmlElement] = filter_var($_POST[$htmlElement], FILTER_SANITIZE_STRING);
@djepayne and @travellers
The fact you had to modify your custom view files is a blunder on our part. We’re trying to avoid this in the future. Just to elaborate on the solution that travellers posted:
– in any custom view file in
<your theme directory>/events/
, the call to$spEvents->loadstylesandscripts()
must be changed to$spEvents->loadDomainStylesScripts();
@travellers
looking into the prev/next buttons problem…Justin
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] valid xhtmlHowdy,
I’m not sure about 1.5.5, but I just checked 1.6.3 with W3C and it’s clean.
Justin
Hi,
This is my first experience with WP 3.0 MU, but going through the process of enabling MU and creating a network, the whole thing went smoothly in tests and I was able to use TEC fine.
The error you posted occurs in our rewrite-rule code. In enabling MU, I was asked to replace some WP rewrite rules in .htaccess. Is there a chance these were entered incorrectly or skipped in your install? Another possibility is that the plugin was active while creating the network. Where all your plugins deactivated while creating the network?
If the above isn’t the problem, did you enable MU at the creation of the blog, or did the blog exist first? Also, are you using MU with sub-domain urls or with sub-directory urls?
Justin
I can get
in_events_category()
to test false only by turning off Pretty URLs in the options page. Can you check that Pretty URLs is turned on? If you thought it was and it wasn’t, maybe the TEC options are not saving.Justin
Hi,
I’m not getting those results.
in_event_category()
tests true for me and in$wp_query
,[category_name]
is null. Pretty urls work fine. Can you give more details, especially speculation on whyin_event_category()
is testing false.? Do you have a link to an example? Thanks.Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Only one event per day, how to have many ?Hi,
That error message refers to some code that’s no longer in the plugin. WP 3.0 has some big changes in it, so 1.5.6 will definitely not work correctly with it. Try 1.6.3.
On both 1.6.2 and 1.6.3, I do not have the original error you posted, with only one event per day showing up.
Does anyone else have this problem?
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Duplicating event dateHi,
Those date lists cover all the possible month lengths and are supposed to be hidden until needed. This probably means some javascript is breaking. Another possibility is that some of the plugin’s css is not getting loaded. Do you have access to a browser console log to see what javascript errors there might be?
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] include location meta in events queryHi Darren,
In the interface you’re building, since you want the date to stay persistent, you should be fine to get the date from post meta, then have your link point to the subcategory you made, adding a url arg of the date. The only built-in help is that the plugin knows you’re in a subcategory of Events and therefore will show the correct events templates.
The prev / next links in list view, the gridview datepicker and the gridview prev / next month links should all keep the user in the subcategory.
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] All Links Broken with PermalinksHi,
Are you able to restrict your custom permalink structure to only legal WordPress structure tags? For instance, your custom structure would need to be
/%category%/%postname%/
instead of what’s posted above.Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] All day event vs normal event timesHi,
Just to clarify…
In post edit view, when “All Day Event” is selected, time selection fields should get hidden with jQuery. When it is deselected, they should show. Are you getting different behavior than this?
Justin