This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
76
Archived fixes / Re: Language search fouls up with plugins with subfolders
« on August 29th, 2013, 10:56 PM »
This should be fixed as of rev 2231.
78
The Pub / Re: two-columns and Firefox on narrow windows
« on August 26th, 2013, 01:57 AM »
Stop ignoring this.
80
Archived fixes / Re: Soft merge / ignored user
« on August 26th, 2013, 01:33 AM »Has this been committed? Haven't retested it yet.
81
The Pub / Re: So where can I download Wedge?
« on August 26th, 2013, 12:56 AM »(Please let me know when some are added, and I'll help test.)
82
Bug reports / Re: req_win bug
« on August 24th, 2013, 02:43 PM »ask(tmp.innerHTML, null, function (answer)
{
// do stuff
if (answer)
// they hit OK
});Is that 200 bytes?
tmp is a DOM element with an input, a select, a textarea, and some labels.
The callback is fired when the textual input is clicked.
83
Archived fixes / Re: Outgoing emails aren't passed through the rewriter
« on August 23rd, 2013, 10:00 PM »
It looks fixed but I haven't PURLs on to test.
84
Bug reports / Re: req_win bug
« on August 23rd, 2013, 09:57 PM »
@Nao> You wrote it ages ago. Now it's high time to use it.
85
Archived fixes / Forum history bug
« on August 23rd, 2013, 04:55 PM »
This is expanded with JS on this site.
86
Bug reports / req_win bug
« on August 23rd, 2013, 04:29 PM »
Suppose ask() is abused slightly to show a small form for input from the user. All <input> elements inside the popup get a click event and are populated with text.
Code: [Select]
/Themes/default/scripts/script.js (working copy)
@@ -189,7 +189,7 @@
.html('<section class="nodrag confirm">' + string + '</section><footer><input type="button" class="submit'
+ (modal_type == 1 ? ' floatleft" /><input type="button" class="delete floatright" />' : '" />') + '</footer>')
.each(animate_popup)
- .find('input')
+ .find('footer input')
.val(we_cancel)
.click(function () {
close_window();87
Archived fixes / Re: DB column size cannnot be comma sepeerated
« on August 23rd, 2013, 04:23 PM »
I'm storing latitude and longitude of pins on a Google map. Needs precision, as you may imagine. Also, not doing any math, other than looking for exact matches.
88
Archived fixes / DB column size cannnot be comma seperated
« on August 23rd, 2013, 04:13 PM »
I need to specify my own size fur floats (18,15) and cannot rely on the defaults (10,2).
Code: [Select]
The above code does not break anything as per my tests.
Before, only numeric type sizes were allowed. Now, the same is allowed within any number of commas.
/Sources/Class-DBPackages.php (working copy)
@@ -88,8 +88,16 @@
$default = '';
// Sort out the size... and stuff...
- $column['size'] = isset($column['size']) && is_numeric($column['size']) ? $column['size'] : null;
+ if (isset($column['size']))
+ {
+ $s = array_filter(explode(',', $column['size']), 'is_numeric');
+ if (!empty($s))
+ $column['size'] = implode(',', $s);
+ else
+ $column['size'] = null;
+ }
+
// Allow unsigned integers
$unsigned = in_array($column['type'], array('int', 'tinyint', 'smallint', 'mediumint', 'bigint')) && !empty($column['unsigned']) ? 'unsigned ' : '';
@@ -141,8 +149,16 @@
if (!isset($current_columns[$column['name']]))
{
// The column is new, add it to the list of columns to be added
- $column['size'] = isset($column['size']) && is_numeric($column['size']) ? $column['size'] : null;
+ if (isset($column['size']))
+ {
+ $s = array_filter(explode(',', $column['size']), 'is_numeric');
+ if (!empty($s))
+ $column['size'] = implode(',', $s);
+ else
+ $column['size'] = null;
+ }
+
// Allow unsigned integers
$unsigned = in_array($column['type'], $numeric_types) && !empty($column['unsigned']) ? 'unsigned ' : '';
@@ -160,8 +176,16 @@
else
{
// The column already exists, does it need changing?
- $column['size'] = isset($column['size']) && is_numeric($column['size']) ? $column['size'] : null;
+ if (isset($column['size']))
+ {
+ $s = array_filter(explode(',', $column['size']), 'is_numeric');
+ if (!empty($s))
+ $column['size'] = implode(',', $s);
+ else
+ $column['size'] = null;
+ }
+
// Allow unsigned integers
$unsigned = in_array($column['type'], $numeric_types) && !empty($column['unsigned']) ? 'unsigned ' : '';The above code does not break anything as per my tests.
Before, only numeric type sizes were allowed. Now, the same is allowed within any number of commas.
89
Features / Re: Miscellaneous/WIP screenshots
« on August 23rd, 2013, 05:20 AM »<insert obligatory "Aaaand it's GONE"Jokerquote>
90
Archived fixes / Re: Scroll Bug
« on August 20th, 2013, 04:05 PM »Not sure if it has been reported, just noticed this scroll bug on a Samsung Wave using the default browser, the scroll bar is in the middle of the page and scrolls down as you go down th page staying in the middle of the page.