News:

Wondering if this will always be free?  See why free is better.

Main Menu

Glossary

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

Previous topic - Next topic

slinouille

Link to Mod


GLOSSARY v0.3.1
By Slinouille



Introduction
The mod adds a glossary to your forum. You can manage the words and associated definition and display a tooltip containing the definition in the messages.
Glossary mod uses:
- jQuery javascript library : http://jquery.com/
- jQuery Tooltip pluggin for tooltip activity from http://bassistance.de/jquery-plugins/jquery-plugin-tooltip.
- jQuery SimpleModal pluggin for modal forms from http://www.ericmmartin.com/projects/simplemodal/.
- famfam Silk icon set from http://www.famfamfam.com/

Features
o Display a full list with words in your glossary
o Classification and selection by alphabetic order
o Can define one level of groups for your words in Glossary
o Manage rights for seeing and administrating the glossary, and for authorizing suggestion by membergroup
o Display a bubble tooltip on all words in the forms messages
o Activation in Admin Panel
o Enable or not the member keywords suggestion functionnality
o Keywords administration possibility for adding, updating and deleting
o Keywords detection can be optionaly case insensitive in messages
o Display title and body in tooltips
o Can activate or not bbccode in tooltips
o Define for each word if shown or not in messages
o bbc code for glossary word (in order to force tooltip for "not shown" words)
o If wanted, only display each word once per message
o Specific glossary administrators menu
o Enable a "right-click" administration menu (usefull for big glossaries)
o Languages : French, English, German

Installation
Simply install the package to install this modification on the SMF Default Core theme.
Manual edits will be required for other themes.

Glossary mod is totaly compliant with any other javascript library.

If you have a previous install, after update don't forget to save the glossary settings in admin panel so that all variables are reinitialised

Customize the Tooltips
Please customize the file "jquery.tooltip.css" to fit Tootip Effect with your Forum template.

This mod is compatible with SMF 2.0 Beta 4 Public and above only.

Support
Please use the modification thread for support with this modification.

Changelog
0.3.1 - 25th April 2009
- bug correction: some .JS files and images were not associated to default theme directory (thanks to Kindred)
- bug correction: when keyword was ending a line, the tooltip description was badly interpreted (thanks to dekay)
- bug correction: url tag was visible in links when bbc was enabled in tooltips
- bug correction: in german language, a quote was missing (thanks to dekay)

0.3.0 - 04th April 2009
o New specific Glossary page in admin panel
o New drop menu for Glossary administrators
o Enable a "right-click" administration menu (usefull for big glossaries)
o Add words selection for specific activity
o New option "By default, show definition in post"
o Installation and upgrading database has been entierely recoded
o Nicer dialog boxes
o Correcting errors in log
o Correcting bug "if a glossary word is also in the definition of another one"

0.2.0 - 03th February 2009
o New admin actions directly in main page
o Categories management in one unique form

0.1.9 - 03th February 2009
o Added option "Show glossary words only once per message"
o Added value "Show in message" for each glossary word. This permits to authorize or not a word to be shown in messages
o Added BBC code glossary in order to force a glossary word to be shown in message
o Added one level of category
o Correction of bug in tooltip for special caracters

0.1.8 - 29th January 2009
o Correction of a (stupid) bug

0.1.7 - 26th January 2009
o Correction of a bug if database in UTF-8 (reported by PerryM)

0.1.6 - 24th January 2009
o Code rewritting for better management of non conflict mode.
  jQuery library is now loaded independently of other libraries.

0.1.5 - 17th January 2009
o Solved conflict mode with other than jQuery javascript librairies
o Added GERMAN translation (by CvH)

0.1.4 - 2d January 2009
o Add possibility to have title and body in keywords definition. Administrator can choose a special character to delimit title and body.
o Administrator can activate bbccode in tooltip.

0.1.3 - 1st December 2008
o Add members keywords suggestion functionnality

0.1.2 - 1st December 2008
o Add Thickobx pluggin for better management keywords administration

0.1.1 - 30th November 2008
o Glossary analyzer improvment
o Corrections after code review

0.1.0 - 21th November 2008
o Initial release
Visit VAG-Technique.fr
Take a look to my mods

kizer

Man too bad. I've been looking for something like this forever in 1.1.17
Own a Jeep? Links4Jeeps.com

arba

Quote from: kizer on December 25, 2008, 02:55:57 AM
Man too bad. I've been looking for something like this forever in 1.1.17

Indeed to bad, I need this mod too for 1.17 version.
Can that be done?

averyxie

Like the other two, If this can be done in 1.1.7 that be great!

slinouille

Hello!

Sorry guys, it will not be possible for me to rewrite it for SMF1.x due to the fact that I've not done any code adaptation for that version and that I've not enough time to learn how SMF1.x works.
Neverthless if someone can take some time to adapt it, he/she will be welcome  ;)

Thanks for your comprehension

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

Mick.

Ah,too bad.   It would be cool for 1.1.7

SillyCone

Hello,

Great idea !

Only problem : I can't add any keywords  >:(

The link doesn't respond at all... : http://www.mywebsite.org/forum/index.php?action=glossary#TB_inline?height=200&width=400&inlineId=div_new_word&modal=false [nofollow] this url doesn't work... Help !

I'm running 2.0 Beta4 of course, and untill now have a glossary as an article thanks to the Articles Mod, but yours is much much better... Looking forward to make it work !

slinouille

Hello SillyCone!
Strange behaviour  ::)
Can you give me the url of your website because http://www.mywebsite.org/forum/ doesn't seem to be a forum ?
Thanks
SliN
Visit VAG-Technique.fr
Take a look to my mods

SillyCone

#8
My forum is quite underground... I can't publish the url in a public forum like this one...  O:)

PS: I sent you the link by MP. Thanks for the support !

slinouille

Okay
Try to clear the cache of your browser then
I think that's all because this url is calling a javascript component.
Visit VAG-Technique.fr
Take a look to my mods

SillyCone

Hmm, that's not the problem, I cleared my cache and tried it with a new browser (Safari) to no avail, sorry  :(

Sentinel [AF]

I've got the same problem.

It worked fine when I installed it bar the fact that when I activated the mod for the forum itself it makes all my post data invisible but they come back when I turn the mod off.

After I clicked the activate button and it made the post data (text whatever) invisible it's not allowed us to post any new words at all into the glossary.

I was wondering if it's something against the WYSIWYG get mod as I'm also running smf 2.04beta and would quite like to use your glossary to define music production terms, techniques and genres etc.

My site is www.alternatingfrequencies.com
although saying that you won't be able to see much as a guest.

eZ.

Ken.

Nice Mod.  :)

Is there a way to add formating to the text of a tip? (like a line break)
I've tried using html and bbc but only get the code for the command displayed and not the desired formated result.

Thanks
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


slinouille

@TheSentinel : I'll do some checks on your forum this weekend ;-)

@Ken : Thank you  :) Yes I can do a little update to add this functionnality.
Visit VAG-Technique.fr
Take a look to my mods

Ken.

Quote from: slinouille on January 02, 2009, 05:37:25 AM
@TheSentinel : I'll do some checks on your forum this weekend ;-)

@Ken : Thank you  :) Yes I can do a little update to add this functionnality.

Thanks.  ;D
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Sentinel [AF]

Ummm  I've had to remove your mod for now.

But I think it probably has something to do with the WYSIWYG mod that prevents it from working correctly.

Maybe !? - that is ...

Garry1953

Works Fine for me.
Thanks.

[unplugged]

Quote from: SillyCone on December 28, 2008, 10:19:36 AM
Hello,

Great idea !

Only problem : I can't add any keywords  >:(

The link doesn't respond at all... : http://www.mywebsite.org/forum/index.php?action=glossary#TB_inline?height=200&width=400&inlineId=div_new_word&modal=false this url doesn't work... Help !

I'm running 2.0 Beta4 of course, and untill now have a glossary as an article thanks to the Articles Mod, but yours is much much better... Looking forward to make it work !

I am having the same issue. See here: http://www.empireofthesun.net

It works fine on my "clean install" test site, so it is more than likely conflicting with another mod (and I have plenty of those installed.  :P)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Sentinel [AF]

Uh huh me too.

I think it's the WYSIWYG mod.

[unplugged]

Out of the 3 and a half billion mods I have installed, WYSIWYG is not one of them. ;)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Advertisement: