News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Glossary

Started by slinouille, December 24, 2008, 10:33:47 AM

Previous topic - Next topic

dekay

It's a nice MOD, but I experienced some problems while installing/using it (SMF 2RC1, german utf8 database):

1. I was not able to install it at first because of AVEA (which was already installed). I discribed the issue at the AVEA-Thread because I'm not sure who's to blame  ;D Perhaps Glossary...

2. When I managed to install Glossary it blanked out my entire Forum. I found out why: the language file is corrupt (german-utf-section of languages.xml):

$txt['glossary_untooltip_all'] = "Disable tooltips on selection?";
$txt['glossary_action_admin'] = "Administration";
$txt['glossary_action_select_all'] = "Select all";
$txt['glossary_action_unselect_all'] = "Unselect all
$txt['glossary_admin_context_menu'] = "Enable administrator right-click context menu";
//End mod Glossary


should be ...
$txt['glossary_action_unselect_all'] = "Unselect all";
... I assume

3. Glossary-words can't be in URLs to images, smilies, etc.. Thats quite bad when you have a domain name that's an acronym which is worthy to be explained via Glossary. This is worse if you think of users embedding images that can have almost every word that's allready in the glossary.
Any workaround for that? Or an option that can be used to stop that parsing of URLs?

Running With Scissors

It installed without a problem but I can't any words or anything. http://www.traxck.com/index.php?action=glossary#
A site for runners: http://www.traxck.com

webline

thanks @dekay, i just update the file, attached my version

iain sherriff

Nice. Works a treat  :)

I had AEVA installed and had to uninstall this to allow Glosary to install but reinstalling AEVA doesnt affect Glossary.
I do have an issue with the Theme I'm using, the css for Glossary needs changing as the text links dont show up and I'm missing some images yet, but I hven't edited my Theme yet.

www.uklows.com
SMF 2.0.12

slinouille

@dekay: thanks for correction. Concerning point 3, I thaught it was working ... can you give me a concret example ... I've perhaps not think to all existing cases ;)

@Running With Scissors: I think you didn't give the right to the membergroups to add words or manage tjhe glossary.

@iain sherriff: thank you for process to follow ... I'll check that behaviour with AEVA

Thanks guys for your comments :)

SliN

Visit VAG-Technique.fr
Take a look to my mods

dekay

#205
Quote from: slinouille on April 18, 2009, 03:59:05 PM
@dekay: thanks for correction. Concerning point 3, I thaught it was working ... can you give me a concret example ... I've perhaps not think to all existing cases ;)

sure.

a) activate Glossary.
b) add the expression "lol" to the glossary
c) prepare a posting like this:
lol

:lol:

[url]/forum/Smileys/default/lol.gif[/url]

[img]/forum/Smileys/default/lol.gif[/img]

(assuming /forum/ is the path to your SMF)

d) Preview the post: everything looks alrigh
e) make the post and get something like you can see in the attached picture.
f) wonder why the first "lol" has no tooltip, but the one in the url

another interesting test: attach some top level domains to your glossary. like de, fr, com, info, net.

Running With Scissors

Quote from: slinouille on April 18, 2009, 03:59:05 PM
@Running With Scissors: I think you didn't give the right to the membergroups to add words or manage tjhe glossary.

I'm a admin so I already have all the permissions but it still won't let me click add a new key word.
A site for runners: http://www.traxck.com

Kindred

Actually,   Installing on 2.0RC1, I get the same error as running with scissors...   All of my previous entries work and are editable, but I can not enter ANY new ones.

I can send you a test admin account to demonstrate.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

slinouille

Arrggg what did I do :(

I've changed some settings variables in previous version, perhaps are they badly initialized when it's an upgrade?
Can you tell me if you have clicked on "save button" in the admin glossary panel ? perhaps that by clicking it will reload all variables.

Nevertheless I'll check on my side.

@Kindred: yes please ;)

SliN
Visit VAG-Technique.fr
Take a look to my mods

Kindred

hmmm....


I just noticed that ALL links in the upper right corner go to
http://SITE/index.php?action=glossary#

none of the admin links work either.

account info sent in PM
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

marcozambi

Hi slinouille!
First thank you for this impressive piece of software. You made my day on forumastronautico.it.

I have just an odd behaviour, that it seems to me it's been signaled before: pattern recognition of keywords is working even inside the definition boxes of the Glossary, with the result that the text cotained in the popup balloons is corrupted.

Example:
1) I add a keyword like "EST" and his description is (in italian) "Eastern Standard Time - Ora solare della costa est degli USA, pari a UTC-5"
2) When i surf in my posts, the word "est" that is the italian for "east" is recursively "resolved", with the result you can see in the attached image files.

Is it possible to add an option to permanently avoid to apply glossary to the description of the glossary words itself?

I hope I've managed to explain myself, sorry for my bad english.

marcozambi

To be more precise, the strange behavior disappears if i turn on the "Enable BBCcode in tooltip" option, but the keywords present in other keyword's descriptions appear in capital letters.

slinouille

#212
@Kindred: it seems that some js files are not loaded on your page. Please check that files glossary.jquery.contextMenu.js and glossary.simplemodal.js are in your "default-dark/scripts/" directory
After that clear cache and reload page, and I think everything will working ;)

@marcozambi: Perhaps this case is not taken into account in my regexp definition. I'll check that for you ;) ... and thank you for your "thanks" :)

SliN
Visit VAG-Technique.fr
Take a look to my mods

Kindred

hmmm.... shouldn't the scripts default to the versions sitting in the default/scripts directory, like the rest of SMF's scripts do?


I don't even HAVE a scripts sub-directory in ANY of my alternate themes' directories.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

slinouille

#214
@Kindred: of course it should, but actually it doesn't ... I was just indicating you how to correct temporary ...
I'll do an update for correcting this bug.

By the way, some messages above you were writting that "Administration" menu in glossary was not visible (same problem as running with scissors). When connected to your forum, I've seen it ... did the solution I suggest you okay ???

SliN
Visit VAG-Technique.fr
Take a look to my mods

slinouille

@marcozambi: concerning the "bug" you've seen ... I've done some investigations.
On my forum I've add your keyword and description, and everything is okay. I've updated the database in utf-8, and it still okay.
In fact the strange code I see on the screen capture, is a specific tag I add to all keywords that are in description. Just in order to not show the description in a description (if you see what I mean) ...

The thing is that this code should be removed before the text being shown  :-\
As I'm not abble to reproduce it, I've done some minor changes in the code that could (perhaps) correct that.

I'll upload version 0.4 this morning  ;)

SliN
Visit VAG-Technique.fr
Take a look to my mods

marcozambi

Just a thing: it seems to me that this mod does not use any customized css created to adapt the tooltip's colors to themes... Am I wrong?

webline

i have the same error like "marcozambi"

slinouille

@webline: using new release ?

@marcozambi: modify file glossary.jquery.tooltip.css, but don't forget to clear cache after modification ;)
Visit VAG-Technique.fr
Take a look to my mods

Arveles

Please pretty urls support this mod. If use pretty urls js menu error. Thanks for your mod.
Elveda SMF...

Advertisement: