• 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 sportsbook content anywhere

Bob

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

As 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.

Sportsbook 2.3.0 implements EmbedResolvers (the new EMBED bbcode) that allows you to paste a Sportsbook Event URL, Sportsbook Event Outcome URL or Sportsbook Member Bet 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.
  • Sportsbook implements EmbedRenderers for Events.
  • AMS implements EmbedRenderers for Articles, Article Pages, Article Ratings and Series.
  • 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, IMS, LD and RMS will also implement EmbedResolvers and EmbedRenders.
What the above listing means is that you can embed a SB Member Bet into a Direct Message, a Profile Post, a Resource Update simply by pasting the URL into the Rich Text Editor.

Examples..

Selection_551.png
Selection_552.png
Selection_553.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_555.png
 
Last edited:
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Back
Top