phylaxis

+Clients
  • Content count

    32
  • Joined

  • Last visited


phylaxis's Activity

  1. phylaxis added a post in a topic: Auto Grouping Spam Members   

    We have noticed something similar. The issue related to this seems to be for us that members added to the SPAM group can still PM our moderators. Is there a way to stop that? I don't see any way of controlling the permissions of Spam Members separately.
  2. phylaxis added a post in a topic: Unify Avatars and User Photos   

    I just figured out that my hack above will only effect the main member image and not the thumbnails. So you also need to add the following at line 8070 of the core.php file

    Change:


    if( $member['_has_photo'] ) { $member['pp_thumb_photo'] = $member['pp_main_photo']; } else { $member['pp_thumb_photo'] = ipsRegistry::$settings['img_url'] . '/profile/default_thumb.png'; } to:

    if( $member['_has_photo'] ) { $member['pp_thumb_photo'] = $member['pp_main_photo']; } else if ($member['avatar_type'] == 'upload') { $member['pp_thumb_photo'] = ipsRegistry::$settings['upload_url'] . '/' . $member['avatar_location']; } else { $member['pp_thumb_photo'] = ipsRegistry::$settings['img_url'] . '/profile/default_thumb.png'; }

    I should have also noted that I haven't fully tested this, so please backup the core.php file before you hack it and if anyone has improvement or alternatives to this hack let me know.
  3. phylaxis added a post in a topic: Unify Avatars and User Photos   




    Based on this suggestion I made the following changes to the core.php file for my 3.1.2 install. The idea being that if the user has an Avatar image set, but not a Photo then it will use the avatar image. If neither is set it should use the default image. I haven't fully tested it yet, but it seems to be working on the profile pages, but not in the 'Member' list.

    at line 8053 in /sources/base/core.php. Change:

    $member['pp_main_photo'] = ipsRegistry::$settings['img_url'] . '/profile/default_large.png'; to

    if($member['avatar']) { $dom = new DOMDocument(); $dom->loadHTML($member['avatar']); $avatar_path = $dom->getElementsByTagName('img')->item(0)->getAttribute('src'); $member['pp_main_photo'] = $avatar_path; } else { $member['pp_main_photo'] = ipsRegistry::$settings['img_url'] . '/profile/default_large.png'; }
  4. phylaxis added a post in a topic: Password Protected RSS Export   



    On a somewhat related topic, do you simply have the ability to password protect a directory based on a members group? What I would like to do is use IP.Subscription to set up paid membership groups and then use that login to allow or disallow access to some various kinds of content. It could include RSS feeds, downloads, etc. I didn't know if maybe combining IP.Content, IP.Download, IP.Subscription was required or not.