FriendsOfFlarum User Directory
Hello,
I have installed this ext. but I can see nowhere in menu.
Flarum 0.1.0-beta.13
PHP 7.4.3
MySQL 8.0.20-0ubuntu0.20.04.1
rmalenko do you see the extension in the admin panel?
To add a link to the users page, you need to enable the corresponding option in the extension settings.
The link will appear on the homepage, not the admin panel.
- Edited
clarkwinkelmann
Yes, I see and option is enabled
- Edited
How can I hide the ad in the sidebar for the https://flarum.gen.tr/users link?
Css:
.UserDirectoryList .reklam
{
display: none;
}
I tried this css code. The advertisement appears.
Ad position in the left column under tags on frontpage:
<div class="reklam">
<a href="https://www.digitalocean.com/" target="blank">
<img width="90%" height="90%" src="https://images.prismic.io/www-static/49aa0a09-06d2-4bba-ad20-4bcbe56ac507_logo.png">
</a>
<br>FlarumGenTR, DigitalOcean sunucularında barınmaktadır.
</div>
DursunCan unfortunately .UserDirectoryList
is added to the right part of the page, which isn't a parent of the left side navigation.
I don't think this can be solved with CSS.
clarkwinkelmann I will add google adsense. I blocked the user list page with /robots.txt from accessing bots. But since google ad will appear on this page, my site may be spammed by google.
I wonder what has to be changed to offer ejinLikeCount
in the drop down list.
In the UserDirectory.php I found:
'username_az' => 'username',
'username_za' => '-username',
'newest' => '-joinedAt',
'oldest' => 'joinedAt',
'seen_recent' => '-lastSeenAt',
'seen_oldest' => 'lastSeenAt',
'most_discussions' => '-discussionCount',
'least_discussions' => 'discussionCount'
But there are several other places to be changed. Anyone tried that already to offer a sort by "LIKES" (ejinLikeCount) from the "api/users".
Pika They are going through all of their extensions and updating them. They have a big list and since they are also the core team, it will take them some time. They will get to it and will post when it is compatible. They have already updated a lot of extensions so I am sure they will be getting to this one soon. I am waiting for this one also so am excited too.
Version 0.4.0
- Added beta 14 support
- Added setting for default sorting
You might need to remove this extension to perform the Flarum update due to the major update. You can safely uninstall it with composer remove fof/user-directory
and re-install it once the update is completed.
DursunCan as I explained in FriendsOfFlarum/sitemap18 it must be caused by one of the other extensions you have installed that didn't use the new View extender from beta 14.
The fact it happens on multiple extensions seems to confirm that theory. The problematic extension will be an extension that was enabled before those FoF extension. Likely not an FoF extension since we have taken special care to have them properly updated for beta 14.
clarkwinkelmann Do you read the askvortsov1/flarum-moderator-warnings12 link? do i need to disable all plugins individually to fix this error?
DursunCan I have added a comment over there.
If looking for the string in the source code doesn't work, the way to isolate the issue would be to disable community extensions one by one (except user-directory or another one with the hint issue), until the issue disappears. Then we will know the last extension that was disabled was causing the issue.
- Edited
fof/filter askvortsov1/flarum-moderator-warnings12
I'm trying to install it but i get these errors
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: fof/components[0.2.0, 0.1.1].
- Can only install one of: fof/components[0.2.0, 0.1.1].
- Can only install one of: fof/components[0.2.0, 0.1.1].
- fof/user-directory 0.4.0 requires fof/components 0.2.0 -> satisfiable by fof/components[0.2.0].
- Installation request for fof/user-directory 0.4.0 -> satisfiable by fof/user-directory[0.4.0].
- Installation request for fof/components (locked at 0.1.1) -> satisfiable by fof/components[0.1.1].
Installation failed, reverting ./composer.json to its original content.
[deleted]
- Edited
Bug in Beta 14 version
If you attempt to go to the direct URL of the page without navigating through the site
[2020-12-07 18:43:15] flarum.ERROR: InvalidArgumentException: No hint path defined for [fof.user-directory]. in /home/domain/public_html/vendor/illuminate/view/FileViewFinder.php:112