• 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 Classified Ad 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.

Classified Ads System 2.3.0 implements EmbedResolvers (the new EMBED bbcode) that allows you to past an CAS Ad URL, CAS Item URL or CAS 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.
  • CAS implements EmbedRenderers for Classified Ads, Classified Ad Items (for multi-item ads) and Questions.
  • 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.
  • EMS and RMS will also implement EmbedResolvers and EmbedRenders.
What the above listing means is that you can embed a Classified Ad 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 some Ads, Items, and Questions.

Selection_586.png
Selection_587.png
Selection_588.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_585.png
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Back
Top