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

Resolved Changing default—Outcome, Moneyline dollar amount.

Discussion in 'Sportsbook Support' started by TerryP, Nov 17, 2022.

  1. TerryP

    TerryP Member Pickem Sportsbook

    Hey Bob. Hope things are well.

    Quick question. When I'm setting the money totals the default you've written is at 100. I always set my points spreads at -110, the O/U's at -110. How can I make the default -110 so the only dollar amounts I'll need to enter will be on the Moneyline/winner?

    Screenshot 2022-11-17 10.58.56 AM.png
     
  2. Bob

    Bob Developer Staff Member

    The Entity default value of the moneyline_odds field is 100, which is where that value comes from. I would not recommend editing the entity to change that.

    Selection_424.png


    What you can try is editing the xa_sb_event_add_outcome template and changing the "value" of the moneyline_odds input to value="-100" instead of value="{$outcome.moneyline_odds}" (as the value of {$outcome.moneyline_odds} comes from the default value of the entity, which is 100).

    Selection_425.png
     
    TerryP likes this.
  3. TerryP

    TerryP Member Pickem Sportsbook

    Beautiful!

    Thanks A LOT, Bob! This saves me a lot of time!
     
    Bob likes this.
  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.