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)
 HotKeys PLUS MOD for Snitz 3.3.xx
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Aaron S.
Average Member

USA
985 Posts

Posted - 03 April 2002 :  21:59:39  Show Profile  Visit Aaron S.'s Homepage
Title: HotKeys PLUS MOD for Snitz 3.3.xx
Author: Aaron Shagrin
Difficutly: 1(hard) - 10(easy) = 9

HotKeys PLUS MOD allows members to add up to 3 customizable buttons for use when posting.

It adds a HotKey button to the formatting bar:





You can then create up to three customizable buttons:





When done, the buttons appear on your formatting bar:





Download: HotKeys PLUS MOD for Snitz 3.3.xx

EDIT (4/3/02): Added the ability to give each HotKey a nickname which is viewable when you hover over the HotKey. See post below for a screenshot.

EDIT (4/4/02): Fixed a bug in inc_post_buttons.asp... ALL button widths should be 23 NOT 22. This is true for the HotKey buttons and some of the other Snitz buttons like bold and code.

EDIT (4/6/02): Fixed a bug in pop_hotkey_edit.asp and inc_post_buttons.asp... see post below for more detail.

EDIT (8/20/02): This is a brand new release. It includes support for single and double quotes in your HotKeys.

EDIT (8/21/02): A new ZIP has been created. This fixes some minor bugs. The code is marked version 3.3.01.

Please feel free to give me comments, questions or suggestions.

NOTE: The table it creates actually could support any number of hotkeys, but I choose three to start with.

--Aaron



-----------------------------
Download These Cool MODs


MySubs Email MOD | MOD to Smile Manager








Edited by - Aaron S. on 07 April 2002 17:02:27

Edited by - Aaron S. on 28 August 2002 18:28:07

dayve
Forum Moderator

USA
5820 Posts

Posted - 03 April 2002 :  22:37:48  Show Profile  Visit dayve's Homepage
well, there is a great idea.... just like macros... I will check this one out for sure... thanks.

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 03 April 2002 :  22:54:42  Show Profile  Visit dayve's Homepage
you should really change the difficult level to 10... this was the EASIEST mod to add that I have ever seen. great job..

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 03 April 2002 :  23:39:45  Show Profile  Visit dayve's Homepage
I am going to add one little feature to this. another field to brief name the hotkey which can then be used for figuring out what the button does when you hover over it. I finally have my SPAM hot button for people that spam on my forum

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 03 April 2002 :  23:57:04  Show Profile  Visit Aaron S.'s Homepage
Thanks for the feedback!

The only reason I didn't make it a 10 was because there is some minor editing (not just adding new docs) and a DBS file.

When you hover over the button it should show you what the hotkey is going to insert.


--Aaron

-----------------------------
Download These Cool MODs


MySubs Email MOD | MOD to Smile Manager
Go to Top of Page

milki
Junior Member

Israel
320 Posts

Posted - 04 April 2002 :  00:05:40  Show Profile  Visit milki's Homepage  Send milki an ICQ Message
sound like a great mod tanx man !

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 April 2002 :  00:18:41  Show Profile  Visit dayve's Homepage
quote:


When you hover over the button it should show you what the hotkey is going to insert.




yeah, but if you have a long url or something its difficult... I just finished add the minor tweak and now it shows a brief name that a member enters in for the url. if the name is NULL then it will show the hotkey line instead.

anyway, thanks again... works really good. one of my forum members has been wanting a font formatting button that he can use before he starts typing so this was nice...

like I said, works just like Macros... :)

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 04 April 2002 :  00:58:24  Show Profile  Visit Aaron S.'s Homepage
Your right Dayve... sometimes the hotkey value can be quite long.

I have updated the MOD to include a nickname for each HotKey. The value will show up when you hover over the hotkey.

The ZIP file above has been updated. You do NOT need to uninstall anything. Just follow the readme.txt again.

Here is a screenshot of the popup:





--Aaron

-----------------------------
Download These Cool MODs


MySubs Email MOD | MOD to Smile Manager
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 April 2002 :  03:00:32  Show Profile  Visit dayve's Homepage
nicely done.. :) that's basically what I did :)

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 04 April 2002 :  10:56:39  Show Profile  Visit Aaron S.'s Homepage
The ZIP file has been updated to fix a bug in:

inc_post_buttons.asp

This is a MOD bug AND a Snitz bug.

Basically all places where you see:

width=22

... should be changed to:

width=23

It should be around 7 changes.

--Aaron



MySubs Email MOD
MOD to Smile Mgr
HotKeys MOD
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 April 2002 :  21:16:37  Show Profile  Visit dayve's Homepage
for some strange reason I have members reporting this..

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'rsHK'
/forum/pop_hotkey_edit.asp, line 113


Browser Type:
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

Page:
GET /forum/pop_hotkey_edit.asp

Time:
Thursday, April 04, 2002, 2:55:26 PM




____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 04 April 2002 :  22:26:15  Show Profile  Visit Aaron S.'s Homepage
Can you post a .txt version of that file.

You are using a different page than I am (mine now has the Nickname code in it).

Thanks,

--Aaron



MySubs Email MOD
MOD to Smile Mgr
HotKeys MOD
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 April 2002 :  22:55:04  Show Profile  Visit dayve's Homepage
mine was identical to yours but I went ahead and downloaded your latest version and now the members that said they had problems now state it works fine.. go figure... :)

____________
dayve@burningsouls.com


http://www.nineinchnailz.com - your source for everything nine inch nails !
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 05 April 2002 :  00:28:44  Show Profile
Aaron,

This was an easy mod to install and a great idea.. Great work...

Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia
Go to Top of Page

wagnersean
New Member

USA
74 Posts

Posted - 06 April 2002 :  18:19:06  Show Profile  Visit wagnersean's Homepage  Send wagnersean an AOL message
Yes, I would agree with the above ^. Very unique and great idea!

---
Free computer help - http://compsandmore.com


Glossary - http://compsandmore.com/glossary.asp
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 07 April 2002 :  12:56:10  Show Profile  Visit Aaron S.'s Homepage
Thanks everyone for the kind words...

There is a small bug fix that I thought I would post. The ZIP has been updated.

1. You can download the ZIP and switch out pop_hotkey_edit.asp.

OR, you can just edit yours with these changes:


a. Delete line 78:


"</td>" & vbnewline &_


This is an extra </td> tag.


b. Change line 80 from:


strHK = "SELECT HOTKEY, HOTKEY_NICK FROM " & strMemberTablePrefix & "HOTKEYS WHERE Member_ID = " & HKMember_ID


To this line:


strHK = "SELECT HOTKEY, HOTKEY_NICK FROM " & strMemberTablePrefix & "HOTKEYS WHERE Member_ID = " & HKMember_ID & " ORDER BY HK_ID"


2. In inc_post_buttons.asp (around line 65):


Change this line:


strHK = "SELECT HOTKEY, HOTKEY_NICK FROM " & strMemberTablePrefix & "HOTKEYS WHERE Member_ID = " & HKMember_ID


To this line:


strHK = "SELECT HOTKEY, HOTKEY_NICK FROM " & strMemberTablePrefix & "HOTKEYS WHERE Member_ID = " & HKMember_ID & " ORDER BY HK_ID"



That's it... please let me know if you have any questions/problems.

--Aaron




MySubs Email MOD
MOD to Smile Mgr
HotKeys MOD

Edited by - Aaron S. on 07 April 2002 17:05:42
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07