Ich möchte folgenden Mod installieren:
Mod Title: admins allowed html
## Mod Version: 1.0.0
## Author: Adam Ismay (mitsubishi) <admin@boardz.tk> www.boardz.tk
Dabei ist u.a. eine Änderung an der viewtopc.php durchzuführen:
Code: Alles auswählen
#
# ------ [ FIND ] ----
#
// If the board has HTML off but the post has HTML
// on then we process it, else leave it alone
//
if ( !$board_config['allow_html'] )
#
# ------ [ REPLACE WITH] ----
#
// If the board has HTML off but the post has HTML
// on then we process it, else leave it alone
//
if ( !$board_config['allow_html'] && $postrow[$i]['user_level'] != ADMIN )
Code: Alles auswählen
//
// If the board has HTML off but the post has HTML
// on then we process it, else leave it alone
//
if ( !$board_config['allow_html'] || !$userdata['user_allowhtml'])
Code: Alles auswählen
if ( !$board_config['allow_html'] && $postrow[$i]['user_level'] != ADMIN ) || !$userdata['user_allowhtml'])
Ich blicke da leider nicht so ganz durch ... ?
Danke.
Matthias