Author |
Topic |
Aaron S.
Average Member
USA
985 Posts |
Posted - 03 April 2002 : 21:59:39
|
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
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 |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 03 April 2002 : 22:54:42
|
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 ! |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 03 April 2002 : 23:39:45
|
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 ! |
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 03 April 2002 : 23:57:04
|
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
|
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 04 April 2002 : 00:05:40
|
sound like a great mod tanx man !
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 04 April 2002 : 00:18:41
|
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 ! |
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 04 April 2002 : 00:58:24
|
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
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 04 April 2002 : 10:56:39
|
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 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 04 April 2002 : 21:16:37
|
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 ! |
|
|
Aaron S.
Average Member
USA
985 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 04 April 2002 : 22:55:04
|
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 ! |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
|
wagnersean
New Member
USA
74 Posts |
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 07 April 2002 : 12:56:10
|
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 |
|
|
Topic |
|