feat: limit default categories and hashtags to podcast scope
This commit is contained in:
+6
-6
@@ -348,7 +348,7 @@ Valeurs par défaut issues de `includes/config.default.php`.
|
||||
| Afficher le nombre de vues sur les cartes vidéo
|
||||
|
||||
| `PRIORITY_CATEGORIES`
|
||||
| `[11, 15, 4, 9, 10]`
|
||||
| `[10, 15]`
|
||||
| Catégories mises en avant : `[ID => 'Nom']`, ordre = ordre d'affichage (accueil, sidebar, footer, menu mobile)
|
||||
|
||||
| `DEFAULT_TIMEZONE`
|
||||
@@ -636,11 +636,11 @@ NOTE: Au moins une plateforme (LiberaPay, Ko-fi ou Stripe) doit être configuré
|
||||
| Durée max d'un short (s) ; ratio portrait (`aspectRatio ≤ 1`) aussi requis
|
||||
|
||||
| `IMPORTANT_TAGS`
|
||||
| `['ANNUKUTECED', 'podcast', …]`
|
||||
| `['ANNUKUTECED']`
|
||||
| Hashtags de la sidebar, du footer et du menu mobile
|
||||
|
||||
| `POPULAR_TAGS`
|
||||
| `['podcast', 'annukuteced', …]`
|
||||
| `['ANNUKUTECED']`
|
||||
| Hashtags affichés sur l'accueil
|
||||
|===
|
||||
|
||||
@@ -1276,7 +1276,7 @@ Default values from `includes/config.default.php`.
|
||||
| Show view counts on video cards
|
||||
|
||||
| `PRIORITY_CATEGORIES`
|
||||
| `[11, 15, 4, 9, 10]`
|
||||
| `[10, 15]`
|
||||
| Featured categories: `[ID => 'Name']`, order = display order (homepage, sidebar, footer, mobile menu)
|
||||
|
||||
| `DEFAULT_TIMEZONE`
|
||||
@@ -1564,11 +1564,11 @@ NOTE: At least one platform (LiberaPay, Ko-fi or Stripe) must be configured for
|
||||
| Max short duration (s); portrait ratio (`aspectRatio ≤ 1`) also required
|
||||
|
||||
| `IMPORTANT_TAGS`
|
||||
| `['ANNUKUTECED', 'podcast', …]`
|
||||
| `['ANNUKUTECED']`
|
||||
| Hashtags in the sidebar, footer and mobile menu
|
||||
|
||||
| `POPULAR_TAGS`
|
||||
| `['podcast', 'annukuteced', …]`
|
||||
| `['ANNUKUTECED']`
|
||||
| Hashtags displayed on the homepage
|
||||
|===
|
||||
|
||||
|
||||
@@ -38,11 +38,8 @@ if (!defined('SHOW_VIDEO_VIEWS')) define('SHOW_VIDEO_VIEWS', false); // Masquer
|
||||
// format: [ID catégorie => Nom personnalisé]
|
||||
if (!defined('PRIORITY_CATEGORIES')) {
|
||||
define('PRIORITY_CATEGORIES', [
|
||||
11 => 'Actualités & Politique',
|
||||
15 => 'Science et Technologie',
|
||||
4 => 'Art',
|
||||
9 => 'Humour',
|
||||
10 => 'Divertissement'
|
||||
10 => 'Divertissement',
|
||||
15 => 'Science et Technologie'
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -175,21 +172,14 @@ if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
|
||||
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
|
||||
if (!defined('IMPORTANT_TAGS')) {
|
||||
define('IMPORTANT_TAGS', [
|
||||
'ANNUKUTECED',
|
||||
'podcast',
|
||||
'fediverse',
|
||||
'audio',
|
||||
'vidéo'
|
||||
'ANNUKUTECED'
|
||||
]);
|
||||
}
|
||||
|
||||
// Hashtags populaires à afficher sur la page d'accueil
|
||||
if (!defined('POPULAR_TAGS')) {
|
||||
define('POPULAR_TAGS', [
|
||||
'podcast',
|
||||
'annukuteced',
|
||||
'fediverse',
|
||||
'audio'
|
||||
'ANNUKUTECED'
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -79,19 +79,12 @@ define('APP_HOST_NAME', 'example.com');
|
||||
|
||||
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
|
||||
define('IMPORTANT_TAGS', [
|
||||
'ANNUKUTECED',
|
||||
'podcast',
|
||||
'fediverse',
|
||||
'audio',
|
||||
'vidéo'
|
||||
'ANNUKUTECED'
|
||||
]);
|
||||
|
||||
// Hashtags populaires à afficher sur la page d'accueil
|
||||
define('POPULAR_TAGS', [
|
||||
'podcast',
|
||||
'annukuteced',
|
||||
'fediverse',
|
||||
'audio'
|
||||
'ANNUKUTECED'
|
||||
]);
|
||||
|
||||
// Durée maximale des shorts en secondes
|
||||
@@ -154,11 +147,8 @@ define('SHORTS_MAX_DURATION', 180); // 3 minutes
|
||||
// 17 : Kids
|
||||
// 18 : Food
|
||||
define('PRIORITY_CATEGORIES', [
|
||||
11 => 'Actualités & Politique',
|
||||
15 => 'Science et Technologie',
|
||||
4 => 'Art',
|
||||
9 => 'Humour',
|
||||
10 => 'Divertissement'
|
||||
10 => 'Divertissement',
|
||||
15 => 'Science et Technologie'
|
||||
// Ajoutez d'autres catégories selon vos besoins
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user