Not logged in. · Lost password · Register
Page:  1  2  next 

All posts by help53 (22)

topic: how to retrieve user's mail adress via $getUserData ? (I looked at the doc couldn't find a solution to my problem. help plz !)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #1
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: how to retrieve user's mail adress via $getUserData ?
Hello ,

I am trying to write a plugin that will allow any user (logged in or not) to send a feedback of a wiki page to the Creator of the page.
I am able to retrieve the mail ID of the Creator when the user is logged in so far (i am using global $auth, p_get_metadata($id), getUserData("username"). However, when i want i want to retrieve the information of the Creator of a page when the user is not logged in, the $auth global variable shows null.

Actually, i installed the plugin feedback (https://www.dokuwiki.org/plugin:feedback) and changed the file action.php. Below is the code :


<?php


// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

class action_plugin_feedback extends DokuWiki_Action_Plugin {

    /**
     * Registers a callback function for a given event
     *
     * @param Doku_Event_Handler $controller DokuWiki's event controller object
     * @return void
     */
    public function register(Doku_Event_Handler $controller) {

        $controller->register_hook('DOKUWIKI_STARTED', 'BEFORE', $this, 'handle_start');
        $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handle_ajax');

    }

    /**
     * Add some info about the current page to the info array if feedback can be given
     *
     * @param Doku_Event $event  event object by reference
     * @param mixed $param  [the parameters passed as fifth argument to register_hook() when this
     *                           handler was registered]
     * @return void
     */
    public function handle_start(Doku_Event &$event, $param) {
        global $ID;
        global $JSINFO;
        global $ACT;

        // only on show
        if($ACT != 'show') return;
        // allow anonymous feedback?
        if(!$_SERVER['REMOTE_USER'] && !$this->getConf('allowanon')) return;
        // any contact defined?
        if(!$this->getFeedbackContact($ID)) return;

        $JSINFO['plugin_feedback'] = true;
    }

    /**
     * [Custom event handler which performs action]
     *
     * @param Doku_Event $event  event object by reference
     * @param mixed $param  [the parameters passed as fifth argument to register_hook() when this
     *                           handler was registered]
     * @return void
     */

    public function handle_ajax(Doku_Event &$event, $param) {
        // our event?
        if($event->data != 'plugin_feedback') return;
        $event->preventDefault();
        $event->stopPropagation();

        // allow anonymous feedback?
        if(!$_SERVER['REMOTE_USER'] && !$this->getConf('allowanon')) {
            http_status(400);
            die('no anonymous access');
        }

        // get submitted data
        global $INPUT;
        $id = $INPUT->str('id');
        $feedback = $INPUT->str('feedback');

        // get the responsible contact
        $contact = $this->getFeedbackContact($id);
        if(!$contact) {
            http_status(400);
            die('no contact defined');
        }

        // get info on user
        $user = null;
        if($_SERVER['REMOTE_USER']) {
            /** @var DokuWiki_Auth_Plugin $auth */
            global $auth;
            $user = $auth->getUserData($_SERVER['REMOTE_USER']);
            if(!$user) $user = null;
        }

        // send the mail
        $pageUrl = $this->getFullLinkPage($id); // My code
        $mailer = new Mailer();
        $mailer->to($contact);
        if($user) $mailer->setHeader('Reply-To', $user['mail']);
        $mailer->subject($this->getLang('subject'));
        $mailer->setBody(
            io_readFile($this->localFN('mail')),
            array('PAGE' => $id, 'FEEDBACK' => $feedback, 'PAGEURL' => $pageUrl) // My code : added PAGEURL
        );
        $mailer->send();


        header('Content-Type: text/html; charset=utf-8');
        echo $this->getLang('thanks');
    }

    /**
     * My code
     * Get the responsible contact for givven ID 
     * @param $id
     * @return false|string
     */
    public function getFeedbackContact($id) {
        //$conf = confToHash(DOKU_CONF . 'plugin_feedback.conf');
       
        // get info on user
        $user = null;
        if($_SERVER['REMOTE_USER']) {
           
            global $auth;
            $user = $auth->getUserData($_SERVER['REMOTE_USER']);
            //var_dump($user);
            if(!$user) $user = null;
        }
        //var_dump( $auth );
       
        $pageInfo = p_get_metadata( $id );
        //var_dump($pageInfo);
       
        //retrieve page creator mail adress
        if( $pageInfo && $auth )
        {
            $userdata = $auth->getUserData($pageInfo['user']);
            //var_dump($userdata);
            if( $userdata )
                $userMail = $userdata['mail'];
        }
       
        if( $userMail ) return $userMail;

        return false;
    }

    /**
     * prints or returns  the action link
     *
     * Alternatively you can add the plugin_feedback class to any object in the DOM and it will be used
     * for triggering the feedback dialog
     *
     * @param bool $return
     * @return string
     */
    public function tpl($return = false) {
        global $ID;
        global $ACT;

        // only on show
        if($ACT != 'show') return;
        // allow anonymous feedback?
        if(!$_SERVER['REMOTE_USER'] && !$this->getConf('allowanon')) return;
        // any contact defined?
       
        //var_dump($this->getFeedbackContact($ID));echo "ici";
        if(!$this->getFeedbackContact($ID))  return;

        $html = '<a href="#" class="plugin_feedback">' . $this->getLang('feedback') . '</a>';
        if($return) return $html;
        echo $html;
        return '';
    }
   
    /**
     * My code
     * This function return the full link to the page concerned by the feedback
     * @param $id (page)
     * @return string
     */
    public function getFullLinkPage($id){
        $link = wl($id,'',true);
       
        return $link;
    }

}

// vim:ts=4:sw=4:et:

In the code when the user is not logged in then the link "send feedback" is not visible because the function getFeedbackContact($id) returns false. With the var_dump($auth) i saw that $auth = null.

Thanks for helping me, as i need this only to finish my plugin.

Awaiting for an early response.
Thank you
Help53
Thank you
Help53
topic: Feedback plugin  in the forum: General Help and Support Plugins
Avatar
help53 #2
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: Feedback plugin
Hello,

Currently i installed feedBack plugin in my wiki, the thing is that the plugin allows to send feedback to an adress email that is set by the admin according to namespaces. What i want to do is to send the feedback directly to the author of the page . how to do that ? please help me ? i am in need of help, its been 2 weeks now i am searching for a solution .

thanks  for your help,

Ps : i am using the latest version of dokuwiki and using yemplate bootstrap3.
Thank you
Help53
This post was edited on 2016-05-04, 10:11 by help53.
topic: Urgent : Contacter l'auteur d'une page wiki via un mail (Je suis dans une situation bloquante s'il vous plaît à l'aide :()  in the forum: Non-English Discussion French discussion
Avatar
help53 #3
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 52139
Subject: Merci pour votre aide
Merci de m'avoir donné des pistes mais cela n'a pas fonctionné. Cependant, j'ai écrit un fichier php permettant d'envoyer un mail avez vous idée de comment l'intégrer dans mon wiki :

<?php

// On vérifie si la fonction ini_set() a été désactivée...
$desactive = ini_get('disable_functions');
if (preg_match("/ini_set/i", "$desactive") == 0) {
// Si elle n'est pas désactivée, on définit ini_set de manière à n'afficher que les erreurs...
ini_set("error_reporting" , "E_ALL & ~E_NOTICE");
}

// Vérifier que le formulaire a été envoyé...
if (isset($_POST['envoi'])) {


//On commence une session pour enregistrer les variables du formulaire...

session_start();

//debug
var_dump($_POST['zone_texte1']);

//Enregistrement des zones de texte...
$_SESSION['zone_texte1'] = $_POST['zone_texte1'];

// Définir l\'icone apparaissant en cas d\'erreur...


// Définir sur 0 pour afficher un petit x de couleur rouge.
// Définir sur 1 pour afficher l\'image d\'une croix rouge telle que celle utilisée dans l\'assistant
// Si vous utilisez l\'option 1, l\'image de la croix rouge \'icone.gif\' doit se trouver dans le répertoire \'images\',
// ce dernier devant se trouver au même niveau que votre formulaire...
$flag_icone = 0;

// On vérifie si $flag_icone est défini sur 0 ou 1...
if ($flag_icone == 0) {
$icone = "<b><font size=\"3\" face=\"Arial, Verdana, Helvetica, sans-serif\" color=\"#CC0000\">x</font></b>";
} else {
$icone = "<img src=\"images/icone.gif\"";
}

// Définir l'indicateur d'erreur sur zéro...
$flag_erreur = 0;
// N'envoyer le formulaire que s'il n'y a pas d'erreurs...
if ($flag_erreur == 0) {                   

// Addresse de réception du formulaire
$email_dest = "auteur@destinataire.fr";
$sujet = "sujet du formulaire";
$entetes ="MIME-Version: 1.0 \n";
    $entetes .="From: dokuwiki<dokuwiki@expediteur.fr>\n";
    $entetes .="Return-Path: dokuwiki<dokuwiki@expediteur.fr>\n";
    $entetes .="Reply-To: dokuwiki<dokuwiki@expediteur.fr>\n";
    $entetes .="Content-Type: text/html; charset=iso-8859-1 \n";
    $partie_entete = "<html>\n<head>\n<title>Formulaire</title>\n<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>\n</head>\n<body bgcolor=#FFFFFF>\n";


//Partie HTML de l'e-mail...
$partie_zone_texte .= "<font face=\"Verdana\" size=\"2\" color=\"#003366\">" . $_SESSION['zone_texte1'] . "</font><br>\n";
                   

                    // Fin du message HTML
                    $fin = "</body></html>\n\n";
                   
                    $sortie = $partie_entete . $partie_champs_texte . $partie_zone_email . $partie_listes . $partie_boutons . $partie_cases . $partie_zone_texte . $fin;


                    // Send the e-mail
                    if (@!mail($email_dest,$sujet,$sortie,$entetes)) {
                    echo("Envoi du formulaire impossible");
                    exit();
                    } else {

                    // Rediriger vers la page de remerciement
                    //header("Location:remerciement");
                    //exit();
                  } // Fin else
                } // Fin du if ($flag_erreur == 0) {
            } // Fin de if POST
?>
<html>
<!--
Assistant de création de formulaires PHP pour les nuls - Version gratuite 1.6
Auteur : Frédéric Ménard (assistant@f1-fantasy.net)
Site : http://www.f1-fantasy.net/assistant
 -->
<head>
<title>Formulaire</title><script language="JavaScript">


function verifSelection() {
    if (document.mail_form.zone_texte1.value == "") {
    alert("Vueillez saisir votre commentaire")
    return false
    }
} // Fin de la fonction
</script>


</head><body><form name="mail_form" method="post" action="<?=$_SERVER['PHP_SELF']?>" onSubmit="return verifSelection()">
  <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif, Tahoma"><strong>Formulaire
    de contact</strong></font></div><br><table align="center" width="566" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="16"><div align="center">
  <font color="#CC0000" size="2" face="Verdana, Arial, Helvetica, sans-serif, Tahoma"><strong><?php
if ($erreur_texte1) {
      echo(stripslashes($erreur_texte1));
      } else {
} // Fin du else...
?>
    </strong></font>
    </div></td>
      </tr>
    </table>
<p align="center"></p><table width="566" border="0" align="center"><tr>
      <td width="140" valign="top"><div align="right"><font face="Verdana" size="2">saisir votre commentaire</font></div></td>
      <td width="30" align="center" valign="top">
      <?php
      if ($erreur_texte1) {
      echo($icone);
      }
      ?>
      </td>
      <td><textarea name="zone_texte1" cols="45" rows="10"></textarea></td>
    </tr></table><table width="566" border="0" align="center"><tr>
<td valign="top"><div align="center">
          <input type="reset" name="Reset" value=" Effacer ">
           
          <input type="submit" name="envoi" value="Envoyer">
        </div></td></tr></table><div align="center"><input name="nbre_fichiers" type="hidden" id="nbre_fichiers" value=""></div></form></body></html>

Dans mon code ci-dessus j'ai mis en dur l'adresse email du destinataire, moi ce que je veux faire c'est faire en sorte que le destinataire soit l'auteur de la page.

SI quelqu'un pouvait m'aidé  !!!!!
Merci
Thank you
Help53
topic: How to unable changing email in the menu: update user profile ? (i want users to be able to change their password only)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #4
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 52056
Can anybody help ?
Thank you
Help53
topic: Option autopasswd = 0 not working , users can't change their password on their own, help !!!  in the forum: General Help and Support Features and Functionality
Avatar
help53 #5
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 52012
Thank you issue solved. Finally i installed sendmail and configured automatic mail.

:)
Thank you
Help53
topic: Urgent : Contacter l'auteur d'une page wiki via un mail (Je suis dans une situation bloquante s'il vous plaît à l'aide :()  in the forum: Non-English Discussion French discussion
Avatar
help53 #6
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: Urgent : Contacter l'auteur d'une page wiki via un mail
Bonjour les  pros !

Je souhaiterais donner la possibilité à toute personne (connecté ou non) visitant mon wiki, d'envoyer un mail à l'auteur de la page wiki pour qu'il puisse lui faire passer des remarques concernant la page qu'il a créée.

Pour être plus clair, imaginons le scénario suivant :

- je visite un wiki et lis la page "Windows 10" et je trouve des erreurs dans le contenu de la page
- je clique sur un bouton/lien "contacter l'auteur"
- un formulaire d'envoi de mail s'ouvre
- le champ contenant l'adresse mail de l'auteur est déjà rempli, le champ qui va contenir mes remarques contient déjà le lien vers la page "Windows 10" (afin que l'auteur n'est pas à chercher la page, qu'il clique sur le lien et arrive sur la page concerné).
- je rajoute mes remarques dans le champ contenant le lien vers la page
- je rajoute l'objet de mon mail
- je clique sur "Envoyer"

Bref voilà ce que je souhaiterais faire, est-ce que quelqu'un connaît un plugin permettant de faire cela ou bien m'aider à concevoir ce formulaire?

En fait cela fait partie d'une de mes missions de mon stage (important pour la préparation à mon diplôme), je viens à peine de commencer la programmation...

Merci,
En attente de vos réponses
:scared:

help53
Thank you
Help53
This post was edited on 2016-04-20, 12:10 by help53.
topic: How to add ( in dokuwiki navbar menu) a form to send email to the author of a wiki page ? Please HELP :( ! (any users (logged in or not) could send an email to the author of the article they are reading)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #7
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to add ( in dokuwiki navbar menu) a form to send email to the author of a wiki page ? Please HELP :( !
Hello ,

I am wondering if there is possibility for any user visiting dokuwiki and reading an article, to send an email to the person that wrote that article. Actually i would like my users (logged in users and visiting ones) to be able to give feedback of an article to it's author, so that the author can change if something in his page is not correct.

It would be most probably an html form containing a comment box ( a box in which the user could write it's comment) and a button "send". For privacy purpose i don't want the email of the author to be appear in the form.

However, when sending the email, the author's email, an automated object and a link towards the concerned page would be added automatically in the message. So the author will receive a full mail with user's comment and the link towards the concerned page

Currently i am using the latest version of dokuwiki, Template bootstrap3, i ve enabled password auto (sending passwords automatically by mail).

Please help me as i need this for my training ( i am a newbie developper still studying and am doing a training in a company).

Awaiting for your reply,
Thanks,

help53
 
Ps: sorry if my sentences are not clear, my English is not really good.
Thank you
Help53
This post was edited 2 times, last on 2016-04-25, 10:42 by help53.
topic: How to unable changing email in the menu: update user profile ? (i want users to be able to change their password only)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #8
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to unable changing email in the menu: update user profile ?
Hello !

I would like to allow the users only to be able to update their password in the menu: update user profile. The update form allows the user to change their name, email and password but i want to allow them  to change their password only(name and email are offlimits), how can i do that ?

I am using the latest version of dokuwiki and Template bootstrap3. I ve enabled the feature "forgot your password" so that the user gets an automatically generated password by mail but i would like to give them the choice of changing the received password (only the password) when they login to my wiki.

Thank you awaiting for your reply.
Help53
Thank you
Help53
topic: make 3 usergroups with different rights(read,edit,all) in dokuwiki when using the authAd extension ? (use AD to authenticate users but need to make three groups of users (user:read, contributor:edit or create new pages, superuser:all))  in the forum: General Help and Support Features and Functionality
Avatar
help53 #9
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: make 3 usergroups with different rights(read,edit,all) in dokuwiki when using the authAd extension ?
Hello dokuwikers !

i want to use the plugin authad and use SSO so that users don't have to create password for the wiki as most of the time they don't remember it. However, i ve three types of users with different rights :

- All : any unregistered user that can only read the wiki
- user : any registered user that can edit the content (create, modifiy pages or namespaces and obviously can upload images and files)
- superuser : a user that has all the rights (administrator of the wiki)

I searched the adplugin in the following dokuwiki page  https://www.dokuwiki.org/plugin:authad. I saw that there are two possible groups of users :


$conf['manager']   = '@LDAPGROUPNAME';
$conf['superuser'] = '@LDAPGROUPNAME';

Is it possible to have something like that

$conf['all']   = '@LDAPGROUPNAME';
$conf['user'] = '@LDAPGROUPNAME';
$conf['manager']   = '@LDAPGROUPNAME';
$conf['superuser'] = '@LDAPGROUPNAME';

Currently i am using the latest version of dokuwiki, Template bootstrap3 and i ve activated automatic password change for users (users get passwords via mail). As number of users is increasing quite rapidly (more than 200) i want to authenticate users against AD and activate SSO.

Please can you tell me if its possible or not as i need to activate SSO rapidly as handling users password is becoming out of hand for me.

Thank you,
Awaiting for your reply
help53
Thank you
Help53
topic: media manager not visible in IE11 but visible in mozilla firefox ! (can't insert images to my wiki pages when using IE11 because media manager page not visible)  in the forum: General Help and Support Templates and Layout
Avatar
help53 #10
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 52016
ok, thank you i posted an issue as you said .
Thank you
Help53
topic: media manager not visible in IE11 but visible in mozilla firefox ! (can't insert images to my wiki pages when using IE11 because media manager page not visible)  in the forum: General Help and Support Templates and Layout
Avatar
help53 #11
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: media manager not visible in IE11 but visible in mozilla firefox !
Hello dokuwikers,

I need some help from you all as i have a big problem : users can't insert images to wiki pages as media manager window (with button select a file and search a file) is not visible when using the browser IE11.

Actually when the users click on the top menu media manager, the page is displayed, so the users can add images and files to media manager. However when they want to add an image while writing a wiki page, they click on the button insert an image in the toolbar, a pop up page opens, only the namespaces are visible (so only the "sidebar" of the pop up is visible), the middle of the page with the button upload an image and search an image does not apppear, it is blank. When i checked the source code, the div containing the buttons appears.

Here is the source code that i retrieved from IE11 :

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
  lang="fr" dir="ltr" class="popup no-js">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title>Sélection de fichiers [DokuWiki]</title>
  <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <link rel="shortcut icon" href="/lib/tpl/bootstrap3/images/favicon.ico" />
<link rel="apple-touch-icon" href="/lib/tpl/bootstrap3/images/apple-touch-icon.png" />
    <meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<link type="text/css" rel="stylesheet" href="/lib/tpl/bootstrap3/assets/bootswatch/simplex/bootstrap.min.css"/>
<link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/>
<link rel="start" href="/"/>
<link rel="alternate" type="text/html" title="HTML brut" href="/doku.php?do=export_xhtml&amp;id="/>
<link rel="stylesheet" type="text/css" href="/lib/exe/css.php?t=bootstrap3&amp;tseed=019467cbcc6139d34559c1f7fda23e8b"/>
<link type="text/css" rel="stylesheet" href="/lib/tpl/bootstrap3/assets/font-awesome/css/font-awesome.min.css"/>
<script type="text/javascript">/*<![CDATA[*/var NS='';var SIG=' --- //[[root@lohr.fr|Administrator]] 07/04/201606:52//';var JSINFO = {"id":"","namespace":"","bootstrap3":{"tableFullWidth":1,"tableStyle":["striped","condensed","responsive"],"tagsOnTop":1,"useAnchorJS":1,"mode":null}};
/*!]]>*/</script>
<script type="text/javascript" charset="utf-8" src="/lib/exe/js.php?t=bootstrap3&amp;tseed=019467cbcc6139d34559c1f7fda23e8b"></script>
<script type="text/javascript" src="/lib/tpl/bootstrap3/assets/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/lib/tpl/bootstrap3/assets/anchorjs/anchor.min.js"></script>
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
  <style type="text/css">
    body { position: initial; }
  </style>
</head>
<body class="container">
  <!--[if IE 8 ]><div id="IE8"><![endif]-->
  <div id="dw__msgarea">
      </div>
  <div id="media__manager" class="dokuwiki mode_ tpl_bootstrap3 loggedIn notFound  row">

    <div id="mediamgr__aside" class="col-xs-4">
      <h1>Sélection de fichiers</h1>

            <div id="media__opts"></div>
        <div id="media__tree">

<ul class="idx">
<li class="media level0 open"><img src="/lib/images/minus.gif" alt="−" /><div class="li"><a href="/lib/exe/mediamanager.php?ns=" class="idx_dir">[racine]</a></div>
<ul class="idx">
<li class="media level1 closed"><img src="/lib/images/plus.gif" alt="+" /><div class="li"><a href="/lib/exe/mediamanager.php?ns=manuel_utilisateur" class="idx_dir">manuel_utilisateur</a></div></li>
<li class="media level1 closed"><img src="/lib/images/plus.gif" alt="+" /><div class="li"><a href="/lib/exe/mediamanager.php?ns=nomenclature" class="idx_dir">nomenclature</a></div></li>
<li class="media level1 closed"><img src="/lib/images/plus.gif" alt="+" /><div class="li"><a href="/lib/exe/mediamanager.php?ns=wiki" class="idx_dir">wiki</a></div></li>
</ul></li>
</ul>
</div>
      </div>

      <div id="mediamgr__content" class="col-xs-8">
        <div id="media__content">
<h1 id="media__ns">:</h1>
<div class="upload">Envoyez un fichier dans la catégorie actuelle. Pour créer des sous-catégories, préfixez en le nom du fichier séparées par un double-point, après avoir choisis le(s) fichier(s). Le(s) fichier(s) peuvent également être envoyé(s) par glisser-déposer (drag &amp; drop)</div><div class="no"><input type="hidden" name="sectok" value="bdee5efdc113fbe62104500267dbc208" /></div>

<div id="mediamanager__uploader">
<form id="dw__upload" enctype="multipart/form-data" action="/lib/exe/mediamanager.php" method="post" accept-charset="utf-8"><div class="no">
<input type="hidden" name="sectok" value="bdee5efdc113fbe62104500267dbc208" /><input type="hidden" name="ns" value="" /><div class="no"><input type="hidden" name="sectok" value="bdee5efdc113fbe62104500267dbc208" /></div>
<p >
<label for="upload__file"><span>Sélectionnez un fichier à envoyer:</span> <input type="file" id="upload__file" name="upload" class="edit" /></label>
</p>
<p >
<label for="upload__name"><span>Envoyer en tant que (optionnel):</span> <input type="text" id="upload__name" name="mediaid" class="edit" /></label>
<button type="submit">Téléverser</button>
</p>
<p >
<label class="check" for="dw__ow"><input type="checkbox" id="dw__ow" name="ow" value="1" /> <span>Écraser le fichier cible (s'il existe)</span></label>
</p>
</div></form>
</div>
<p class="maxsize">Taille d'envoi maximale : 2 MB par fichier</p>
<form id="dw__mediasearch" action="/lib/exe/mediamanager.php" method="post" accept-charset="utf-8"><div class="no">
<input type="hidden" name="sectok" value="bdee5efdc113fbe62104500267dbc208" /><input type="hidden" name="ns" value="" /><input type="hidden" name="do" value="searchlist" /><p >
<label><span>Chercher le nom de fichier :</span> <input type="text" name="q" class="edit" title="Chercher dans :*" /></label>
<button type="submit">Rechercher</button>
</p>
</div></form>
<div class="nothing">Pas de réponse.</div>
</div>
      </div>

  </div>
  <!--[if IE 8 ]></div"><![endif]-->
</body>
</html>

I openned the media manager from the toolbar using Mozilla Firefox and surprisingly : it works, i could add images and files to my page.

So how to make that page IE11 compatible, because in my company we use only IE11 and can't use any other browser.

Please anyone help me out as i need to present this wiki in working condition to my boss. :scared:

Thank you for your help
Thank you
Help53
topic: Option autopasswd = 0 not working , users can't change their password on their own, help !!!  in the forum: General Help and Support Features and Functionality
Avatar
help53 #12
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: Option autopasswd = 0 not working , users can't change their password on their own, help !!!
Hello,

I ve installed dokuwiki on my wamp server and i am using the Template bootstrap3, i want my users to be able to change their password on their own and i don't want to send the new password by mail to the users.

In order to do that i searched through dokuwiki s documentation and came accross this : https://www.dokuwiki.org/config:autopasswd

I did what is written :
- i added
$conf['autopasswd']  = 0;
in conf/local.php file and saved the file. However when i click on the link that permits changing the password, i don't get the form with the password fields, i get only one input asking for the username and then get the error : some problem with the server contact your admin to change your password. How do i do, please help me, i need it to work very urgently .

This is the code of local.php :

<?php
/*
 * Dokuwiki's Main Configuration File - Local Settings
 * Auto-generated by config plugin
 * Run for user: admin
 * Date: Wed, 06 Apr 2016 06:56:58 +0000
 */

$conf['title'] = 'Wiki ';
$conf['license'] = 'gnufdl';
$conf['youarehere'] = 1;
$conf['dformat'] = '%d/%m/%Y %H:%M';
$conf['hidepages'] = ':sidebar';
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'backlink,index,recent,revisions,register,profile,profile_delete,check,rss,subscribe,unsubscribe,source,export_raw';
$conf['tpl']['bootstrap3']['bootstrapTheme'] = 'bootswatch';
$conf['tpl']['bootstrap3']['bootswatchTheme'] = 'simplex';
$conf['tpl']['bootstrap3']['showHomePageLink'] = 1;
$conf['autopasswd']  = 0;  

// end auto-generated content

Awaiting for your reply
Thank you
Thank you
Help53
topic: How to make the dokuwiki bilingual (french/english) ? (translating wiki in english)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #13
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 50447
Subject: bilingual wiki
Hello Digitalin,

First of all thank you very very much for replying, i really thought i won't be able to solve this problem.  :-)

So about your post, do you mean to say that once i create a new page with en: and copy paste the french texte in the new page (en:), the text (which is in french ) of the page will be translated in english (without me translating it) ?

As i think you are an expert in wiki, can you please tell me exactly what are the new features of the update version of dokuwiki because my superior isn't really keen on  upgrading stuff.  So before upgrading anything i need to explain him the pros and cons of the upgrade.

Thank you very much for your help.
Awaiting for your reply .
help53
Thank you
Help53
topic: How to make the dokuwiki bilingual (french/english) ? (translating wiki in english)  in the forum: General Help and Support Features and Functionality
Avatar
help53 #14
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 50411
yes , but i saw that the compatibility with the version i ve is not known and i didnt understand wht it does, does it translate the pages as well ? In the page that describes the plugin translation it is written :


This plugin shows a list of available translations for a page. It is very simple and was built with the needs of www.dokuwiki.org in mind and is used for documentation translation efforts here. There are a few limitations:

◾ separate namespaces are used to store translations


◾ translated pages need to have the same pagename as the main language page



Does that mean that i ve to create the pages and then it helps manage those pages or please can you explain exactly what it does because i didn't really understand how this plugin works ?

thank you very much for replying
Thank you
Help53
This post was edited on 2015-11-03, 09:34 by help53.
topic: Comment faire du dokiwiki, un wiki bilingue voire multilingue ? (situation bloquante (aidez-moi svp))  in the forum: Non-English Discussion French discussion
Avatar
help53 #15
Member since Sep 2014 · 22 posts
Group memberships: Members
Show profile · Link to this post
Subject: Comment faire du dokiwiki, un wiki bilingue voire multilingue ?
Bonjour,

J'ai installé il y a 2 ans Dokuwiki (2014-05-05a "Ponder Stibbons") en tant que base de connaissance et le wiki fonctionne à merveille. Cependant à l'époque mes utilisateurs étaient tous français et comprenais donc le français, aujourd'hui mon wiki est aussi utilisé par des utilisateurs anglais et qui ne comprenne pas un seul mot de français.

Comment est-ce que je peux ajouter une fonctionnalité bilingue dans mon wiki? Est-ce que je dois créer un nouveau wiki en traduisant toutes les pages de wiki qui sont en français, en anglais ? Ou bien, est -ce que je peux téléchargé ou installer un logiciel de traduction dans le wiki qui traduirait en fonction les pages en anglais ? Y a t'il une autre solution plus rapide et plus efficace ?

S'il vous plaît aidez moi, je suis vraiment perdu et j'aimerai vraiment trouver un moyen simple pour traduire le wiki en anglais sans devoir créer et traduire des pages car ce travail prendrait trop de temps et j'en ai vraiment besoin de façon urgente.

Merci,
En attente d'une réponse. :scared:
Help53
Thank you
Help53
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  next 
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-12, 05:44:04 (UTC +01:00)