[CDB] SEO Metadata

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: [3.2][BETA] SEO Metadata

Post by AlfredoRamos »

Hartenheer wrote: Sun Sep 30, 2018 10:54 am When I have filled in everything and click on confirm
Disappears the Facebook ID number
I can't reproduce that, are you sure you clicked submit and not reset?
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
User avatar
jackennils
Registered User
Posts: 229
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][BETA] SEO Metadata

Post by jackennils »

Updated German translation

Code: Select all

<?php

/**
 * SEO Metadata Extension for phpBB.
 * @author Alfredo Ramos <[email protected]>
 * @copyright 2018 Alfredo Ramos
 * @license GNU GPL-2.0-only
 */

/**
 * @ignore
 */
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
 * @ignore
 */
if (empty($lang) || !is_array($lang))
{
	$lang = [];
}

$lang = array_merge($lang, [
	'ACP_SEO_METADATA' => 'SEO Metadata Einstellungen',
	'ACP_SEO_METADATA_EXPLAIN' => 'Es kann sein, dass du den Cache leeren musst, nachdem du diese Werte geändert hast.',

	'ACP_SEO_METADATA_DESC_LENGTH' => 'Beschreibungslänge',
	'ACP_SEO_METADATA_DESC_LENGTH_EXPLAIN' => 'Maximale Länge der Beschreibung, die von den Meta Tags wie <samp>og:description</samp> genutzt wird. Sie hat ein festes Limit von <samp>255</samp> Zeichen.',
	'ACP_SEO_METADATA_DESC_STRATEGY' => 'Beschreibungsstrategie',
	'ACP_SEO_METADATA_DESC_STRATEGY_EXPLAIN' => '<samp>Trennen</samp> kappt die Beschreibung an genau der Stelle, an der die maximale Länge erreicht wird, sofern diese überschreitet wird.<br /><samp>Auslassungspunkte</samp> fügt Auslassungspunkte (<code>…</code>) am Ende der Beschreibung hinzu, wenn sie die maximale Länge überschreitet.<br /><samp>Ganze Wörter</samp> fügt so viele Wörter wie möglich ein, ohne die maximale Länge zu überschreiten.',
	'ACP_SEO_METADATA_DESC_CUT' => 'Trennen',
	'ACP_SEO_METADATA_DESC_ELLIPSIS' => 'Auslassungspunkte',
	'ACP_SEO_METADATA_DESC_BREAK_WORDS' => 'Ganze Wörter',

	'ACP_SEO_METADATA_IMAGE_STRATEGY' => 'Bildstrategie',
	'ACP_SEO_METADATA_IMAGE_STRATEGY_EXPLAIN' => '<samp>Erstes gefundenes</samp> wählt das erste geeignete Bild aus, das im Beitrag gefunden wird.<br /><samp>Bild-Abmessungen</samp> wählt das Bild aus, dessen Abmessungen größer sind als die festgelegten Abmessungen (Breite, Höhe) innerhalb eines Beitrags.',
	'ACP_SEO_METADATA_IMAGE_FIRST' => 'Erstes gefundenes',
	'ACP_SEO_METADATA_IMAGE_DIMENSIONS' => 'Bild-Abmessungen',

	'ACP_SEO_METADATA_DEFAULT_IMAGE' => 'Standard-Bild',
	'ACP_SEO_METADATA_DEFAULT_IMAGE_EXPLAIN' => 'URL des Standard-Bildes für Tags wie <samp>og:image</samp>. Es wird nur genutzt, wenn kein Bild auf der aktuellen Seite gefunden wird. Sie muss relativ zu <samp>%s</samp> sein.',

	'ACP_SEO_METADATA_SETTINGS_SAVED' => 'SEO Metadata Einstellungen wurden erfolgreich gespeichert.',

	'ACP_SEO_METADATA_DATA_EXPLAIN' => 'Metadaten werden basierend auf den Daten deines Boards dynamisch generiert.',

	'ACP_GLOBAL_SETTINGS' => 'Globale Einstellungen',

	'ACP_OPEN_GRAPH_SETTINGS' => 'Open Graph Einstellungen',
	'ACP_OPEN_GRAPH' => 'Open Graph aktivieren',

	'ACP_FACEBOOK_APPLICATION' => 'Facebook Anwendungs-ID',
	'ACP_FACEBOOK_APPLICATION_EXPLAIN' => 'Die ID deiner Facebook-Applikation.',
	'ACP_FACEBOOK_PUBLISHER' => 'Facebook Publisher',
	'ACP_FACEBOOK_PUBLISHER_EXPLAIN' => 'Die URL deiner Facebook-Seite.',

	'ACP_TWITTER_CARD_SETTINGS' => 'Twitter Cards Einstellungen',
	'ACP_TWITTER_CARDS' => 'Twitter Cards aktivieren',
	'ACP_TWITTER_PUBLISHER' => 'Twitter-Handle',
	'ACP_TWITTER_PUBLISHER_EXPLAIN' => 'Der Benutzername deines Twitter-Accounts.',

	'ACP_JSON_LD_SETTINGS' => 'JSON-LD Einstellungen',
	'ACP_JSON_LD' => 'JSON-LD aktivieren',

	'LOG_SEO_METADATA_DATA' => '<strong>SEO Metadata Daten wurden geändert</strong><br />» %s'
]);
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][BETA] SEO Metadata

Post by Hartenheer »

AbaddonOrmuz wrote: Sun Sep 30, 2018 7:32 pm
Hartenheer wrote: Sun Sep 30, 2018 10:54 am When I have filled in everything and click on confirm
Disappears the Facebook ID number
I can't reproduce that, are you sure you clicked submit and not reset?
I tried to set it up a few times.
And so know for sure.

You still have to enter your ID number?
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: [3.2][BETA] SEO Metadata

Post by AlfredoRamos »

Hartenheer wrote: Mon Oct 01, 2018 6:22 am I tried to set it up a few times.
And so know for sure.

You still have to enter your ID number?
Must be a web browser issue, I tried Chrome, Chromium, Firefox and even the native Android web browser and I couldn't reproduce your issue.

The Facebook application ID is optional, it's only needed to pass the validation of the Facebook debugger tool, empty values (of any option) are silently ignored.
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.2][BETA] SEO Metadata

Post by Hartenheer »

AbaddonOrmuz wrote: Mon Oct 01, 2018 10:29 am
Hartenheer wrote: Mon Oct 01, 2018 6:22 am I tried to set it up a few times.
And so know for sure.

You still have to enter your ID number?
Must be a web browser issue, I tried Chrome, Chromium, Firefox and even the native Android web browser and I couldn't reproduce your issue.

The Facebook application ID is optional, it's only needed to pass the validation of the Facebook debugger tool, empty values (of any option) are silently ignored.
Strange, I will upload it again and hope that it will work.
I have Chrome

Addition:

Unfortunately no improvement
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

When debug is enabled, it gives

[phpBB Debug] PHP Notice: in file [ROOT]/ext/alfredoramos/seometadata/event/listener.php on line 119: Undefined offset: 161852
Image
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

In one big topic with 38 pages, this extension slows down the download even up to 180 seconds, after shutting down everything becomes normal
Image
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

In general, by extension, if in the first message of the topic there is a link to a third-party image, the page loading speed increases by two. If this image is still not available, in general the loading is inhibited terribly.
Image
User avatar
jackennils
Registered User
Posts: 229
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][BETA] SEO Metadata

Post by jackennils »

Ever heard of the Edit button? :roll:
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: [3.2][BETA] SEO Metadata

Post by AlfredoRamos »

igorbond wrote: Thu Nov 01, 2018 5:47 pm In one big topic with 38 pages, this extension slows down the download even up to 180 seconds, after shutting down everything becomes normal
I don't know what you mean with "after shutting down".

Everything is cached after the first time it fetches the metadata. I'll see what I can do to lower the loading time and use less resources.
jackennils wrote: Thu Nov 01, 2018 8:56 pm Ever heard of the Edit button? :roll:
:lol: +1
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

AbaddonOrmuz wrote: Thu Nov 01, 2018 10:01 pm
igorbond wrote: Thu Nov 01, 2018 5:47 pm In one big topic with 38 pages, this extension slows down the download even up to 180 seconds, after shutting down everything becomes normal
I don't know what you mean with "after shutting down".

Everything is cached after the first time it fetches the metadata. I'll see what I can do to lower the loading time and use less resources.
Read above, in general, if the topic in the first post has links to images downloaded on third-party hosting, the page load time doubles, and if these pictures are no longer available, the page can load in a few minutes.
Image
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: [3.2][BETA] SEO Metadata

Post by AlfredoRamos »

igorbond wrote: Thu Nov 01, 2018 10:05 pm Read above, in general, if the topic in the first post has links to images downloaded on third-party hosting, the page load time doubles, and if these pictures are no longer available, the page can load in a few minutes.
That doesn't explain about "shutting down".

I read that already, you didn't add anything new to the discussion...
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

If you install the Default image, it does not pick up the images uploaded to the forum, but only the Default image
Image
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][BETA] SEO Metadata

Post by igorbond »

In general, it is not necessary that the pictures were not available, if the first message contains a large number of third-party pictures, the topic simply does not open. :(
Image
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][BETA] SEO Metadata

Post by </Solidjeuh> »

igorbond wrote: Sun Nov 04, 2018 9:45 am If you install the Default image, it does not pick up the images uploaded to the forum, but only the Default image
Cannot confirm. All works good here.
Try to debug the topic @ https://developers.facebook.com/tools/debug/sharing/
or https://cards-dev.twitter.com/validator
Locked

Return to “Extensions in Development”