frumbert
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Modal Login] add first and last name to register screen?I have a base 3.7.1 Wp installation without any other plugins or customisations. On the register screen, I see “email” and “username”. I think if another plugin extends the registration screen details then you get to see those, but this plugin only seems to post back certain fields in it’s ajax call…
Forum: Plugins
In reply to: [Weekly Class Schedule] Todays classes wrong for my time zoneAnswering my own question here, but I trawled around the net and found this snippet of code, which I put into /wp-content/plugins/weekly-class-scheudule/models/WcsTodayClassesWidget.php
replace:
$today = date( 'w', strtotime( 'now' ) );with:
$date = new DateTime(); $date->setTimezone(new DateTimeZone('Australia/Sydney')); $today = $date->format('w');Forum: Plugins
In reply to: error Warning: Cannot modify header informationMake sure that whatever application you are editing in isn’t save files as UTF-8. When files are encoded like this, they add 3 bytes at the top of the file which appear before the
<?phpopen tag at the top of the file. You don’t normally “see” these characters because they are instructions to the editing program about the type of encoding that it needs to use when saving the file.If possible, change your editing tool to ANSI encoding before you save the file. Windows Notepad has this option on its
Save As...screen – Look for Encoding at the bottom of the window.Hope this helps someone – it had me scratching my head for a while …