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.

Sportsbook Node name and icon

Discussion in 'Sportsbook Support' started by ZackM, Aug 9, 2017.

  1. ZackM

    ZackM New Member Pickem Sportsbook

    The new node on my forums home page defaulted to the name "The Betting Parlor" and uses the default XF node icon. How would I go about changing those to something more personal?
     
  2. ZackM

    ZackM New Member Pickem Sportsbook

    Also, as it relates to the Node display...how often does the number of events/wagers/outcomes update? I noticed that it doesn't update right away when new ones are added.
     
  3. Bob

    Bob Developer Staff Member

    Its not a NODE persay, its a custom template designed to look similar and uses core xenforo CSS (same CSS used for the Node layout). When enabled, you can locate it above or below the forum node list.

    This is the custom template: nflj_sportsbook_node_list

    Only Sportsbook uses this template, so its safe to modify it to however you want to (you can convert it into something completely different if need be).

    I use the Node ID of 9990 and SB9990 for where things like the Node Icon (that require an ID) have an actual Node Id (even tho its a simulated node). You'd mange the Node Icon in the same way that you manage a regular node (there is plenty of information at xenforo.com on how to do that).

    As for the wording of stuff. Sportsbook is 100% phrased, so all text is managed via the phrase system. The Phrase system has a search feature that can quickly find text and tell you what phrase it is. You can then edit the phrase and change the text to what ever you want to. The 2 phrases that you'll probably want to change are:

    Phrase: nflj_sportsbook_the_betting_Parlor
    Phrase: nflj_sportsbook_the_betting_parlor_descritption

    Those are stored in CACHE so that you don't have several queries run on every single page view on both Forum Home and All Sportsbook Pages that display the stats block. CRON updates those once per hour. You can change that if you need to (and you can also run it manually). The CRON is Sportsbook: build stats cache for Sportsbook Statistics sidebar block (All sportsbook CRON's start with Sportsbook, so you can filter the CRON list to see all CRONS related to Sportsbook.
     
  4. ZackM

    ZackM New Member Pickem Sportsbook

    Thanks, that worked perfectly.

    Two more questions concerning the display...

    Do events disappear after they've been settled? I can't find any of them or an option to keep them visible.

    All of my categories on the sidebar show a 0 next to them, even though several of them have open events. Any ideas for how to fix that?
     
  5. ZackM

    ZackM New Member Pickem Sportsbook

    Ok I figured out my first question...They don't display because the list is being sorted by "Upcoming" and a settled event is not upcoming. Is there any way to sort events by Close Date or something like that?
     
  6. Bob

    Bob Developer Staff Member

    Yes. Each major area of Sportsbook has the ability to set a default sort type. Click on the Home Page tab of the Sportsbook Options and set the Default Sort Order Type to something other than Upcoming. Newest Action is probably the best IMO. If you want your Category Pages to also do it, click on the Category Page Tab of the options and set the same thing. There are a TON of Options in Sportsbook (might want to take some time and mess around with various options to see what they do).

    Selection_996.png
     
  7. Bob

    Bob Developer Staff Member

    There are 3 Category Navigation Type's... which one are you using?

    Selection_997.png
     
  8. ZackM

    ZackM New Member Pickem Sportsbook

    I am using Collapsible.
     
  9. Bob

    Bob Developer Staff Member

    Im not able to recreate this anywhere and I've had several license holders check their systems and its working just fine for everyone I've talked to. Its really hard to troubleshoot if it can't be reproduced. If possible, could I get access to your site? If so, start a convo with me. It will need to be sometime tomorrow tho. Event counts are instant, so its not like a cron isn't working or something.

    Have you tried running any of the Sportsbook Rebuilds? (specifically Rebuild Sportsbook Categories)?

    Admin CP >> Applications >> Sportsbook >> Sporstbook Rebuilds >> run all the rebuilds.
     
  10. ZackM

    ZackM New Member Pickem Sportsbook

    The rebuilds did the trick. Thank you for the help.
     
  11. Bob

    Bob Developer Staff Member

    keep an eye on it as something might be preventing those counts from being updated.
     
  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.