• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.
Open graph thread

Open graph thread 1.0

No permission to download
Note
Compatible XF 2.x versions: 2.0, 2.1, 2.2
Description:

Uses first attachment in threads for open graph.

When creating a new post in Facebook or Twitter, the open graph function will use the first embedded attachment in your thread as the image for the new post.

How to use:

Copy thread URL from your forum. Now go to Facebook or Twitter and start a new post, paste your thread URL.

Questions and answers:

Q: What image is used if the thread doesn't have any attachments?
A: By default your logo is used. However this is not desirable. You should create an Open Graph specific logo which will be 200x200 and enter the path here:

Admin control panel -> Style properties -> Basic options -> Metadata logo URL

pic001.jpg


I suggest uploading the image to the following directory:

data/assets/logo/open_graph.png

You will need to create the assets/logo directory as XenForo does not have those directories by default.
  • Like
Reactions: javilonas
Author
Andy
Downloads
8
Views
63
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

Open MP3 Andy
Open MP3 1.1
Opens MP3 attachments in the browser.
0.00 star(s) 0 ratings
Downloads
51
Updated
Open PDF Andy
Open PDF 1.3
Opens PDF attachments in the browser.
5.00 star(s) 3 ratings
Downloads
271
Updated
Approval queue thread date Andy
Changes approved threads in selected forums to current date and time.
0.00 star(s) 0 ratings
Downloads
5
Updated
Approval queue thread manager Andy
Changes approval queue to physically delete threads.
0.00 star(s) 0 ratings
Downloads
21
Updated
Ban thread Andy
When a ban is issued, a new thread is automatically created for staff members.
5.00 star(s) 1 ratings
Downloads
193
Updated
Top