[SNIPPET] Enable HTML in Board Disable Message

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

[SNIPPET] Enable HTML in Board Disable Message

Post by Stoker »

This little snippet will allow you the use of HTML in the board disable message.

Open includes/sessions.php
Find:

Code: Select all

$message = (!empty($config['board_disable_msg'])) ? $config['board_disable_msg'] : 'BOARD_DISABLE';
			trigger_error($message);
Replace with:

Code: Select all

$message = (!empty($config['board_disable_msg'])) ? html_entity_decode($config['board_disable_msg']) : 'BOARD_DISABLE';
			trigger_error($message);

[SNIPPET] Enable HTML in Board Disable Message

Post by Terr0r »

Nice Snippet but what can I set now in the message if I disable my board a image or something like that ? so Yes Nice

So no is it then possible to set a picture or image in that message and how can I doe that ?

Already thanks for the help

Greets Terr0r

[SNIPPET] Enable HTML in Board Disable Message

Post by martin123456 »

The idea is you disable your board and place a link there

so it would be

example

We are sorry but we have to close down due to to many errors but we have a new site over here (then you html link) leading to another page

[SNIPPET] Enable HTML in Board Disable Message

Post by Vox Populi »

In theory you could use an image also. You just src and point to it in the html. Pretty simple html.