JasperVriends Then I'll need to add an or to the if statement so it's still compatiable for the old plugin-version.
If you release a new version of this extension, it's perfectly okay to drop support for extensions that are no longer maintained..
JasperVriends Then I'll need to add an or to the if statement so it's still compatiable for the old plugin-version.
If you release a new version of this extension, it's perfectly okay to drop support for extensions that are no longer maintained..
luceos I agree with this. The previous incarnation of best answer was broken before being brought into the FoF namespace, so there seems to be little point in supporting what is now considered legacy. Perhaps make a note in the upgrade ?
Easier would be to add fof/best-answer under suggests and the other extension under conflict.
See https://getcomposer.org/doc/04-schema.md#conflict for conflict and the full composer schema. These changes only apply to the version tagged with this information, which makes it incredibly powerful to abandon a dependency you previously used.
Hi, I have been using this extension for almost 2 years but I don't know why every time I test this with structured data i have a lot of errors in headings have this (String length of headline must be in range [0, 110])
in the logo I have this (there is a link with image but I have this error anyway) A value for the url field is required.
I have this one too dateModified The dateModified field is recommended. Please provide a value if available
. mainEntityOfPage The mainEntityOfPage field is recommended. Please provide a value if available.
Is there a solution for this..?
nice
The robots.txt unable to work properly
`public function process(Request $request, Handler $handler): Response
{
$method = $request->getMethod();
$uri = $request->getUri()->getPath() ?: '/';
$routeInfo = $this->getDispatcher()->dispatch($method, $uri);
switch ($routeInfo[0]) {
case Dispatcher::NOT_FOUND:
throw new RouteNotFoundException($uri);
case Dispatcher::METHOD_NOT_ALLOWED:
throw new MethodNotAllowedException($method);
case Dispatcher::FOUND:
$handler = $routeInfo[1];
$parameters = $routeInfo[2];
return $handler($request, $parameters);
}
}`
Cathas9lives do you get an error message ?
Hello, Thanks for your great work. but i wanna know if it is possile that setting twitter:image
meta as summary_large_image
or summary
by detecting the size of image, or just give us a option?
JasperVriends No idea why that is
I don't see any mention to '0.4-beta' in the extension or composer.json?
This version is detected by Packagist, since there is tag with such name:
https://packagist.org/packages/v17development/flarum-seo#0.4-beta
https://github.com/v17development/flarum-seo/releases
I'm not sure why this is reported as an error, 0.4-beta
looks like valid version for me.
I suppose Packagist accepts non-semver-compilant versions.
If we read the semver spec, 0.4-beta is not a valid version https://semver.org/
A normal version number MUST take the form X.Y.Z
But because it's a valid version in Packagist, I think the correct approach here would be for Admin Dashboard to use Composer's normalize()
function https://github.com/composer/semver/blob/master/src/VersionParser.php#L102 on the version before using it as semver.
clarkwinkelmann It definitely should not fail hard when it finds one invalid version. At worst case 0.4-beta
and similar versions should be ignored.
I've already implemented finding last version for my Weblate initiative (based on list of tags from Github/Gitlab, but it should work with Packagist data too), you may want to take a look: https://github.com/rob006-software/flarum-translations-builder/blob/60946656b1b63ffd3e89bd6c41c3353a34568eef/components/extensions/ExtensionsRepository.php#L270-L312
I have a tiny issue with your addon, it is complaining about the sitemap addon. I do have the fof Sitemap addon installed, enabled, and the Sitemap is there, but it still thinks that I have not set it up. I have tried reinstalling both addons, but the issue does not go away. Is there a way you could help me with this?
Thank you!
TommyTran732 Looks like the extension is looking for the flagrow-sitemap
ID. When you installed flagrow/sitemap, I assume it installed the fof version as the GitHub repository was transferred, so Packagist is retrieving the FriendsOfFlarum repository now.