Resource icon

XenForo Style Tweaks (use attachments for og:image & others) 1.0.4

No permission to download

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
Kevin submitted a new resource:

Styles Tweaks (use attachments for og:image & others) - Options for several meta tags and miscellaneous display tweaks.

This is a collection of several options related to XenForo meta tags and miscellaneous display tweaks. This is how, for example, we are using attachments for the og:image at Cameraderie photography forum and here at Alien Soup.

After installing go into your XF Options page and look for "CinVin - Style Tweaks" to change your settings.

Unfurl Description Length
Enter the maximum length to use for the...
Read more about this resource...
 

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
Kevin updated Styles Tweaks (use attachments for og:image & others) with a new update entry:

Fixed Version Number, Changed Release Status

This update is just to fix the add-on release number. With this I've also changed it from being an "alpha" & "beta" release to a gold 1.0.0 release.

If you are using any version prior to this you will need to uninstall it and install this as a fresh copy. The alternative would be to manually change the version number in your xf-addons table for this to "1000070" and then installing this version as a a rebuild. Unless you are comfortable with touching your datatables directly I recommend...
Read the rest of this update entry...
 

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
Kevin updated Styles Tweaks (use attachments for og:image & others) with a new update entry:

Now includes 'Publisher' & 'MainEntityOfPage' tags on thread view

The [publisher] and [mainentityofpage] meta tags are now generated on the thread view pages See the thread linked below at XenForo for the details.

Here's an example of how it shows at Cameraderie; the new tags are inserted above the datepublished tag.
Code:
...
Read the rest of this update entry...
 

WxP

Cadet
Joined
Dec 23, 2019
Hello, i have used this but i have some problems with

  • Inferred Property
    The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
  • Missing Properties
    The following required properties are missing: og:image
im using xf 2.1.6
 

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
  • Inferred Property
    The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
  • Missing Properties
    The following required properties are missing: og:image
If you have the default meta image set in XF and if you allow guests to view attachments, and if those images are big enough (eg: you shouldn't try to use a tiny icon image or something else as the OG image), the the og:image tag will always be present. The add-on first tries to use the first acceptable attachment as the image and if none are found then it'll fall back to using the normal XF default meta image.
 

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
Kevin updated Styles Tweaks (use attachments for og:image & others) with a new update entry:

Updated for XF 2.1.6

An update is needed for XF 2.1.6 -- If you are running a version of CinVin Style Tweaks earlier then 1.0.4 and you are running XF 2.1.6 then you need to do this update!

Starting with XF 2.1.6, XF now includes the mainEntityOfPage and Publisher tags. If you running an earlier version of CinVin Style Tweaks then you will have duplicate Publisher and mainEntityOfPage meta tags inserted in your pages resulting in a validation error.

Starting with 1.0.4 this add-on no longer adds...
Read the rest of this update entry...
 
Top Bottom