1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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.

Resolved Problem with reactions ins ams

Discussion in 'AMS Support' started by Robert9, Nov 6, 2019.

  1. Robert9

    Robert9 Member AMS Showcase Sportsbook

    Today i have seen the options for reactions the first time; while i show now all icons without fade and also without text inline as icons only to touch/click, the AMS shows me the icons and the text.
     
  2. Bob

    Bob Developer Staff Member

    AMS implements Core XF Reactions Handler. AMS implements reactions for Articles, Comments and Reviews in the same way as Core Content Types in XF, XFRM and XFMG.

    AMS uses core xf template tags (xf:react and xf:reactions) and uses core XF css classes ( "actionBar-set actionBar-set--external" and "reactionBar"). Everything related to reactions in AMS is controlled by Core XF (there is nothing in AMS that changes reactions in any way shape or form).

    Here is AMS
    Code:
                                    <xf:if contentcheck="true">
                                        <div class="actionBar-set actionBar-set--external">
                                        <xf:contentcheck>
                                            <xf:react content="{$article}" link="ams/react" list="< .js-articleBody | .js-reactionsList" />
                                        </xf:contentcheck>
                                        </div>
                                    </xf:if>
    Code:
                        <div class="reactionsBar js-reactionsList {{ $article.reactions ? 'is-active' : '' }}">
                            <xf:reactions content="{$article}" link="ams/reactions" />
                        </div>
    Note: reactions for comments and reviews are handled exactly the same way.


    Here is XFRM...

    Resources...
    Code:
                                    <xf:if contentcheck="true">
                                        <div class="actionBar-set actionBar-set--external">
                                        <xf:contentcheck>
                                            <xf:react content="{$description}" link="resources/update/react" list="< .js-resourceBody | .js-reactionsList" />
                                        </xf:contentcheck>
                                        </div>
                                    </xf:if>
    Code:
                        <div class="reactionsBar js-reactionsList {{ $description.reactions ? 'is-active' : '' }}">
                            <xf:reactions content="{$description}" link="resources/update/reactions" />
                        </div>
    Resource Updates...
    Code:
                                        <xf:if contentcheck="true">
                                            <div class="actionBar-set actionBar-set--external">
                                            <xf:contentcheck>
                                                <xf:react content="{$update}" link="resources/update/react" list="< .js-resourceUpdate | .js-reactionsList" />
                                            </xf:contentcheck>
                                            </div>
                                        </xf:if>
    Code:
                            <div class="reactionsBar js-reactionsList {{ $update.reactions ? 'is-active' : '' }}">
                                <xf:reactions content="{$update}" link="resources/update/reactions" />
                            </div>

    Here is XFMG...

    Albums....
    Code:
                            <xf:if contentcheck="true">
                                <div class="actionBar-set actionBar-set--external">
                                    <xf:contentcheck>
                                        <xf:react content="{$album}" link="media/albums/react" list="< .block | .js-reactionsList" />
                                    </xf:contentcheck>
                                </div>
                            </xf:if>
    Code:
                <div class="reactionsBar js-reactionsList {{ $album.reactions ? 'is-active' : '' }}">
                    <xf:reactions content="{$album}" link="media/albums/reactions" />
                </div>
    Media Items...
    Code:
                            <xf:if contentcheck="true">
                                <div class="actionBar-set actionBar-set--external">
                                    <xf:contentcheck>
                                        <xf:react content="{$mediaItem}" link="media/react" list="< .js-mediaInfoBlock | .js-reactionsList" />
                                    </xf:contentcheck>
                                </div>
                            </xf:if>
    Code:
                <div class="reactionsBar js-reactionsList {{ $mediaItem.reactions ? 'is-active' : '' }}">
                    <xf:reactions content="{$mediaItem}" link="media/reactions" />
                </div>
    Note: Reactions for XFMG comments are implemented EXACTLY the same as AMS comments.


    Here is XF...

    POSTS....
    Code:
                                            <xf:contentcheck>
                                                <xf:react content="{$post}" link="posts/react" list="< .js-post | .js-reactionsList" />
                                            </xf:contentcheck>
    Code:
                            <div class="reactionsBar js-reactionsList {{ $post.reactions ? 'is-active' : '' }}">
                                <xf:reactions content="{$post}" link="posts/reactions" />
                            </div>
    Conversations...
    Code:
                                            <div class="actionBar-set actionBar-set--external">
                                                <xf:contentcheck>
                                                    <xf:react content="{$message}" link="conversations/messages/react" list="< .js-message | .js-reactionsList" />
    Code:
                            <div class="reactionsBar js-reactionsList {{ $message.reactions ? 'is-active' : '' }}">
                                <xf:reactions content="{$message}" link="conversations/messages/reactions" />
                            </div>
    As you can see, they are all the same and all using the same CORE XF tags and css classes.

    If you have any "reactions" addons, disable those and see if the issue goes away.
     
  3. Robert9

    Robert9 Member AMS Showcase Sportsbook

    I have deinstalled the addon and installed again, because of another issue. Now the options are changed and you can see only the like (opens with mouse-over/click).

    The problem was only when you choose "inline" to show all icons and "dont show text".

    I will try this later in a clean forum. For the moment, i let it like it is (showing only one icon instead all of them.)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.