• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Embed your Item Content Anywhere

Bob

Developer
Staff member
Re: XF 2.3 - Embed your content anywhere

An EmbedResolver is a Content Type Handler that developers use to make that content type Embeddable via a EmbedRenderer.

An EmbedRenderer is what a content type uses to RENDER (Display) an EMBED in that piece of content when viewing it.

Link Directory 2.3.0 implements EmbedResolvers (the new EMBED bbcode) that allows you to past an LD Item URL, LD Item Review URL or LD Question URL into any RTE (Rich Text Editor) that implements a EmbedRenderer.

Not going to list all of the XF, XFRM and XFMG Embed Resolvers, you can read about those in the HYS forum at XenForo.com.

Listing of EmbedRenders (as of XF 2.3.0 Beta 6):
  • XF implements EmbedRenderers for Posts, Direct Messages, Profile Posts and Profile Post Comments.
  • XFRM implements EmbedRenderers for Resource Ratings and Resource Updates.
  • XFMG implements EmbedRenderers for Albums.
  • AMS implements EmbedRenderers for Articles, Article Pages, Article Ratings and Series.
  • IMS implements EmbedRenderers for Items, Item Updates, Item Pages, Reviews, Questions and Series.
  • LD implements EmbedRenderers for Items, Item Reveiws and Questions.
  • Showcase implements EmbedRenderers for Items, Item Pages, Item Ratings, Item Updates and Series.
  • UBS implements EmbedRenderers for Blogs, Blog Pages, Blog Entries, Blog Entry Pages, Blog Entry Ratings and Series.
  • CAS, EMS and RMS will also implement EmbedResolvers and EmbedRenders.
What the above listing means is that you can embed an LD Item into a Direct Message, a Profile Post, a Resource Update simply by pasting the URL into the Rich Text Editor.

Example, here I've added URLS to an Item, Item Review and a Question into a Post in a discussion thread.

Selection_577.png


Each resolver has its own output template so that you can customize the output to however you want to without it effecting anything but that specific resolver.

Selection_583.png
 
Last edited:
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Back
Top