HTML gebruiken lukt niet
Geplaatst: 23 mei 2004, 18:50
Om het voor de admin mogelijk te maken HTML te gebruiken heb ik een mod geinstalleerd. Maar, het lukt me niet om HTML toe te voegen, terwijl er bij het posten wél staat dat HTML aan is.
en
werken geen van beiden.
De mod:
Dit heb ik netjes toegevoegd.
Hoe moet ik nu HTML gebruiken?
Code: Selecteer alles
<html>
<b>Test</b>
</html>
Code: Selecteer alles
<html>
<head>
</head>
<body>
<b>Test</b>
</body>
</html>
De mod:
Code: Selecteer alles
##############################################################
## MOD Title: phpbbAdminHTML
## MOD Version: 1.00
## Author: Nathan_Anderson
## Description: Turns on HTML support for Admin's
##
## Installation Level: easy
## Installation Time: 2 Minutes
## Files To Edit: 1 File
## Included Files: session.php
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## For Security Purposes, Please Check: <http://www.phpbb.com/mods/downloads/> for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: <http://www.phpbb.com/mods/downloads/>
##############################################################
## Authors Notes:
## Probably the smalled mod ever. :) But I've seen several requests for this.
## Please note there are three places where the return $userdata is used
## Only one of them has the three close brackets "}" after it.
##
## Installation:
## Edit the session.php file
##
## History
## Release - 1.00
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ open ]------------------------------------------
#
includes/sessions.php
#
#-----[ find ]------------------------------------------
#
return $userdata;
}
}
}
#
#-----[ before, add ]------------------------------------------
#
// Override Board setting if we are an Administrator.
if ($userdata['user_level'] == ADMIN) $board_config['allow_html'] = "1";
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Hoe moet ik nu HTML gebruiken?