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

When Logging in

Discussion in 'Troubleshooting and Problems' started by Sylar, Jun 7, 2011.

  1. Sylar

    Sylar Well-Known Member

    When my members hit the tab at the top saying 'Log in or Sign Up' and click in the 'name or email' box it redirects them to random sites for some reason. Is this an error in Xenforo, or is there something wrong with my templates? Thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It's never happened to me any any XenForo installation.

    Even if you have edited any of the related templates, that doesn't sound like something which would be caused by a template edit.

    Have you confirmed this yourself?
    Does it happen to everyone?

    Can you post a link to the site so I can test it?
     
  3. Sylar

    Sylar Well-Known Member

  4. Brogan

    Brogan XenForo Moderator Staff Member

    When hovering over the name or email field, a link to cybershop.com or goto.com (etc.) appears in the browser bottom left corner.

    You seem to have linked URLs to the field.

    Have you installed any additional JavaScript?
     
  5. Sylar

    Sylar Well-Known Member

    Not sure, as the theme you see is custom. I will talk to the designer about it.
    Actually, when looking in the JS folder in my files, I added the BD banking and reputation add-on. Other than that, I'm not sure.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You can see in the template code something's not right...

    url.PNG
     
  7. Sylar

    Sylar Well-Known Member

    Which template would that be?
    Is there any way to edit that out so it won't happen again?
     
  8. Sylar

    Sylar Well-Known Member

    *polite bump*
    Anyone know a fix?
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Try searching for "cybershop":

    Admin CP -> Appearance

    Screen shot 2011-06-08 at 12.08.29 PM.png
     
  10. Sylar

    Sylar Well-Known Member

    Okay, I'll see what I come up with
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Look in the login_bar or login_bar_form templates.

    It has to be JavaScript though as the URL changes with each page load.
     
  12. Sylar

    Sylar Well-Known Member

    Alright thanks, will check it out.
     
  13. Sylar

    Sylar Well-Known Member

    Nothing to report, couldn't find anything in either template, and after searching for it.
     
  14. Kier

    Kier XenForo Developer Staff Member

    It sounds like the site has been vandalised and malware injected. If you have SSH access, grep the entire web root for that cybershop text.
     
  15. Sylar

    Sylar Well-Known Member

    Sounds good. Will get back to you if I nab it.
     
  16. Sylar

    Sylar Well-Known Member

    LOL! I just found the problem. It wasn't malware at all, it was the 'Banner Ads' at the bottom of the forum. It's a Javascript code, but how would I go about removing it from interfering with the Login Box? Thanks :)
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    How has the banner ad code been added?

    In which template?
     
  18. Sylar

    Sylar Well-Known Member

    It was in a new template called "banner_ads"
     

Share This Page