From 226d90ad5aaca2003b6cbb13a8d13977f2caa30c Mon Sep 17 00:00:00 2001 From: Friendica Date: Thu, 19 Apr 2018 19:49:58 +0000 Subject: [PATCH 01/15] Image in /contacts/xx is shifted. The contact image for a single contact in /contacts/xx is next to the contact name instead of below, fix that. --- view/global.css | 1 + 1 file changed, 1 insertion(+) diff --git a/view/global.css b/view/global.css index 30dbeeff0..c23cba31b 100644 --- a/view/global.css +++ b/view/global.css @@ -202,6 +202,7 @@ blockquote.shared_content { } #profile-photo-wrapper { + clear: both; overflow: hidden; } From 54cfbe039bdd2c0bda98f3f66b570786a0182d60 Mon Sep 17 00:00:00 2001 From: Friendica Date: Thu, 19 Apr 2018 19:47:12 +0000 Subject: [PATCH 02/15] Only shown pagination when not empty. Currenty the pagination bar is always shown, even when no prev/next buttons are active. This only shows the bar when actual navigation is possible. --- view/templates/paginate.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/paginate.tpl b/view/templates/paginate.tpl index fcd580b07..ee9a1cc33 100644 --- a/view/templates/paginate.tpl +++ b/view/templates/paginate.tpl @@ -1,5 +1,5 @@ +{{if $pager && ($pager.prev || $pager.next)}}
- {{if $pager}} {{if $pager.prev}}{{$pager.prev.text}}{{/if}} {{if $pager.first}}{{$pager.first.text}}{{/if}} @@ -9,5 +9,5 @@ {{if $pager.last}} {{$pager.last.text}}{{/if}} {{if $pager.next}}{{$pager.next.text}}{{/if}} - {{/if}}
+{{/if}} From 666375fed1d3d8f35691c95cf9cd952e5eb43d20 Mon Sep 17 00:00:00 2001 From: Friendica Date: Thu, 19 Apr 2018 20:09:19 +0000 Subject: [PATCH 03/15] Move new member tips to tab bar. The new member tips link looks very misplaced and forlorn at the current position. Move it to the tab-bar (in a somewhat crude fashion, but its for 14 days/user only.) --- mod/profile.php | 2 +- view/global.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mod/profile.php b/mod/profile.php index ab11b4d5f..d6cbd276f 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -191,7 +191,7 @@ function profile_content(App $a, $update = 0) $o .= Widget::commonFriendsVisitor($a->profile['profile_uid']); if (x($_SESSION, 'new_member') && $is_owner) { - $o .= '' . L10n::t('Tips for New Members') . '' . EOL; + $o .= ''; } $commpage = $a->profile['page-flags'] == PAGE_COMMUNITY; diff --git a/view/global.css b/view/global.css index c23cba31b..9d62cf030 100644 --- a/view/global.css +++ b/view/global.css @@ -206,6 +206,13 @@ blockquote.shared_content { overflow: hidden; } +#newmember-tips { + font-size: 1.2em; + float: right; + margin-top: -32px; + padding-right: 10px; +} + /* headers */ h1, h2, h3, h4, h5, h6 { margin: 5px 0px 5px 0px; From 390983a3312b14c3c122740bb7141426214cb33e Mon Sep 17 00:00:00 2001 From: Friendica Date: Thu, 19 Apr 2018 20:54:14 +0000 Subject: [PATCH 04/15] Haromonize Find People Widget. In the right_aside on the /contacts page in the left aside there are almost identical widgets to search for contacts. Drop one and use common widget in both places. --- src/Content/Widget.php | 31 ++++++++++++--------- view/templates/peoplefind.tpl | 19 +++++++------ view/theme/frio/templates/peoplefind.tpl | 21 +++++++------- view/theme/vier/style.css | 15 ++++++++-- view/theme/vier/templates/communityhome.tpl | 12 +------- view/theme/vier/theme.php | 25 ++++++++--------- 6 files changed, 64 insertions(+), 59 deletions(-) diff --git a/src/Content/Widget.php b/src/Content/Widget.php index 058a7a1fb..04dfbb8e0 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -55,19 +55,24 @@ class Widget } } - return replace_macros(get_markup_template('peoplefind.tpl'), array( - '$findpeople' => L10n::t('Find People'), - '$desc' => L10n::t('Enter name or interest'), - '$label' => L10n::t('Connect/Follow'), - '$hint' => L10n::t('Examples: Robert Morgenstein, Fishing'), - '$findthem' => L10n::t('Find'), - '$suggest' => L10n::t('Friend Suggestions'), - '$similar' => L10n::t('Similar Interests'), - '$random' => L10n::t('Random Profile'), - '$inv' => L10n::t('Invite Friends'), - '$directory' => L10n::t('View Global Directory'), - '$global_dir' => $global_dir - )); + $nv = []; + $nv['findpeople'] = L10n::t('Find People'); + $nv['desc'] = L10n::t('Enter name or interest'); + $nv['label'] = L10n::t('Connect/Follow'); + $nv['hint'] = L10n::t('Examples: Robert Morgenstein, Fishing'); + $nv['findthem'] = L10n::t('Find'); + $nv['suggest'] = L10n::t('Friend Suggestions'); + $nv['similar'] = L10n::t('Similar Interests'); + $nv['random'] = L10n::t('Random Profile'); + $nv['inv'] = L10n::t('Invite Friends'); + $nv['directory'] = L10n::t('Global Directory'); + $nv['global_dir'] = $global_dir; + $nv['local_directory'] = L10n::t('Local Directory'); + + $aside = []; + $aside['$nv'] = $nv; + + return replace_macros(get_markup_template('peoplefind.tpl'), $aside); } /** diff --git a/view/templates/peoplefind.tpl b/view/templates/peoplefind.tpl index 481bdd71e..67f7a8086 100644 --- a/view/templates/peoplefind.tpl +++ b/view/templates/peoplefind.tpl @@ -1,16 +1,17 @@
-

{{$findpeople}}

-
{{$desc}}
+

{{$nv.findpeople}}

+
{{$nv.desc}}
- +
- - - - - {{if $inv}} - + + + + + + {{if $nv.inv}} + {{/if}}
diff --git a/view/theme/frio/templates/peoplefind.tpl b/view/theme/frio/templates/peoplefind.tpl index 5a84f26c8..f5bf57c02 100644 --- a/view/theme/frio/templates/peoplefind.tpl +++ b/view/theme/frio/templates/peoplefind.tpl @@ -1,22 +1,23 @@ -
-

{{$findpeople}}

+

{{$nv.findpeople}}

{{* The search field *}} - +
+ {{* Directory links *}} + + {{* Additional links *}} - - + + - {{if $inv}} - + {{if $nv.inv}} + {{/if}}
- diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 507b4b570..710c76f6a 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1153,9 +1153,9 @@ aside #profiles-menu { left: 10px; } -aside #search-text, aside #side-follow-url, aside #side-peoplefind-url, right_aside input { - width: 140px; - height: 17px; +aside #search-text, aside #side-follow-url, aside #side-peoplefind-url, right_aside #side-peoplefind-url { + width: 65%; + float: left; padding-left: 10px; /*border-top-left-radius: 15px; border-top-right-radius: 15px; @@ -1167,6 +1167,15 @@ aside #search-text, aside #side-follow-url, aside #side-peoplefind-url, right_as -moz-border-right-colors: #dbdbdb;*/ } +aside #side-peoplefind-submit, right_aside #side-peoplefind-submit { + width: 25%; + float: right; +} + +#side-match-link { + clear: both; +} + aside h4, right_aside h4 { margin-bottom: 0px; margin-top: 0px; diff --git a/view/theme/vier/templates/communityhome.tpl b/view/theme/vier/templates/communityhome.tpl index a85b4419f..b32b63804 100644 --- a/view/theme/vier/templates/communityhome.tpl +++ b/view/theme/vier/templates/communityhome.tpl @@ -39,17 +39,7 @@ {{/if}} {{if $nv}} - +{{include file='peoplefind.tpl' nv=$nv}} {{/if}} {{if $lastusers_title}} diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index e758cb651..c75259465 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -196,19 +196,18 @@ function vier_community_info() //right_aside FIND FRIENDS if ($show_friends && local_user()) { $nv = []; - $nv['title'] = ["", L10n::t('Find Friends'), "", ""]; - $nv['directory'] = ['directory', L10n::t('Local Directory'), "", ""]; - $nv['global_directory'] = [get_server(), L10n::t('Global Directory'), "", ""]; - $nv['match'] = ['match', L10n::t('Similar Interests'), "", ""]; - $nv['suggest'] = ['suggest', L10n::t('Friend Suggestions'), "", ""]; - $nv['invite'] = ['invite', L10n::t('Invite Friends'), "", ""]; - - $nv['search'] = '
- - - - - '; + $nv['findpeople'] = L10n::t('Find People'); + $nv['desc'] = L10n::t('Enter name or interest'); + $nv['label'] = L10n::t('Connect/Follow'); + $nv['hint'] = L10n::t('Examples: Robert Morgenstein, Fishing'); + $nv['findthem'] = L10n::t('Find'); + $nv['suggest'] = L10n::t('Friend Suggestions'); + $nv['similar'] = L10n::t('Similar Interests'); + $nv['random'] = L10n::t('Random Profile'); + $nv['inv'] = L10n::t('Invite Friends'); + $nv['directory'] = L10n::t('Global Directory'); + $nv['global_dir'] = get_server(); + $nv['local_directory'] = L10n::t('Local Directory'); $aside['$nv'] = $nv; } From da24e282c6cfa0b7495effda847f0cb530f24a31 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Thu, 19 Apr 2018 21:24:23 +0000 Subject: [PATCH 05/15] Updated credits.txt. --- util/credits.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/credits.txt b/util/credits.txt index c6a5c3f31..e24f45f8a 100644 --- a/util/credits.txt +++ b/util/credits.txt @@ -12,6 +12,7 @@ Alexandre Alapetite AlfredSK Andi Stadler Andreas H. +Andreas Neustifter Andrej Stieben André Alves André Lohan @@ -209,4 +210,4 @@ zotlabs zottel Zvi ben Yaakov (a.k.a rdc) Михаил -朱陈锬 \ No newline at end of file +朱陈锬 From 0a58637ace303153885b952d474965814eafb22c Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 08:42:13 +0200 Subject: [PATCH 06/15] phpunit compat 5.6 vs 7.x --- tests/BaseObjectTest.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/BaseObjectTest.php b/tests/BaseObjectTest.php index 73eb4720b..f56093b89 100644 --- a/tests/BaseObjectTest.php +++ b/tests/BaseObjectTest.php @@ -7,12 +7,15 @@ namespace Friendica\Test; use Friendica\App; use Friendica\BaseObject; -use PHPUnit_Framework_TestCase; - +// backward compatibility +if (!class_exists('\PHPUnit\Framework\TestCase')) { + class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); +} +use \PHPUnit_Framework_TestCase; /** * Tests for the BaseObject class. */ -class BaseObjectTest extends PHPUnit_Framework_TestCase +class BaseObjectTest extends \PHPUnit\Framework\TestCase { /** From c31a54175d6f9be95bc7a05fea2bf4f0b7c3bf6f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 08:47:42 +0200 Subject: [PATCH 07/15] comment out use clause --- tests/BaseObjectTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/BaseObjectTest.php b/tests/BaseObjectTest.php index f56093b89..4a60b9ec3 100644 --- a/tests/BaseObjectTest.php +++ b/tests/BaseObjectTest.php @@ -11,7 +11,7 @@ use Friendica\BaseObject; if (!class_exists('\PHPUnit\Framework\TestCase')) { class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); } -use \PHPUnit_Framework_TestCase; +#use \PHPUnit_Framework_TestCase; /** * Tests for the BaseObject class. */ From 61a380975b193cf127aa9e38b4aa1e938e0358ff Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 08:53:46 +0200 Subject: [PATCH 08/15] there are more then 1 test ATM --- tests/TextTest.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/TextTest.php b/tests/TextTest.php index 3a15b9766..5baaa17ac 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -5,12 +5,16 @@ namespace Friendica\Test; -use PHPUnit_Framework_TestCase; +//use PHPUnit_Framework_TestCase; +// backward compatibility +if (!class_exists('\PHPUnit\Framework\TestCase')) { + class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); +} /** * Tests for text functions. */ -class TextTest extends PHPUnit_Framework_TestCase +class TextTest extends \PHPUnit\Framework\TestCase { /** From f1535c0f01ad3bd86c29126984b37f8a9d465495 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 09:35:12 +0200 Subject: [PATCH 09/15] use strlen instead of count as above (php7.2 fails) --- tests/TextTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TextTest.php b/tests/TextTest.php index 5baaa17ac..5b2b84bd7 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -5,7 +5,6 @@ namespace Friendica\Test; -//use PHPUnit_Framework_TestCase; // backward compatibility if (!class_exists('\PHPUnit\Framework\TestCase')) { class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); @@ -65,7 +64,7 @@ class TextTest extends \PHPUnit\Framework\TestCase public function testAutonameLength1() { $autoname1=autoname(1); - $this->assertEquals(1, count($autoname1)); + $this->assertEquals(1, strlen($autoname1)); $autoname2=autoname(1); $this->assertEquals(1, count($autoname2)); From 6e313736f48269b6c3ea2bd44f478eef9795b63d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 09:37:06 +0200 Subject: [PATCH 10/15] remove comment --- tests/BaseObjectTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/BaseObjectTest.php b/tests/BaseObjectTest.php index 4a60b9ec3..b7b90b138 100644 --- a/tests/BaseObjectTest.php +++ b/tests/BaseObjectTest.php @@ -11,7 +11,6 @@ use Friendica\BaseObject; if (!class_exists('\PHPUnit\Framework\TestCase')) { class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); } -#use \PHPUnit_Framework_TestCase; /** * Tests for the BaseObject class. */ From bcc298204e5c28be9ca49cc858c46f2ee80ad9a5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 09:37:56 +0200 Subject: [PATCH 11/15] use strlen instead of count(php7.2 fails) --- tests/TextTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TextTest.php b/tests/TextTest.php index 5b2b84bd7..3cda2342f 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase $this->assertEquals(1, strlen($autoname1)); $autoname2=autoname(1); - $this->assertEquals(1, count($autoname2)); + $this->assertEquals(1, strlen($autoname2)); } /** From 3ac43f73c3ef1351faf04a0bd333631c9adc95eb Mon Sep 17 00:00:00 2001 From: Andy H3 Date: Mon, 23 Apr 2018 16:43:52 +0700 Subject: [PATCH 12/15] Update Profiles.md --- doc/Profiles.md | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/doc/Profiles.md b/doc/Profiles.md index 715d27d95..aceb94da3 100644 --- a/doc/Profiles.md +++ b/doc/Profiles.md @@ -4,35 +4,32 @@ Profiles * [Home](help) Friendica has unlimited profiles. -You may use different profiles to show different "sides of yourself" to different audiences. +You may use different profiles to present different aspects of yourself to different audiences. Default / public profile --- You always have a profile known as your "default" or "public" profile. -This profile is always available to the general public and cannot be hidden (there may be rare exceptions on privately run or disconnected sites). -You may, and probably should restrict the information you make available on your public profile. +This profile is always available to the general public and usually cannot be hidden. +You may, and probably should restrict the personal information you make available on your public profile. That said, if you want other friends to be able to find you, it helps to have the following information in your public profile: * Your real name * A photo of **you** -* Your location on the planet, at least to a country level. +* Your location, preferably at least the country. -Without this basic information, you could get very lonely here. -Most people (even your best friends) will not try and connect with somebody that has a fake name or doesn't contain a real photo. - -In addition, if you'd like to meet people that share some general interests with you, please take a moment and add some "Public Keywords" to your profile. +In addition, if you'd like to meet people that share some general interests with you, add some "Public Keywords" to your profile. Such as "music, linux, photography" or whatever. You can add as many keywords as you like. Your default or public profile is also shown to contacts on other networks, since they do not have the ability to view your private profiles. -Only members of the Friendica network can see alternate/private profiles. +Only members of the Friendica network can see alternate/ private profiles. -Alternate profiles +Alternate/ private profiles --- To create an alternate profile, select "Profiles" from the menu of your Friendica site. You may edit an existing profile, change the profile photo, or create a new profile. -You may also create a "clone" of an existing profile if you only wish to change a few items but don't wish to enter all the information again. +You may also "clone" your existing profile if you only wish to change a few items but don't wish to enter all the information again. To assign a profile to specific persons, select the person from your "Contacts" page and click the pencil "Edit" icon. You will find a dropdown box listing the various profiles available. @@ -51,17 +48,13 @@ You may also be able to comment directly on posts from while visiting the other There are two settings which allow you to publish your profile to a directory and ensure that it can be found by others. You can change these through settings on the "Settings" page. One setting allows you to publish your profile in the site directory of this Friendica server. -Another option (this may have been disabled by the site creator) allows you to publish your profile in the "Global Directory". -This is a mega directory which contains people from many other Friendica installations world-wide. +Another option (this may have been disabled by the site admin) allows you to publish your profile in a [Global Directory](Making-Friends.md#the-directories). -If you do not wish to be visible to any of these sites, you may leave your profile unpublished. +If you do not wish to be visible to any of these directories, do not published your profile. Although you may have multiple profiles, you only have one profile photo. -This is intentional. -In early tests we experimented with different photos for each profile and found it was very confusing for people. -They might see a different picture depending on what website they visited or what conversation they were in, and often alerted them to the fact that other people might be able to see different profiles of you than they could see. - -(But you can use the rich-text information boxes within a profile such as "Tell us about yourself" and link other photos onto the page.) +This is intentional; it avoids confusion by potentially seeing different profile pictures of a contact depending on what website you visit or conversation you participate in. +You can always can use the free text information boxes within a profile such as "Tell us about yourself" and link other photos for yourself. Keywords and Directory Search --- @@ -70,8 +63,7 @@ The search is typically for your nickname or part of your full name. However this search will also match against other profile fields - such as gender, location, "about", work, and education. You may also include "Keywords" in your default profile - which may be used to search for common interests with other members. You have two sets of keywords available - public and private. -Private keywords are *not* visible to anybody. -You could use these keywords to locate people who share membership in secret societies, or that share a love of fishing (for example) - without making this information visible on your public profile. +Private keywords are *not* visible on your profile, but will bring up your profile when matched in a search of the site directory. Public keywords are used in the friend suggestion tool and although they aren't readily visible, they may be seen by viewing the HTML of your profile page. Directory searches are also able to use "boolean" logic so that you can search for "+lesbian +Florida" and find those who's sexual preference (or keywords) contain the world "lesbian" and that live in Florida. @@ -79,7 +71,7 @@ See the section on "Topical Tags" on the [Tags-and-Mentions](help/Tags-and-Menti On your Contacts page is a link to "Find People with Shared Interests" (unless your site administrator has disabled the global directory). This will combine both your public and private keywords, and find people in the global directory who have matching and/or similar keywords. -(Your private keywords are not identified or stored on the global directory). +Private keywords are not identified or stored on the global directory. The more keywords you provide, the more relevant the search results that are returned. These are sorted by relevance. You may discover that you are the first person on the list - because you are very likely the most relevant match for your keywords in the directory. From 70d11d377b36382aa7741ae8f1dfbe7c8064ba78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= <25648755+M-arcus@users.noreply.github.com> Date: Mon, 23 Apr 2018 12:22:39 +0200 Subject: [PATCH 13/15] [DOCS] Installation: Fix title --- doc/de/Install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/de/Install.md b/doc/de/Install.md index 839c4d523..ff077351b 100644 --- a/doc/de/Install.md +++ b/doc/de/Install.md @@ -37,7 +37,7 @@ Requirements * die Möglichkeit, wiederkehrende Aufgaben mit cron (Linux/Mac) oder "Scheduled Tasks" einzustellen (Windows) [Beachte: andere Optionen sind in Abschnitt 7 dieser Dokumentation zu finden] * Installation in einer Top-Level-Domain oder Subdomain (ohne eine Verzeichnis/Pfad-Komponente in der URL) wird bevorzugt. Verzeichnispfade sind für diesen Zweck nicht so günstig und wurden auch nicht ausführlich getestet. -Installation procedure +Installation --- ### Friendica From 78a974ad412622b6f10211ed08076478693ca818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= <25648755+M-arcus@users.noreply.github.com> Date: Mon, 23 Apr 2018 12:24:47 +0200 Subject: [PATCH 14/15] [DOCS] Installation: Fix multiple sentences --- doc/Install.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Install.md b/doc/Install.md index b8929d371..2a80cf72a 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -99,7 +99,9 @@ You might wish to move/rename .htconfig.php to another name and empty (called 'd ### Option B: Run the automatic install script -Open the file htconfig.php in the main Friendica directory with a text editor. Remove the `die('...');` line and edit the lines to suit your installation (MySQL, language, theme etc.), then save the file (do not rename it). +Open the file htconfig.php in the main Friendica directory with a text editor. +Remove the `die('...');` line and edit the lines to suit your installation (MySQL, language, theme etc.). +Then save the file (do not rename it). Navigate to the main Friendica directory and execute the following command: From c3ee596ff4ed419cf694073f6837c7d68f58c591 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 23 Apr 2018 16:41:00 +0000 Subject: [PATCH 15/15] Show private forums in the sidebar --- src/Content/ForumManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ForumManager.php b/src/Content/ForumManager.php index 4f09b8a11..cfd083f9f 100644 --- a/src/Content/ForumManager.php +++ b/src/Content/ForumManager.php @@ -49,7 +49,7 @@ class ForumManager "SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro`, `contact`.`thumb` FROM `contact` WHERE `network`= 'dfrn' AND $select AND `uid` = ? - AND NOT `blocked` AND NOT `hidden` AND NOT `pending` AND NOT `archive` + AND NOT `blocked` AND NOT `pending` AND NOT `archive` AND `success_update` > `failure_update` $order ", $uid