You could use a verifier method. Something like (untested)...
protected function verifyDays(array $values, string $key, int $type, array $columnOptions): bool
if (!empty(array_diff($values, $columnOptions['allowedValues'])
I think this issue should be fairly rare (it implies IPv6 DNS resolution is failing), but you can replace line 290 of src/XF/Http/Reader.php to sort it:
$ipv6s = @dns_get_record($parts['host'], DNS_AAAA) ?: ;
@Xon Can you confirm whether adding the user_id clause results in MySQL picking the correct index?
WHERE content_type = 'user'
AND content_id = 'xxx'
AND action = 'register'
AND user_id = 'xxx'
ORDER BY log_date DESC
It's an operating system feature. On *nix-based operating systems, something like ln -s src/addon/Vendor/AddOn/_files/foo/bar/xyz.png foo/bar/xyz.png. I'm not familiar with what support is like on Windows these days.
Close, it would put it at foo/bar/xyz.png. If you want it in data/, you'd...
You could probably do...
Though for derived data you might want to just make this a getter instead of an actual column:
A bit cumbersome out of the box, but I tend to use symbolic links to the _files directory.
You would essentially treat _files as the root directory.
In your build.json:
I'm only speaking for myself, but I do not actively monitor threads here. If I reply at all, it is usually because 1) I happened to come across the thread, 2) I am not already busy with something else, and 3) I already know the answer.
In this specific case, I came across this thread by chance...