| Author | 
                
                  Topic   | 
                
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  10:29:27
                        
                        
                      
  | 
                     
                    
                       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
                        
                        
                      
  | 
                     
                    
                       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. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  11:27:13
                        
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Azaniah 
                Senior Member 
                     
                 
                
                United Kingdom 
                1004 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  11:32:59
                        
                        
                      
  | 
                     
                    
                       Great   | 
                     
                    
                        Eagles fly!, but weasels don't get sucked into jet engines. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 pweighill 
                Junior Member 
                   
                 
                
                United Kingdom 
                453 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  11:49:07
                        
                      
  | 
                     
                    
                       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""") | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  12:10:33
                        
                        
                      
  | 
                     
                    
                       quote: Originally posted by pweighill Even better if you use the getCurrentIcon function.
 
  
  ZIP has been updated.
  --Aaron
 
  | 
                     
                    
                        DOWNLOAD GREAT NEW MODS HERE | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  12:32:47
                        
                        
                      
  | 
                     
                    
                       Made a few more changes including:
  * changing <BR> to <BR /> * everything is response.write now
  --Aaron
 
  | 
                     
                    
                        DOWNLOAD GREAT NEW MODS HERE | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Hamlin 
                Advanced Member 
                      
                 
                
                United Kingdom 
                2386 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  14:06:55
                        
                      
  | 
                     
                    
                       Nice mod Aaron, should be made 9.9 only one file to edit   | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 pweighill 
                Junior Member 
                   
                 
                
                United Kingdom 
                453 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  16:17:05
                        
                      
  | 
                     
                    
                       Your mod uss both strMemberTablePrefix and strTablePrefix before the HOTKEYS table name.
  I think it should only be using strTablePrefix. | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  16:23:48
                        
                        
                      
  | 
                     
                    
                       strMemberTablePrefix was changed to strTablePrefix in two places.
  The ZIP has been updated.
  --Aaron
  | 
                     
                    
                        DOWNLOAD GREAT NEW MODS HERE | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 pweighill 
                Junior Member 
                   
                 
                
                United Kingdom 
                453 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  16:27:35
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 pweighill 
                Junior Member 
                   
                 
                
                United Kingdom 
                453 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  16:28:46
                        
                      
  | 
                     
                    
                       Also, thanks to your mod, I've found a bug in admin_mod_dbsetup.asp   | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  16:38:39
                        
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Etymon 
                Advanced Member 
                      
                 
                
                United States 
                2396 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  18:02:32
                        
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Aaron S. 
                Average Member 
                    
                 
                
                USA 
                985 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  18:05:13
                        
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Etymon 
                Advanced Member 
                      
                 
                
                United States 
                2396 Posts  | 
                
                  
                    
                      
                       Posted - 20 August 2002 :  18:08:59
                        
                        
                      
  | 
                     
                    
                        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!
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                
                
                  Topic   | 
                  |