Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 A Neat Little Dictionary Script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 18 May 2008 :  21:12:42  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 19 May 2008 :  15:00:28  Show Profile  Reply with Quote
What a great forum addition, nice one, my members will love it.<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 19 May 2008 :  15:48:10  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I have another idea for this script that could be really useful in my forum but I am stuck.

If I were to type in the URL for a search term for my forum and have it show the results, how would I do that?

For example: Say I want to search for snitz. I would like to go something like this:

http://www.myforum.com/search.asp=snitz

However, it does not work. Can this be done? If it can, then my idea will be pretty cool. <

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
Go to Top of Page

Bassman
Junior Member

Netherlands
256 Posts

Posted - 19 May 2008 :  16:22:28  Show Profile  Visit Bassman's Homepage  Reply with Quote
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
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 19 May 2008 :  17:53:05  Show Profile  Reply with Quote
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.)<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 19 May 2008 :  21:08:47  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I have noticed that it does not work in Safari. But for me it works in both IE and FF. I'm still working with it. I have some other ideas that may help and be more useful for the forum. However, I need to know if it is possible to have a search work from the URL as in my question above.<

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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07