| Author |  Topic  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  14:38:05     
 |  
                      | Simple Slash Mod v.1.1 for Snitz vers 3.4.03 
 This mod allows you to display content from your forums on any page you choose.
 As in the last or most recent topics. I know this has been done to death in some
 aspects. But other news or recent posts mods are either for older versions of Snitz,
 part of another mod, do not display content from the body of a post or require
 database modification.
 
 This mod will allow you to display the author, date and time posted, subject title
 of the post, a link to the original post, the number of replies and a portion of
 text from the body of the post. The number of topics to be displayed, which forum(s)
 are displayed and how much content from the body of the topic is shown are all configurable.
 
 Ease of installation: 1  (1=easy 10=hard)
 
 To install decide if you want to use the mod as a simple, basic stand alone .asp page
 or as an include in another page.
 No matter which way you choose to use it all you have to do to configure it is edit the
 following lines:
 
 Const intTopicCount = 5
 This line decides how many topics to display
 
 
 Const ForumID = "ANY"
 This line decides which forum to get the topics         from. Either enter the number of a specific forum or "ANY" for all forums.
 
 
 Const CharsToDisplay = 2000
 This line decides how many characters from the topic body
 will be displayed.
 
 If you want to use this mod in another page simply place the include statement in the
 page in which you want to display the latest topics. Like this:
 
 
%>
<!--#include file="inc_simple_slash.asp"-->
<%
 
 A demo of this mod can be seen at www.spinbusters.com
 The zip file containing the readme, inc_simple_slash.asp, simple_slash.asp can be
 found at ftp://ftp.spinbusters.com/simpleslash.zip  -zip file updated 11/29/03
 or at www.snitzbitz.com
 
 Topics are now checked to see if the forum is private.
 Private forum topics are not displayed.
 
 ** This mod works with access and MySql
 |  
                      | Edited by - RebelTech on 11 December 2003  03:17:21
 |  | 
              
                | FaizanAverage Member
 
    
 
                United Kingdom592 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  14:40:23     
 |  
                      | Very nice Rebel, I like it..  
 Does it also display the username of the last person who replied, and an arrow to jump to it?
 
 
 |  
                      | 
  »Snitz Graphics
 
 |  
                      |  |  | 
              
                | weeweeslapSenior Member
 
     
 
                USA1077 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  15:39:28     
 |  
                      | I'm just wondering but will this mod NOT display info from hidden forums? Cuz I have some hidden forums that I would not like info being displayed. Thanks
 |  
                      | coaster crazy
 |  
                      |  |  | 
              
                | weeweeslapSenior Member
 
     
 
                USA1077 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  20:12:25     
 |  
                      | in your zip file you have two files Simple Slash Mod ReadMe
 .DS_Store
 
 first one there I know what it is but it is missing the extension. I opened it in notepad and I can read bits, most is tiny boxes, what type of file is it?
 second file? What is that for??? I did not even try opening it. Virus scan came up clean soooooooOOOoOOOooo what is that file for?
 |  
                      | coaster crazy
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  21:48:58     
 |  
                      | quote:Originally posted by Faizan
 
 Very nice Rebel, I like it..
  
 Does it also display the username of the last person who replied, and an arrow to jump to it?
 
 
 
 
 
 No, but that sounds like a good idea.
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  21:50:13     
 |  
                      | quote:Originally posted by weeweeslap
 
 I'm just wondering but will this mod NOT display info from hidden forums? Cuz I have some hidden forums that I would not like info being displayed.
 Thanks
 
 
 
 Right now it will show hidden forums. This is something that needs fixin.
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  21:52:00     
 |  
                      | quote:Originally posted by weeweeslap
 
 in your zip file you have two files
 Simple Slash Mod ReadMe
 .DS_Store
 
 first one there I know what it is but it is missing the extension. I opened it in notepad and I can read bits, most is tiny boxes, what type of file is it?
 second file? What is that for??? I did not even try opening it. Virus scan came up clean soooooooOOOoOOOooo what is that file for?
 
 
 
 I will go in and resave the text file. the .ds_store is part of the Mac desktop I will dump that also.
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  22:16:12     
 |  
                      | quote:Originally posted by weeweeslap
 
 in your zip file you have two files
 Simple Slash Mod ReadMe
 .DS_Store
 
 first one there I know what it is but it is missing the extension. I opened it in notepad and I can read bits, most is tiny boxes, what type of file is it?
 second file? What is that for??? I did not even try opening it. Virus scan came up clean soooooooOOOoOOOooo what is that file for?
 
 
 
 WWS
 
 Would you download it again and tell me how it looks? I updated the readme with acoustika's fix for mysql and this time I tried to save it with dos
 cr and lf rather than mac. I also added the .txt for you pc folks. As for the ds_store, of course I could not see it....
 |  
                      |  |  | 
              
                | weeweeslapSenior Member
 
     
 
                USA1077 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  23:01:17     
 |  
                      | ok read me file is allright, that .DS_STORE file is still in the zip for some reason  |  
                      | coaster crazy
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  23:10:42     
 |  
                      | quote:Originally posted by weeweeslap
 
 ok read me file is allright, that .DS_STORE file is still in the zip for some reason
  
 
 
 I read several articles awhile ago about the .ds_store showing up when you burned a cd with the Mac OS but I had not heard of it showing up with an archive. I will start reading around and see what I can do fix it. I guess for a quick fix I could zip the file while running Virtual PC...
 
 Thanks WWs for checking it out.
 |  
                      |  |  | 
              
                | weeweeslapSenior Member
 
     
 
                USA1077 Posts
 |  | 
              
                | OneWayMuleDev. Team Member & Support Moderator
 
      
 
                Austria4969 Posts
 |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 01 December 2003 :  23:58:43     
 |  
                      | Would this be correct for the sql? 
 strSql = strSql & " WHERE mo.FORUM_ID = " & fForum_ID & " "
 |  
                      |  |  | 
              
                | golfmannJunior Member
 
   
 
                United States450 Posts
 | 
                    
                      |  Posted - 06 December 2003 :  19:53:37     
 |  
                      | I get this, using the inc_simple_slash.asp: Microsoft VBScript runtime error '800a01a8'
 
 Object required: ''
 
 /forum/inc_simple_slash.asp, line 64
 
 |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 06 December 2003 :  20:48:32     
 |  
                      | Most likely becuase you haven't set the FORUM_ID Correctly it's not pulling any topics out so that close fails becuase the second RS was never opened, could be called a bug I suppose too, but make sure you are actually telling it to pull items from a valid forum_id first and see if that doesn't get rid of the error. |  
                      | Kiwihosting.Net - The Forum Hosting Specialists
 
 |  
                      |  |  | 
              
                | RebelTechAverage Member
 
    
 
                USA613 Posts
 | 
                    
                      |  Posted - 06 December 2003 :  20:48:56     
 |  
                      | golfman, 
 Sorry you ran into trouble. Most likely the forum that you have selected does not exist.
 Find this line and edit the number to reflect the forum you want to display or replace the number with "ANY" to pull from all the forums.
 Const ForumID = 5
 
 That should fix it!
 |  
                      |  |  | 
              
                
                |  Topic  |  |