Not logged in. · Lost password · Register
Page:  1  2  3 ... 24  25  26  next 

All posts by schplurtz (380)

topic: Image alignment based on screen size  in the forum: General Help and Support Syntax and Usage
Avatar
schplurtz (Moderator) #1
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
I assumed you use the default template. Is this the case ?

I've checked via inspect and the margin commands are active. I've also tried margin-left: auto and margin-right: auto.
Hum... If it's a block and the auto margins are active, then it is centered. Maybe, its container is not 100% of the width.

Can you test this and take a screenshot like the one  I attached. make sure the rules are visible and the image margins are highlighted.
Cras semper augue sit amet dui bibendum
{{:wiki:dokuwiki-128.png  }}
Proin tempus felis ac est aliquam condimentum.
{{  :wiki:dokuwiki-128.png}}
Duis eleifend sem vestibulum metus vulputate et sodales erat lacinia.
{{  :wiki:dokuwiki-128.png  }}
Morbi leo mi, pellentesque nec pulvinar a, hendrerit ut libero.
The author has attached one file to this post:
screen.png 578.8 kBytes
You have no permission to open this file.
topic: Image alignment based on screen size  in the forum: General Help and Support Syntax and Usage
Avatar
schplurtz (Moderator) #2
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65306
You can create your own style in conf/userstyle.css. See https://www.dokuwiki.org/devel:css.

This sets the same style as the "centered media" style to left and right aligned media, on all screens whose width is less than 1024px :
@media (max-width: 1024px) {
  .dokuwiki img.medialeft, .dokuwiki img.mediaright {
    margin: .2em auto;
    float: unset;
    display: block;
  }
}
topic: Eviter les doublons de courriel à l'inscription  in the forum: Non-English Discussion French discussion
Avatar
schplurtz (Moderator) #3
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65213
En regardant le code rapidement, je m'étais dit, "tiens, il est possible que ça pose problème avec jpdupont et pdupont", mais je n'ai pas vérifié. as-tu fait le test ?

Sinon, ce que tu recherches est dans  /lib/plugins/authplain/auth.php. Il y a la méthode retrieveUsers.
  1. public function retrieveUsers($start = 0, $limit = 0, $filter = array())
et pour les autres systèmes d'authentification, voir xref retrieveUsers.
This post was edited on 2019-03-09, 12:14 by schplurtz.
topic: customize login page  in the forum: General Help and Support Templates and Layout
Avatar
schplurtz (Moderator) #4
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65197
Quote by The_Raven:
Oh i like users who say "use the search function of the forum..."  :rolleyes: :sarcasm off:
There is absolutely no need to be sarcastic to express your puzzlement or disappointment. Be warned !
topic: Creating pages via SFTP and updating data plugin  in the forum: General Help and Support Syntax and Usage
Avatar
schplurtz (Moderator) #5
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65179
A third bug due to Archlinux' non standard way of installing doku.
You should consider reporting the bug to Archlinux. See
https://forum.dokuwiki.org/thread/16753 and https://forum.dokuwiki.org/thread/16658

In the mean time, You can probably run the manual indexer. See https://www.dokuwiki.org/cli#indexerphp
Be sure to run the script under the webuser account (use su  or something similar).

You may also modify your import script. Just after SFTP is done, use curl to trigger the indexer. For example, if you need to index some:page, the curl command would look like this  (assuming an sh script) :
curl "http://your.doku.server/base-doku-path/lib/exe/taskrunner.php?id=some%3Apage&$(date +%s)"

The data plugin does not use the indexer. I think the db is updated when the page is viewed for the first time.
So after calling taskrunner.php, just get the page with curl, ie something like this:
curl "http://your.doku.server/base-doku-path/doku.php?id=some%3Apage"
# or
curl "http://your.doku.server/base-doku-path/some%3Apage"

Using curl with authentification on a closed wiki will not work right away. You can use a browser to log in your wiki, and then tell curl to use your browser cookie file. curl -b /path/to/your/cookie/file http://..... See curl manpage.
topic: Not public pages, search-index renew, search engines  in the forum: General Help and Support Features and Functionality
Avatar
schplurtz (Moderator) #6
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65138
Hi,

New Indexing for wikis of 10.000 pages + is hardly ever to make, requiring 36h good access and no disturbances.
Maybe this post https://forum.dokuwiki.org/post/65161 will help.
topic: Login : différence entre réinstaller et mettre à jour ?  in the forum: Non-English Discussion French discussion
Avatar
schplurtz (Moderator) #7
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65139
Bonjour,

En fait, Il y a soit un bouton "mettre à jour", soit un bouton "réinstaller" Les seuls
qui n'ont pas de bouton "réinstaller"/"mettre à jour" sont ceux qui sont livrés avec
DokuWiki, puisqu'on ne peut pas les installer séparément.

Les deux actions sont exactement les mêmes. Grosso modo, DW télécharge un zip
et déballe son contenu par dessus la précédente installation.

Mais pourquoi faudrait-il réinstaller un greffon ? J'imagine au moins deux cas où
ça peut être nécessaire. 1) crash ou autre erreur de l'ordi (disque plein par exemple)
pendant une installation. 2) mauvaise manip manuelle. On est parfois amené à
modifier les fichiers, pour corriger un problème ou modifier le comportement d'un
greffon. Certains s'y prennent mal et n'ont pas fait de sauvegarde préalable...

Schplurtz.
topic: a2s Plugin along with Dw2Pdf plugin (arrows not exported to PDF)  in the forum: General Help and Support Plugins
Avatar
schplurtz (Moderator) #8
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65123
I just tried and I have good results with the odt plugin https://www.dokuwiki.org/plugin:odt .
pdf created by this plugin have the arrows.

Unfortunately, there are other issues. schemas that are too wide are not correctly resized
and are cropped. This may be an a2s bug or a odt pluglin issue. Right now, I don't have
time to investigate (or fix).

If you can install libreoffice on your server, that may be a solution to your problem.
This post was edited on 2019-03-02, 07:25 by schplurtz.
topic: a2s Plugin along with Dw2Pdf plugin (arrows not exported to PDF)  in the forum: General Help and Support Plugins
Avatar
schplurtz (Moderator) #9
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65121
LarsDW223 is correct. The problem (which is documented here https://www.dokuwiki.org/plugin:a2s#faq) is a limitation of mpdf, the pdf library used by dw2pdf. I just don't remember what the actual problem is.
topic: Faire apparaître une page article à deux endroits différents de l'arborescence (Cross-linking possible?)  in the forum: Non-English Discussion French discussion
Avatar
schplurtz (Moderator) #10
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65108
Et volà ce qui arrive quand on ne peut pas terminer sa réponse tout de suite. qqu'un d'autre répond aussi.
Désolé pour le doublon.
topic: Faire apparaître une page article à deux endroits différents de l'arborescence (Cross-linking possible?)  in the forum: Non-English Discussion French discussion
Avatar
schplurtz (Moderator) #11
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65099
Bonjour Valérie.

Les catégories sont un peu comme des dossiers, et les pages comme des documents. On ne peut pas mettre le même document dans deux dossiers. On nepeut pas mettre une page dans deux catégories.

Par contre, je vois au moins deux solutions.
1) Utiliser le greffon include : https://www.dokuwiki.org/plugin:include

Ce greffon permet d'inclure par référence (donc toujours à jour) une page dans une autre.
par exemple, la page outill:arrondir-les-carres contient uniquement ceci
{{page>problemes:les-ronds-sont-carres}}
Et la page problemes:les-ronds-sont-carres contient le texte réel.

Tout ceci est très manuel, bien sûr mais ça peut fonctionner.

2) utiliser le greffon tag. https://www.dokuwiki.org/plugin:tag
Celui ci permet d'étiqueter les pages. Les étiquettes associées à une page apparaissent
dans la page (en général en haut à droite, mais ça depend des thèmes). Lorsqu'on clique
sur une étiquette, on peut obtenir la liste des pages qui utilisent la même étiquette. (il
me semble) On peut aussi faire d'autre trucs avec ce greffon. Je ne l'utilise pas du tout,
donc je ne sais pas s'il est pratique ou non. Il me semble plus utile sur un wiki à plat
(sans catégorie) où on se déplace uniquement de lien en lien ou via la recherche.
Dans ton exemple, on pourrait étiqueter certaines pages avec l'étiquette problème, d'autre
avec outils et d'autre encore avec les deux. Voire avec outils problème ronds et carrés.
topic: Affichage du titre (modifier l'affichage du titre généré dans chaque page)  in the forum: Non-English Discussion French discussion
Avatar
schplurtz (Moderator) #12
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65100
Bonjour Mout,

Ce n'est pas le titre, mais le nom de la page. et il est TRÈS GROS en effet.
Pour le réduire, ou le faire disparaître, le plus simple est d'ajouter un peu de CSS à ton wiki.
Dans le dossier conf, crée (ou édite) le fichier  userall.css avec un notepad quelconque (notepad++, nano, gedit etc...)

Pour le faire disparaître, utiliser ceci :
.content-card__title { display: none; }
ou cela pour réduire la taille du texte
div.content-card__title h1 { font-size: 10pt; } /* ou truc du genre */

Penser ensuite à purger le cache dokuwiki , simplement en se rendant dans admin => paramètres de configuration et en sauvant la config sans rien changer.

Penser également à purger le cache du navigateur, ou forcer le rafraîchissement complet de la page, (voir doc du navigateur)

Voilà
topic: images have stopped displaying  in the forum: General Help and Support Installation and Configuration
Avatar
schplurtz (Moderator) #13
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65033
Very interresting pages, especially the findbad one. Thank you Myron !
topic: images have stopped displaying  in the forum: General Help and Support Installation and Configuration
Avatar
schplurtz (Moderator) #14
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 65012
what is odd is the content of your media. For example,

0000000                    G   I   F   8   9   a 364 001   s  \0 367  \0
0000020   \0  \0  \0  \0  \0   | 315  \0   ~ 320  \0 203 322  \0 212 000
0000040   \0 214 331  \0 220 332  \0   d 270  \0   [ 245  \0   u 301  \0
0000060  225 335  \0 222 334  \0 230 336  \0 226 340  \0 231 340  \0 233
or
0000000                  211   P   N   G  \r  \n 032  \n  \0  \0  \0  \r
0000020    I   H   D   R  \0  \0 001 220  \0  \0 001 217  \b 006  \0  \0
0000040   \0   r   ? 206 202  \0  \0  \0 004   s   B   I   T  \b  \b  \b
0000060   \b   |  \b   d 210  \0  \0  \0  \t   p   H   Y   s  \0  \0  \n
0000100  360  \0  \0  \n 360 001   B 254   4 230  \0  \0  \0 037   t   E
0000120    X   t   S   o   f   t   w   a   r   e  \0   M   a   c   r   o
0000140    m   e   d   i   a       F   i   r   e   w   o   r   k   s

As you can see, there are 4 spaces at the begining of your files that should not be here.
The gif file had also other errors and could not be displayed, but the transparent png with
the black divers displayed correctly when I removed the leading 4 spaces. I don't think
your problem comes from php 7 upgrade.

The same 4 spaces also appear at the begining of your html files
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://w

Something is outputing those 4 spaces before DW starts to output its answer.
What I suspect, is there is a file, somewhere that starts wiht "    <?php" instead
of "<?php", or maybe, ends in "?>    " instead of "?>". (such files should really
end in "", but that is anoter matter). And, there could be multiple files starting with
" <?php", or any other combination of course. It could certainly be something else,
but the spaces before or after the php tag are the usual suspects. What puzzles
me is that in this case, you should see that kind of warnings in the logs :
Warning: Cannot modify header information - headers already sent

Anyway, here are the actions you can try :

1st of all. Change back your conf directory to non writeable, if that's your habits. DW works fine with conf directory non writeable.

then try this to find files that end with "?> "
cd ......./conf
grep '\?>  *$' *
if there is any answer, edit the corresponding file and remove the spaces after the ?>

Then, try that to find files that start with " <?php"
grep '^  *<?php' *
if there is answer, edit the corresponding file and remove the leading spaces.
Again, I don't really expect an aswer...

also, run the same grep command in inc and lib/exe directory. Eventually, add a -r option to the grep command. There could be files that match. Remember you are only interrested in files that start with "space then <?php" or end in "?> traling spaces". If those patterns happen in the midlle of the file, don't change anything.

No result ? deactivate all unnecessary plugins
topic: Error when trying to log in as admin  in the forum: General Help and Support General Stuff
Avatar
schplurtz (Moderator) #15
Member since Nov 2009 · 383 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post ID 64981
How would i do find where it is hosted
How could we help with that ? this is something we can't solve for you.
There are so many questions/possibilities :
Is it a physical machine, a virtual machine ? Is it somewhere in a computer room, at your work or somewhere else  ?, in one of your colleagues' office ? hosted by some webhoster etc... What is the name of this server ?

or log in via a FTP to the files on the server?
And once you know the computer name and location, you still have to figure out how you can get access to the files. It could be anything, really. using a console, ie physical or virtual keyboard and screen, or remote desktop, or ssh, ftp, network share, web filemanager of some sort... What are the logon and password you have to use ?

Ask your colleague, if you can still reach him/her. This person should be able to give you the required informations.

The server IP address might -- but this is not sure at all -- give you an idea of where the server is . The filenames indicate a unix like server (linux, bsd, mac or other). It also suggests that DokuWiki is installed as freddieh's personnal page. So maybe, maybe, a department webserver where users can create personnal home page. That's all I can guess; and this may be completely wrong (except that it definitely is a unix like computer).
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 24  25  26  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-03-20, 02:30:20 (UTC +01:00)