• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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