Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-1529

Bots are not listed in bots group in the memberlist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.B2
    • None
    • PHP Environment:
      Database:

      If you go to the bots group in memberlist.php the bots are not listed.

      I have no idea why it is setup like that, it was displaying correctly a while ago(before B2 when I checked it last).

      But anyways, it is a pretty easy fix...

      Open
      includes/constants

      Find
      //define('USER_BOT', 2);

      Replace with
      define('USER_BOT', 2);

      Open
      memberlist.php

      Find
      $sql_from
      WHERE u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ")

      Replace with
      $sql_from
      WHERE u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ',' . USER_BOT . ")

      That worked great here.

            Graham Graham [X] (Inactive)
            EXreaction EXreaction [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: