• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

Remove "Popular" from Explore menu

Status
Not open for further replies.
Yes this is a bug which I just patched for v3.9.4 (just seconds ago!). If you can't wait for the patch the manual procedure is quite simple:

Open app/loader.php and change this:
PHP:
            $explore_semantics = [
                'recent' => [
                    'label' => _s('Recent'),
                    'icon'    => 'icon-ccw',
                ],
                'trending' => [
                    'label' => _s('Trending'),
                    'icon'    => 'icon-fire',
                ],
                'popular' => [
                    'label' => _s('Popular'),
                    'icon'    => 'icon-heart3',
                ],
                'animated' => [
                    'label' => _s('Animated'),
                    'icon'    => 'icon-play4',
                ],
            ];

To this:
PHP:
            $explore_semantics = [
                'recent' => [
                    'label' => _s('Recent'),
                    'icon'    => 'icon-ccw',
                ],
                'trending' => [
                    'label' => _s('Trending'),
                    'icon'    => 'icon-fire',
                ],
                'popular' => [
                    'label' => _s('Popular'),
                    'icon'    => 'icon-heart3',
                ],
                'animated' => [
                    'label' => _s('Animated'),
                    'icon'    => 'icon-play4',
                ],
            ];
            if(!getSetting('enable_likes')) {
                unset($explore_semantics['popular']);
            }

Like I said, I've just added this fix to v3.9.4 (still not released) so if you want to apply the patch asap you will have to do it on your own or send me FTP access to your website.

Hope it helps.
 
Status
Not open for further replies.
Back
Top