HTML gebruiken lukt niet

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

HTML gebruiken lukt niet

Bericht door cartoontje » 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.

Code: Selecteer alles

<html>
<b>Test</b>
</html>
en

Code: Selecteer alles

<html>
<head>
</head>
<body>
<b>Test</b>
</body>
</html>
werken geen van beiden.

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 
Dit heb ik netjes toegevoegd.

Hoe moet ik nu HTML gebruiken?

Gebruikersavatar
LazyTiger
Berichten: 2000
Lid geworden op: 21 okt 2003, 18:21

Bericht door LazyTiger » 23 mei 2004, 18:54

Code: Selecteer alles

## Please note there are three places where the return $userdata is used 
## Only one of them has the three close brackets "}" after it
heb je dat goed gedaan?

cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

Bericht door cartoontje » 23 mei 2004, 18:56

Jep! :)

(Bij de administrator staat nu ook bij:
Opties
HTML is UIT
BBCode is AAN
Smilies staan AAN
Dat HTML aan staat, bij andere users niet (getest met testaccount)! ;)

Gesloten