[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
Forex Station
Registered User
Posts: 177
Joined: Thu Apr 06, 2017 2:26 pm
Location: Australia
Contact:

Re: [3.2][RC] SEO Metadata

Post by Forex Station »

Ok here's an update 4 days after using the latest version of this extension, mobile search results for our forum is now showing topic image attachments from our threads as search snippets (thanks to this extension). Very cool :mrgreen:

Image
Highly-customized PhpBB board voted as one of the most influential trading sites in the world: forex-station.com 💬
User avatar
Forex Station
Registered User
Posts: 177
Joined: Thu Apr 06, 2017 2:26 pm
Location: Australia
Contact:

Re: [3.2][RC] SEO Metadata

Post by Forex Station »

AbaddonOrmuz wrote: Wed Apr 10, 2019 6:56 pm That's not true, Open Graph is enabled by default:

https://github.com/AlfredoRamos/phpbb-e ... on.php#L58

It was tested on live boards before releasing version 1.1.0
Al, do you mind adding the option for us to retain the attachment names in Meta Description please? Just as it was in 1.0.1-RC2?
Highly-customized PhpBB board voted as one of the most influential trading sites in the world: forex-station.com 💬
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][RC] SEO Metadata

Post by AlfredoRamos »

Forex Station wrote: Thu Apr 18, 2019 3:33 pm Al, do you mind adding the option for us to retain the attachment names in Meta Description please? Just as it was in 1.0.1-RC2?
Meta Description?, I didn't use any bit of that extension, so It won't be the same.

In my extension, they were removed because on a board with multiple images at the start, the description length is occupied mostly by long filenames, which is not ideal.

It's the same for [img] and [url] BBCodes, in fact attachments were not removed before because of an oversight.

If you want to keep them you can do the following modification, make sure you're using the latest version (1.1.0):

File: ext/alfredoramos/seometadata/includes/helper.php
Find and remove:

Code: Select all

		// Remove attachments
		foreach ($xpath->query('//ATTACHMENT') as $node)
		{
			if (empty($node->nodeType) || empty($node->parentNode))
			{
				continue;
			}

			$node->parentNode->removeChild($node);
		}

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
Forex Station
Registered User
Posts: 177
Joined: Thu Apr 06, 2017 2:26 pm
Location: Australia
Contact:

Re: [3.2][RC] SEO Metadata

Post by Forex Station »

AbaddonOrmuz wrote: Thu Apr 18, 2019 9:07 pm
Meta Description?, I didn't use any bit of that extension, so It won't be the same.
Thanks Al, that makes sense. I'll do this and test out how the SERPs go and update this thread.

Apologies for wording it incorrectly I actually meant metadata description (as noted in the changelog on page 1 of this thread under 1.1.0-RC1 - 2019-04-05), not meta description extension.
Highly-customized PhpBB board voted as one of the most influential trading sites in the world: forex-station.com 💬
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [3.2][RC] SEO Metadata

Post by donsenilo »

AbaddonOrmuz wrote: Mon Apr 08, 2019 6:34 pm Ok, so everything seems to be fine from my tests and your comments, so I released version 1.1.0, I'm about to send it for validation.

Note: I changed some file names (migrations), so completely uninstall your current version (data then files) before installing the new version, otherwise you might need to manually delete the module ACP_SEO_METADATA.
How do I do that ?
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [3.2][RC] SEO Metadata

Post by canonknipser »

  1. extension management - deactivate extension
  2. extension management - delete data
  3. ftp - delete all extension files from ext-folder
  4. ftp - upload new set of files to the ext folder
  5. extension management - activate extension
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [3.2][RC] SEO Metadata

Post by donsenilo »

canonknipser wrote: Tue May 14, 2019 1:50 pm
  1. extension management - deactivate extension
  2. extension management - delete data
  3. ftp - delete all extension files from ext-folder
  4. ftp - upload new set of files to the ext folder
  5. extension management - activate extension
Done ... but it does not work ...
I get this error:
Ein Modul existiert bereits: ACP_SEO_METADATA
(module exists)
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][RC] SEO Metadata

Post by AlfredoRamos »

donsenilo wrote: Tue May 14, 2019 2:20 pm Done ... but it does not work ...
I get this error:
Ein Modul existiert bereits: ACP_SEO_METADATA
(module exists)
It means that you didn't delete the extension data before installing the new version as you said.

To delete it manually:

- Go to the ACP > System
- Module management > Administration Control Panel
- Extensions > Find "ACP_SEO_METADATA"
- Click on the red icon to delete it and confirm

After that you shouldn't have problems installing the new version.

Once it's validated this won't happen again.
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
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [3.2][RC] SEO Metadata

Post by donsenilo »

To delete it manually:

- Go to the ACP > System
- Module management > Administration Control Panel
- Extensions > Find "ACP_SEO_METADATA"
- Click on the red icon to delete it and confirm
THX for that, but I can't find this in my ACP in your described order.
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][RC] SEO Metadata

Post by AlfredoRamos »

donsenilo wrote: Tue May 14, 2019 5:31 pm THX for that, but I can't find this in my ACP in your described order.
Image
Image
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
dingus33
Registered User
Posts: 136
Joined: Fri Sep 29, 2017 11:11 am

Re: [3.2][RC] SEO Metadata

Post by dingus33 »

super nice. i look forward to using this in production in the near future.
User avatar
Wuppi
Registered User
Posts: 19
Joined: Mon Jun 17, 2019 9:22 am
Contact:

3 Bugs around OGP (Facebook)

Post by Wuppi »

(my Site is at the moment not public - next week... no site to demonstrate - sorry)

Hi

i've checked my OGP-Tags with the Facebook-Debugger and found some problems/bugs:

1) there 2 ways to use attachments in phpbb3(.2.7) ... "At the end of the post" (i don't know the correct name for this mode; you the your Picture with "Attachment" over the box) or IN the post (with [attachment-Tag]; on upload-Dialog: View in Post).
og:image works with "at the end of the post" ... but not with "IN the post". If you used both: don't work, too. ONYL "at the end of the post"

2) (has to do with the first one)
If you use the Attachment-Tag, the OGP:DESCRIPTION says

Code: Select all

[attachment=1:x9720k1t]P2170317.JPG[/attachment:x9720k1t]Moin ....
<- the tag should be remove

3) Locale is wrong

Code: Select all

og:locale	[]
if you look in the source: "de" is set (but FB don't accept this). It should be "de_DE" (http://ogp.me/ -> en_US für US-Sites)

4) Feature-Request: Facebook optimally requires og:image:width and height => https://developers.facebook.com/docs/sh ... precaching

My Settings:
Enable Description: yes
Description strategy: break words
Image strategy: first found
Default-Image: set (and is set in Topics when Attachment-Tag is use in first post)
Local Images: yes
Include attachments: yes
Prefer attachments: yes
Enable OGP: yes

Board: phpbb3.2.7 on PHP7.2

Thanks
Wuppi

PS: META-KEYWORDS are definitely dead? (not only for Google ... Bing? etc.)
User avatar
Wuppi
Registered User
Posts: 19
Joined: Mon Jun 17, 2019 9:22 am
Contact:

Re: [3.2][RC] SEO Metadata

Post by Wuppi »

og:url ... your extension set t, f and of course start... the canonical from phpbb3.2 uses only t (and start) .. f isn't need (?)
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: [3.2][RC] SEO Metadata

Post by thecoalman »

Wuppi, there is six hour bump rule here, if no one has replied since your last post in a topic please edit your previous reply.

Thanks.
Wuppi wrote: Wed Jun 26, 2019 9:09 am og:url ... your extension set t, f and of course start... the canonical from phpbb3.2 uses only t (and start) .. f isn't need (?)
The f parameter is used to generate the "Users browsing this forum:" list you'll find at the bottom of this page and forum topic lists, it's not required to display a topic correctly. Since nearly all links generated use the f parameter what I have done with my own forum is edit the code so the canonical URL has the f parameter included.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: 3 Bugs around OGP (Facebook)

Post by AlfredoRamos »

Hi
Wuppi wrote: Wed Jun 26, 2019 9:00 am 1) there 2 ways to use attachments in phpbb3(.2.7) ... "At the end of the post" (i don't know the correct name for this mode; you the your Picture with "Attachment" over the box) or IN the post (with [attachment-Tag]; on upload-Dialog: View in Post).
og:image works with "at the end of the post" ... but not with "IN the post". If you used both: don't work, too. ONYL "at the end of the post"
That's no a bug, it will only work with normal attachments (at the end of the post), not with inline attachments (in the post).

Inline attachments doesn't contain useful information to extract only those, adding support for them would require significant changes and it would probably increase resources usage.
Wuppi wrote: Wed Jun 26, 2019 9:00 am 2) (has to do with the first one)
If you use the Attachment-Tag, the OGP:DESCRIPTION says

Code: Select all

[attachment=1:x9720k1t]P2170317.JPG[/attachment:x9720k1t]Moin ....
<- the tag should be remove
Which version (of this extension) are you using? It deletes the attachments and removes all BBCodes.

Did you modify the extension?

The ogp:description tag doesn't exist
Wuppi wrote: Wed Jun 26, 2019 9:00 am 3) Locale is wrong

Code: Select all

og:locale	[]
if you look in the source: "de" is set (but FB don't accept this). It should be "de_DE" (http://ogp.me/ -> en_US für US-Sites)
Thanks for the report, it will be fixed or in the worst case deleted, in the next version.
Wuppi wrote: Wed Jun 26, 2019 9:00 am 4) Feature-Request: Facebook optimally requires og:image:width and height => https://developers.facebook.com/docs/sh ... precaching
Seems like a good addition and that information is already in cache, it will be added in the next version.
Wuppi wrote: Wed Jun 26, 2019 9:09 am og:url ... your extension set t, f and of course start... the canonical from phpbb3.2 uses only t (and start) .. f isn't need (?)
It adds the URL of the current visited page without the session ID (sid), the extension doesn't construct that URL, it only uses what is already there.

If you don't want the forum ID to be present in the URL (f) simply remove that parameter along with its value.
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:
Locked

Return to “Extensions in Development”