A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Unfortunately we had to deactivate this mod, cause it shut down the board a couple of times, if somone uses uncommon letters like: ï (which war not part of any terms in the glossary db)
The parser seems to loop if that happens and it ends in a unreachable board.
Hmm, the thread which contains a word with this letter couldn't be loaded anymore. After a while the whole server was down for 2-3 minutes.
I changed it to regular "i" and it worked. After that i deactivatet the ext and re-changed it to ï again and it worked.
The Problem I thought it was: Ydayïon Phyrïkos which is a Name. It wasn't part of an acronym, just part of the posting.
But I now think, the problem is, that one of the terms (WD) causes the problem, the author marked it with the bold tag
The parser now doesn't close the tag anymore. Here's a screen from a testing installation: https://imgur.com/a/b5ISp
Both on the same board, I suppose?
Well, this should be possible, since you can select the forums where the glossary feature works.
This would be some work, since most config flags are simply labelled gloss_something. You would have to scan the code to avoid such name collisions and rename everything gloss1_something and gloss2_something.
Since I don't have so much free time, I'll leave that as an exercise for the reader, as the saying goes.
I uploaded a new version (2.0.0) on github (see 1st post).
This version brings huge changes because of the examination done by the CDB team (thanks to them).
In particular, I thought it was fine to store the pictures within the extension folder. It appears that those files should be stored in the board/store/lmdi/gloss folder. The code was corrected in this aspect, but if you already used the extension, you'll have to move the files manually from ext/lmdi/gloss/glossaire/ to board/store/lmdi/gloss.