From: friendica Date: Thu, 4 Oct 2012 01:25:46 +0000 (-0700) Subject: make forumlist & page respect hidden, blocked, and archived contacts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=afa8321d2a3679ac5f7361586b269f00ba0e422c;p=friendica-addons.git make forumlist & page respect hidden, blocked, and archived contacts --- diff --git a/facebook.tgz b/facebook.tgz index e41ee188..c1a69fdd 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/forumlist.tgz b/forumlist.tgz index e617eb28..3ced1d9d 100644 Binary files a/forumlist.tgz and b/forumlist.tgz differ diff --git a/forumlist/forumlist.php b/forumlist/forumlist.php index 3fc622da..332ac278 100644 --- a/forumlist/forumlist.php +++ b/forumlist/forumlist.php @@ -36,6 +36,7 @@ function forumlist_getpage($uid,$showhidden = true,$randomise = false) { $contacts = q("SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro` from contact WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d + and blocked = 0 and hidden = 0 and pending = 0 and archive = 0 $order ", intval($uid) ); diff --git a/page.tgz b/page.tgz index d300a3e2..21dab7b9 100644 Binary files a/page.tgz and b/page.tgz differ diff --git a/page/page.php b/page/page.php index 3f0f0419..0e009098 100755 --- a/page/page.php +++ b/page/page.php @@ -38,6 +38,7 @@ function page_getpage($uid,$showhidden = true,$randomise = false) { $contacts = q("SELECT `id`, `url`, `name`, `micro` FROM `contact` WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d + and blocked = 0 and hidden = 0 and pending = 0 and archive = 0 $order ", intval($uid) );