Page 11 of 13

Re: [3.2][RC] SEO Metadata

Posted: Fri Apr 12, 2019 4:34 pm
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

Re: [3.2][RC] SEO Metadata

Posted: Thu Apr 18, 2019 3:33 pm
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?

Re: [3.2][RC] SEO Metadata

Posted: Thu Apr 18, 2019 9:07 pm
by AbaddonOrmuz
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);
		}


Re: [3.2][RC] SEO Metadata

Posted: Fri Apr 19, 2019 3:19 am
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.

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 1:44 pm
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 ?

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 1:50 pm
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

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 2:20 pm
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)

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 4:42 pm
by AbaddonOrmuz
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.

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 5:31 pm
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.

Re: [3.2][RC] SEO Metadata

Posted: Tue May 14, 2019 7:29 pm
by AbaddonOrmuz
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

Re: [3.2][RC] SEO Metadata

Posted: Sun Jun 02, 2019 5:51 am
by dingus33
super nice. i look forward to using this in production in the near future.

3 Bugs around OGP (Facebook)

Posted: Wed Jun 26, 2019 9:00 am
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.)

Re: [3.2][RC] SEO Metadata

Posted: Wed Jun 26, 2019 9:09 am
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 (?)

Re: [3.2][RC] SEO Metadata

Posted: Wed Jun 26, 2019 10:03 am
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.

Re: 3 Bugs around OGP (Facebook)

Posted: Wed Jun 26, 2019 3:53 pm
by AbaddonOrmuz
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.