Pretty sure it's this add-on: https://xenforo.com/community/resources/s9e-media-sites.5973/
Add-ons are effectively the way to go about that. You can also put the site in debug mode if you want to do it by hand, or you can manually edit them in the database. Using an add-on ties your updates to the add-on dev, whereas updating the vanilla entry keeps you on the XF update path. Manually creating a media site shifts the maintenance to you, so I consider that to be the least desirable option. But to each their own.Honestly media sites should be upgradeable without requiring a software update. Just like support for adding new emojis.
For media sites, there is a fantastic addon available here with an amazing developer. Emojis on the other hand![]()
Match URLs:
Code:x.com/*/status/{$id} x.com/statuses/{$id} twitter.com/*/status/{$id} twitter.com/statuses/{$id}
Embed template:
Code:<xf:page option="jsState.twitter" value="{{ true }}" /> <xf:js src="xf/embed.js" min="1" /> <div class="bbMediaJustifier bbCode-tweet" data-media-site-id="{$siteId}" data-media-key="{$id}" data-xf-init="tweet" data-tweet-id="{$id}" data-lang="{$xf.language.language_code}" data-theme="{{ property('styleType') }}" ><a href="https://twitter.com/i/web/status/{$id}" rel="external" target="_blank"> <i class="fab fa-twitter" aria-hidden="true"></i> https://twitter.com/i/web/status/{$id}</a></div>
same to meThis just results in a blank embed for me, even just using the X.com URLs. Any ideas?
I can't edit the existing media site (as can't enable debug mode, long story!) but I assumed I could work around this by adding a new media site for X.com but it doesn't seem to work either.
What's wrong here? I've tried x.com and twitter.com in the template and neither work.
View attachment 289942
This just results in a blank embed for me, even just using the X.com URLs. Any ideas?
Honestly, if you want to keep up with the frequent changes that they are doing, it's easier installing the S9 Media add-on and using it to keep up with, as XF only updates when they do a release. You can modify/add your own custom codes, but why when there is an add-on that extensively extends the media you can embed (other than being dependent upon an outside developer).Is there any update on this? I'm a complete beginner and people will want to link Twitter/X posts a lot for my news oriented forum and this not working is rather unfortunate for me. Granted I blame Musk of course.
We use essential cookies to make this site work, and optional cookies to enhance your experience.