NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004095phplist applicationUser Managementpublic20-09-05 23:1118-02-08 14:17
PlatformOSOS Version
Product Version2.10.1 
Target Version2.10.7Fixed in Version2.10.2 
Summary0004095: Blacklisted status incorrectly reported.
DescriptionThe blacklisted status on the user details page is reported incorrectly. It's apparently pulling from the blacklisted field in the user table rather than checking the user's email against those in the blacklist table. The message at the bottom of the page "user is blacklisted" operates correctly because it relies on the "isBlackListed()" function.
Additional Informationhere is the fix. In the admin->commonlib->pages->user.php file add the code between the #---------'s (file attached as well).

 while (list ($key,$val) = each ($struct)) {
    list($a,$b) = explode(":",$val[1]);
    if ($key == "confirmed") {
      if (!$require_login || ($require_login && isSuperUser())) {
        printf('<tr><td>%s (1/0)</td><td><input type="text" name="%s" value="%s" size=5></td></tr>'."\n",$GLOBALS['I18N']->get($b),$key,$user[$key]);
      } else {
    } elseif ($key == "password" && ENCRYPTPASSWORD) {
      printf('<tr><td>%s (%s)</td><td><input type="text" name="%s" value="%s" size=30></td></tr>'."\n",$GLOBALS['I18N']->get('encrypted'),$val[1],$key,"");

    # JV:----------------------------------------------------
    # added test to dynamically check blacklisted status rather than
    # reporting what's in the blacklisted field in user table
    } elseif ($key == "blacklisted") {
    # JV:----------------------------------------------------
    } else {
      if ($key != "unique" && $key != "index" && $key != "primary key")
TagsNo tags attached.
Attached Files? file icon user.php [^] (15,476 bytes) 20-09-05 23:11

- Relationships Relation Graph ] Dependency Graph ]
related to 0003721closed phplist 2.10.x 

-  Notes
There are no notes attached to this issue.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker