Resource icon

XenForo 2 CinVin: Style Tweaks (use attachments for og:image & others) 1.0.8

No permission to download
Visible Branding
Additional Requirements
XenForo 2.1.x
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.

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

Change "What's New" Icon Link to "New Posts"
On mobile devices (small screen sizes) a "What's New" lightning bolt icon is shown in the navigation bar. By default this links to the "What's New" page. This option changes the link to "New Posts" instead.

Change Emoji CDN File Extension
When using a custom "Emoji Source" location the files are hard-coded for the png extension. This option allow you to select a different extension such as svg. (See thread 177937 at for reference.)

Add Back Icon on Mobile
On mobile devices (small screen sizes) a new 'back' icon can be shown in the navigation bar. This can be seen in action here at Alien Soup and at our sister sites like Cameraderie.


Unfurl Description Length
Enter the maximum length to use for the text of unfurled URLs. The default value is hard-coded in the bb_code_tag_url_unfurl template. Enter a new maxium length value here or leave it as 0 to use the XF default value from the template. (See thread 161444 at for reference.)

Use Post Attachment for OG:Image and use Twitter Card [meta tags og:image, og:image:height, og:image:width and twitter:card]
By default value of the og:image is the value entered for the Metadata logo URL in your style templates under Basic Options. When posting to social media like Twitter and Facebook using a post attachment image instead is usually preferred. Turn this option on to use try to use an attachment instead. Enabling this option will also include the meta tag twitter:card using the card type specified. If you are unsure what value to use then leave it at summary_large_image. If no attachment image is available to use then the default XF value will be used. (See Metadata logo URL in ACP.)

Twitter Site Name [meta tag twitter:site]
Enter a Twitter account name to include in the meta tags as the twitter:site value. This meta tag is required when specifying the Twitter Card to be certain types like summary_large_image. This is typically the same value you would have used for the Twitter Connected Accounts value. (See Twitter Card Tags for reference.)

Facebook App ID [meta tag fb:app_id]
Enter your Facebook Application ID. This is typically the same value you would have used for the Facebook Connected Accounts value. Having the Facebook Application ID is required in order to gather statistics with Facebook Insights. If you do not use/care about FB Insights then this value will not affect you if it is missing. XenForo will not add the meta tag back. (See thread 164982 at for reference.)

Page "Type" for Thread View [meta tag og:type]
The default Open Graph value for XenForo pages is "website" on all pages. Enter a different value, such as "article", to use on Thread View pages. Be sure the value you enter is valid and that you are absolutely sure you want to change it. This will be used on Thread View pages only, the rest of your XenForo pages will still use the XF default. Leave this blank to use the default XF value. A value of article or blog is required for use with Pinterest Rich Pins. (See Pinterest Article Pins for reference.)
First release
Last update
5.00 star(s) 3 ratings

Latest updates

  1. Fix for disabling 'show back button', changed TMS priority to avoid conflict

    This contains two minor changes. Note this is 1.0.8, the 1.0.7 release has been jumped over...
  2. New options for emoji CDN file extension, What's New icon, and OpenSearch tag.

    New options added since the last public release.... :) Added new option to override the default...
  3. 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...

Latest reviews

Thanks for this, been looking for an OG image addon and looking forward to trying this out! :)
Great addon Kevin, thanks!!!!
Amazing dude, exactly what i need <3 much love to you Kevin!