mikeill
Forum Replies Created
-
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesThat would be sweet as pie, man. I just added a paypal donate button in the sidebar.
https://www.mzoo.org/Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesjust pushed through version 1.6, which should address the issues. (and adds a widget and type=day feature)
Forum: Plugins
In reply to: [MZ Mindbody API] Modals Intermittently Unresponsive – suhosin issueTurns out that when the suhosin package is being invoked with php, each $_GET value is limited to something like 527 characters – and these two exceeded it.
So I added the line suhosin.get.max_name_length = 5024 to the php.ini file – actually copied the php.ini file to the public_html directory with that line added, and added a line to the .htaccess file so that all of the directories below public_html would pull from the same php.ini file. The line is SetEnv PHPRC /path_to/public_html/php.ini.
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesYes do check for theme conflict as well but first, are you using the current version of the plugin, 1.5?
Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nYes. Thanks for reminding me.
Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nReferences appreciated nonetheless.
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesI was unable to duplicate the problem, but made some changes to the plugin which might address. Try updating the plugin when the new version becomes available and please report back.
Let’s resolve this.
Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nHmmm. I made a little demo plugin that just navigates through weeks, displaying the days of the week.
Not sure how I would use rewrite tags or rewrite rules at the moment (it’s been a long day), but welcome suggestions.
Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nYes. I’m looking at refactoring the whole thing because it’s quite messy trying to navigate back and forth between years. For example going from “week 1 in year 2015” to see what “last week” was (week final week in 2014 which is either 52 or 53 depending on the number of weeks that year had), etc.
What I think I want to do now is just pass first date desired to view (as
$_GET
variable) and display the week based on that.Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nThanks for your input, y the way, man. I get 2014 too, using
date_i18n('Y')
but am calling up a week usingdate_i18n("W", strtotime(date_i18n('Y-m-d')))
, which returns1
, but this is week number 1 of 2015, not 2014.Forum: Hacks
In reply to: Correct way to Get Current year using date_i18nIt’s set to Chicago for Central time, which is correct.
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classeslooking into it…
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesI haven’t seen this error yet. Have you tried disabling other plugins to test for conflict?
Forum: Plugins
In reply to: [MZ Mindbody API] Not Displaying DataYou are welcome and I do plan to update the plugin – and add login/registration.
Forum: Plugins
In reply to: [MZ Mindbody API] Not Displaying Data[mz-mindbody-staff-list] posted on the page should show the staff members. are you only trying to display staff and not any events on your site at this point? try substituting your studio id with the test id of “-99” (without quotes) and see if that works properly.