Fork me on GitHub

Rapport de message :*
 

Re: Mise í  jour newbbex raté ?

Titre du sujet : Re: Mise í  jour newbbex raté ?
par FabienSt sur 17/03/2009 12:33:20

Bonjour,

J'ai encore trouvé tout seul, sur la dernière version de newbbex, la 1.7

J'ai créé le Hack (ou plutôt correctif)suivant dans le fichier /newbbex/include/forumform.inc.php :

Code d'origine :

if(newbbex_isX23()) {
    
$editor_configs=array();
    
$editor_configs['name'] = 'message';
    
$editor_configs['value'] = $message;
    
$editor_configs['rows'] = 35;
    
$editor_configs['cols'] = 60;
    
$editor_configs['width'] = '100%';
    
$editor_configs['height'] = '400px';
    
$editor = new XoopsFormEditor('''htmlarea'$editor_configs);




Remplacé par :


if(newbbex_isX23()) {
    
$editor_configs=array();
    
$editor_configs['editor'] =  "dhtmltextarea"
    
$editor_configs['name'] = 'message';
    
$editor_configs['value'] = $message;
    
$editor_configs['rows'] = 35;
    
$editor_configs['cols'] = 60;
    
$editor_configs['width'] = '100%';
    
$editor_configs['height'] = '400px';
    
$editor = new XoopsFormEditor('''message'$editor_configs);


Et c'est dans la poche.

A+

Fabien
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

60 Personne(s) en ligne (50 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 60 | Plus ...