TinyPortal

General => Chit chat => Topic started by: Freddy on July 17, 2011, 01:34:20 PM

Title: SMF Glossary Mod ?
Post by: Freddy on July 17, 2011, 01:34:20 PM
Just wondering if anyone knows of one.  Basically I should be able to add words to the glossary and when a page loads, those words will link in some way to a definition.  I think it would be helpful on my site for some of the more technical terms and things.

I found this one but it hasn't been updated lately, although it looks like it might work with some effort :

http://custom.simplemachines.org/mods/index.php?mod=1525

I tried searching over on SMF, but can't think of what else it would be called, so maybe there are some other options.

Anyone know of one ?
Title: Re: SMF Glossary Mod ?
Post by: WillyP on July 17, 2011, 02:10:56 PM
Depending on how big your glossary is and how long the definitions are, you could use a javascript accordian in an article. No need to send a user to another page just to read a paragraph or two of text.

Here is just one example: jQuery UI Accordion (http://jquery.bassistance.de/accordion/demo/)
Title: Re: SMF Glossary Mod ?
Post by: Freddy on July 17, 2011, 02:19:02 PM
That's nice, I will keep that for something :)

But I was thinking more along the lines of displaying the definitions on the actual forum pages. That mod I linked to turns any glossary words into a tool tip link.  So readers can see it in context and hover over it to get a definition.

I know how to use tooltips effects, maybe I will just write my own one.
Title: Re: SMF Glossary Mod ?
Post by: ZarPrime on July 17, 2011, 02:22:55 PM
Hey Freddy, it's kind of old and I never tried it but take a look at this topic --> http://www.tinyportal.net/index.php?topic=22873.0

ZP
Title: Re: SMF Glossary Mod ?
Post by: Freddy on July 17, 2011, 02:32:30 PM
Ah interesting, a module, what a rare thing.  Thanks, I will see if it gives me some ideas.  I think I will code my own now as I can totally customise it then.

Cheers :)
Title: Re: SMF Glossary Mod ?
Post by: ZarPrime on July 17, 2011, 02:38:06 PM
Yeah, it's one of the few TP modules that anybody actually did.  I don't know how broken Dragoon's code is but it was designed for TP 1.0.  I'm sure that it's broken at this point but it might be able to be resurrected if it isn't too badly broken. ;) Of course, I don't know if it did what you want either.

ZP
Title: Re: SMF Glossary Mod ?
Post by: WillyP on July 17, 2011, 03:16:47 PM
Quote from: Freddy on July 17, 2011, 02:19:02 PM
That's nice, I will keep that for something :)

But I was thinking more along the lines of displaying the definitions on the actual forum pages. That mod I linked to turns any glossary words into a tool tip link.  So readers can see it in context and hover over it to get a definition.

I know how to use tooltips effects, maybe I will just write my own one.

OIC, you are saying any word I type in a post, which was in the glossary would automatically have a tool-tip appended? That would be cool!
Title: Re: SMF Glossary Mod ?
Post by: Freddy on July 17, 2011, 03:21:32 PM
Correct  :)

I was thinking it could be permission based too - so that certain member groups can add things to the definitions. I think that way it would save the poor old admin from having to do everything.

And perhaps a special page that lists all the definitions currently on the forum with each of their definitions as a handy reference page.
Title: Re: SMF Glossary Mod ?
Post by: ZarPrime on July 17, 2011, 04:47:37 PM
Well, according to this post on SMF (http://www.simplemachines.org/community/index.php?topic=282158.msg3083201#msg3083201) that Mod you linked to earlier will install on SMF 2.0 Gold, so it might be worth a look.

Quote from: blue_shadow on June 21, 2011, 10:26:27 AM
I have confirmed that this will work in 2.0 Stable/gold. If you follow my steps in this post (http://www.simplemachines.org/community/index.php?topic=282158.msg2887955#msg2887955), you should have no problem installing it.

It also seems as if the error with the tables not being created is no longer a problem. At least, it wasn't for me.

Looking at the features of the Mod, I can think of some good uses for it myself ...

QuoteFeatures
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

ZP
Title: Re: SMF Glossary Mod ?
Post by: Dramber on July 18, 2011, 09:25:14 AM
Wow, what a neat little mod. I can think of a few uses for it myself. Thanks for sharing!