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 for Snitz for 3.4.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 - 20 August 2002 :  10:29:27  Show Profile  Visit Aaron S.'s Homepage
Title: HotKeys PLUS MOD for SNitz 3.4.xx
Author: Aaron Shagrin
Difficutly: 1(hard) - 10(easy) = 9.5

This is an update to the HotKeys MOD for version 3.3.xx.

Original Topic:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=25577

HotKeys 3.4 MOD allows your members to add 3 customizable buttons to the formatting bar.

New for 3.4:

HotKeys now supports single quotes and double quotes as values in the HotKeys or Nickname.

Additionally, installation is even easier - if that is even possible!


Here are some screenshots:


Toolbar with HotKeys Added


Edit HotKeys Screen


Download HOTKEYS 3.4 MOD Here!

EDIT: 08/21/02 - a new ZIP has been posted. It fixes some minor bugs. The code will read version 3.4.01.

Please post your comments, questions and suggestions.

--Aaron










DOWNLOAD GREAT NEW MODS HERE

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

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 20 August 2002 :  11:03:35  Show Profile  Visit Azaniah's Homepage
Aaron, Couple of points.

In inc_hotkey_buttons.asp you should add the following to icons links.
img src=""" & strImageUrl & "

Also in pop_hotkey_edit.asp

remove inc_functions.asp and inc_top_short.asp,

add inc_func_secure.asp and inc_header_short.asp

Change getMemberNumber to getMemberID

Then it works lovely



Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  11:27:13  Show Profile  Visit Aaron S.'s Homepage
quote:
Originally posted by Azaniah


In inc_hotkey_buttons.asp you should add the following to icons links.
img src=""" & strImageUrl & "



Thanks, updated.

quote:

Also in pop_hotkey_edit.asp

remove inc_functions.asp and inc_top_short.asp,

add inc_func_secure.asp and inc_header_short.asp

Change getMemberNumber to getMemberID



I forgot to replace the old pop_hotkey_edit.asp with the new one.

The new one does not use the getMemberID function at all, since the variable MemberID already has the correct value.

The ZIP has been updated to reflect those changes.

Thanks,

--Aaron

DOWNLOAD GREAT NEW MODS HERE

Edited by - Aaron S. on 20 August 2002 11:37:15
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 20 August 2002 :  11:32:59  Show Profile  Visit Azaniah's Homepage
Great

Eagles fly!, but weasels don't get sucked into jet engines.
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  11:49:07  Show Profile
quote:
Originally posted by Azaniah

In inc_hotkey_buttons.asp you should add the following to icons links.
img src=""" & strImageUrl & "



Even better if you use the getCurrentIcon function.

e.g.
getCurrentIcon("button_hotkey_edit.gif|23|22","Edit Hot Keys","align=""top""")
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  12:10:33  Show Profile  Visit Aaron S.'s Homepage
quote:
Originally posted by pweighill
Even better if you use the getCurrentIcon function.



ZIP has been updated.

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  12:32:47  Show Profile  Visit Aaron S.'s Homepage
Made a few more changes including:

* changing <BR> to <BR />
* everything is response.write now

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 20 August 2002 :  14:06:55  Show Profile
Nice mod Aaron, should be made 9.9 only one file to edit
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  16:17:05  Show Profile
Your mod uss both strMemberTablePrefix and strTablePrefix before the HOTKEYS table name.

I think it should only be using strTablePrefix.
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  16:23:48  Show Profile  Visit Aaron S.'s Homepage
strMemberTablePrefix was changed to strTablePrefix in two places.

The ZIP has been updated.

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  16:27:35  Show Profile
A few very small points: (not really bugs)

You have <script language='javascript'>
Should really be <script language="javascript">

The <BR /> should be lowercase (XHTML is defined as lowercase)

You could use the ado constants instead of the numbers in your code in v3.4 mods
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  16:28:46  Show Profile
Also, thanks to your mod, I've found a bug in admin_mod_dbsetup.asp
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  16:38:39  Show Profile  Visit Aaron S.'s Homepage
I fixed those minor points (except the ado constants... I'll look them up later).

Thanks for the help... and great job finding all those Snitz bugs.

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 20 August 2002 :  18:02:32  Show Profile  Visit Etymon's Homepage
quote:
Originally posted by pweighill

Also, thanks to your mod, I've found a bug in admin_mod_dbsetup.asp



When you get a chance, could you please post the bug and provide a link to that location for us.

I did read your question about the admin_mod_dbsetup.asp in the DEV Discussions (General) forum ... http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33177. Is this the same bug you found?

-------------------------------------------

Thanks for the MOD Aaron, I am looking forward to exploring it. If it is anything like your earlier release, it will be a slick asset!

Question: Is this MOD backwards compatible with 3.3.05 and before?

Thanks again,

Etymon

Edited by - Etymon on 20 August 2002 18:06:25
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  18:05:13  Show Profile  Visit Aaron S.'s Homepage
It is not backwards compatible.

There is a version already out that works on 3.3X, but does not support single and double quotes in the HotKeys.

Tonight sometime, I'll covert this one back to 3.3.X.

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 20 August 2002 :  18:08:59  Show Profile  Visit Etymon's Homepage

Thanks, Aaron for the hard work!

I'm just beginning to break the tip of the iceberg in my learning of ASP and VBscript. I'd like to do some comparisons between your two versions in hopes that I might get a better grasp of what's going on. Making it backwards compatible would really help me out a lot.

Thanks!
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