• 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 Add a "Sportsbook" badge to the thread list items

Bob

Developer
Staff member
This is a [PAID] request that has been donated back to the community for inclusion with the core addon.

The TM (Template Modification) simply adds a Sportsbook "badge" aka identifier to the thread list giving users a quick way to know that the thread is associated with a Sportsbook Event. It also helps Moderators know that the thread is associated with a content type and that the thread requires special handling.

This TM has its own css template that will allow you to customize the "badge" to your liking eg, make it a font awesome icon if you want to.

NOTE: For those that don't want to display the Badge on the Thread List, you can simply disable the TM.

Selection_692.png
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
This is a [PAID] request that has been donated back to the community for inclusion with the core addon.

The TM (Template Modification) simply adds a Sportsbook "badge" aka identifier to the thread list giving users a quick way to know that the thread is associated with a Sportsbook Event. It also helps Moderators know that the thread is associated with a content type and that the thread requires special handling.

This TM has its own css template that will allow you to customize the "badge" to your liking eg, make it a font awesome icon if you want to.

NOTE: For those that don't want to display the Badge on the Thread List, you can simply disable the TM.

View attachment 1928
Can you assist me in editing the way this tag looks.
The code I assume I edit in TM is:
Code:
<xen:if is="{$canViewSportsbook} && {$thread.discussion_type} == 'sportsbook'">
   <xen:require css="nflj_sportsbook_thread_list.css" />
   <span class="sbThreadListBanner" title="{xen:phrase nflj_sportsbook_thread_banner}">{xen:phrase nflj_sportsbook_thread_banner}</span>
</xen:if>
$0

My template makes the "sportsbook" word look a little dull. Where would I change the color of this word in the above code for just this tag:
http://i.imgur.com/dVDADJH.png
 
nflj_sportsbook_thread_list.css <--- that CSS template is specifically for the Badge only. You can modify it directly and add to it.
 
Back
Top