Author |
Topic |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 18 May 2008 : 21:12:42
|
I found a neat little dictionary script that you can very easily add to your forum.
What it does is allow you to simply double click ANY word in your forum (except for links) and it will pop up a dictionary page (Merriam Webster) with the definition of the word complete with an audio pronunciation! The great thing is that you can also use it to double click in the post box where you enter your message to get the right spelling of a word if you need it. It is very simple to add to your forum.
You can test it out on my test forum. You can log in as demo/demo. Just double click on any non-linked word.
First download the dictionary.js file and upload it to your forum.
Then in inc_header.asp around line 231 look for:
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
After that add:
Response.Write "<script src=""dictionary.js""></script>"
That's it!
Let me know what you think. It may not be useful for a lot of forums but it could come in handy. < |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 18 May 2008 21:56:13 |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 18 May 2008 : 21:51:16
|
Playing around with this a little more, you could also instead make it open up Wikipedia.
To do that, download the wikipedia.js file and upload it to your forum.
Then in inc_header.asp around line 231 look for:
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
After that add:
Response.Write "<script src=""wikipedia.js""></script>"
The default language is set to english, but if you want a different language open up the wikipedia.js file and look for line 21. Look for the section that says:
http://en.wikipedia.org/wiki/Special:Search?search=
Change the part in red to the language you prefer. If you go to www.wikipedia.org you can hover over the different language links and notice the first two letters of the URL. Put those letters in place of the ones above in red.
For example, if you wanted French you would change it to:
http://fr.wikipedia.org/wiki/Special:Search?search=
That's it!< |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 18 May 2008 21:52:54 |
|
|
thelodger
Junior Member
United Kingdom
296 Posts |
Posted - 19 May 2008 : 15:00:28
|
What a great forum addition, nice one, my members will love it.< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 19 May 2008 : 16:22:28
|
This is so good thanks
edit: one little problem, if you make a neuw post and whant to select a word to make it bold ore so, it brings you to wiki to.
Moving the .js to forum.asp works great, still includes the quik response to move the user.< |
Edited by - Bassman on 19 May 2008 17:22:41 |
|
|
thelodger
Junior Member
United Kingdom
296 Posts |
Posted - 19 May 2008 : 17:53:05
|
I am told it doesnt work in the Browser "Safari" or Firefox but only in the post box mode(when your typing a new post or are replying to one.)< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
|
Topic |
|