OP 20 May, 2023 - 08:47 PM
Hi, i think it's quite important to not leak content inside hidetags on the shoutbox as everyone is able to see this and it's goign to bypass that reply limitation.
Here a screenshot of what i mean:
To Acive this, someone with access to the Forum Infrastructure need to add regex replacement lines.
Here what i use on my forum:
Regards,
Infinimonster
-----------------------------------------
Royality!
Waiting For Like
Telegram: @Infinimonster
Discord: Infinimonster#0002
-----------------------------------------
Here a screenshot of what i mean:
To Acive this, someone with access to the Forum Infrastructure need to add regex replacement lines.
Here what i use on my forum:
Code:
$post['message'] = preg_replace('/\[hide.*?\]([\s\S]+?)\[\/hide\]/', '[!!!This content inside a hide tag, cannot be shown here!!!]',$post['message']);
$post['message'] = preg_replace('/\[spoiler.*?\]([\s\S]+?)\[\/spoiler\]/', '[!!!This content inside a spoiler tag, cannot be shown here!!!]',$post['message']);
Regards,
Infinimonster
-----------------------------------------
Royality!
Waiting For Like
Telegram: @Infinimonster
Discord: Infinimonster#0002
-----------------------------------------