1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Member card removal

Discussion in 'Styling and Customization Questions' started by Derrick Kyle LeBrocq, Mar 5, 2013.

  1. Is there any way to disable the member card and go straight to the profile?

    If so, what is the code to do so?

    Thank you<3
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can disable all overlays with this:

    Admin CP -> Appearance -> Style Properties -> Overlays and Tooltips -> Enable Overlays

    Or to completely remove the overlay trigger for usernames and avatars you need to edit:

    js/xenforo/xenforo.js

    Find and remove the red code from the register:

    Code:
    XenForo.register("a.OverlayTrigger, input.OverlayTrigger, button.OverlayTrigger, label.OverlayTrigger, a.username, a.avatar","XenForo.OverlayTrigger");
    
    Then refresh the page to get the latest js.
     
    51463, Jashugan, AndyB and 2 others like this.
  3. Good on you, man. Thank you.
     
  4. AndyB

    AndyB Well-Known Member

    Thank you for the information in post #2 Jake.

    It would be wonderful to see this a switch in the Admin CP, but having instructions to quickly hack the code is awesome.
     
  5. Dan

    Dan Well-Known Member

Share This Page