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

$visitor->isRobot()?

Discussion in 'XenForo Development Discussions' started by Marcus, Aug 1, 2013.

  1. Marcus

    Marcus Well-Known Member

    How can I detect a robot as easy as possible? The function in the topic title is not available, there is just a session function.

    I guess lots of developers don't want tracksave robot interaction on the webpage, so it's important to figure out if a visitor is a human or not.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Looking at the online_list template, there is this: <xen:if is="{$user.robotInfo}">

    Can't you use that?
     
    Marcus likes this.
  3. Nobita.Kun

    Nobita.Kun Well-Known Member

    In some Addon I was used
    $session->get('getRobotId') for detected if visitor is robot
     
    Marcus likes this.

Share This Page