| Author |  Topic  | 
              
                | RichardKinserSnitz Forums Admin
 
      
 
                USA16655 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  00:16:32   
 |  
                      | OK, all three sites above have the updated .zip file. 
 The default OUTBOX preference is set to "double" if the user doesn't already have the preference in their cookie.
 
 I added some instructions around line #51 of pm_view.asp that shows how to change it to either "single" or "none" if you want to.
 
 Edited by - Richard Kinser on 23 January 2001  00:17:03
 |  
                      |  |  | 
              
                | TillStarting Member
 
 
 
                Australia31 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  00:27:16   
 |  
                      | Thanks Richard you're a legend  
 I use Internet Explorer
 5.0 because the other one
 Your Comment_____________
 |  
                      |  |  | 
              
                | nwdufferStarting Member
 
 
 
                45 Posts | 
                    
                      |  Posted - 23 January 2001 :  04:17:46   
 |  
                      | OK, set this up, made the changes to the pages listed in the pm_readme.txt file, everything looks good, shows up on the main page when a message comes in, but when I click to read, I get this error: 
 Microsoft VBScript compilation error '800a0400'
 
 Expected statement
 
 /forum/privateread.asp, line 44
 
 <% if strDBNTUserName = "" Then
 
 
 Any ideas?
 
 Thanks,
 Paul
 
 
 
 |  
                      |  |  | 
              
                | anotherwin95Junior Member
 
   
 
                USA140 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  07:34:53     
 |  
                      | OK got the mod installed and all works - I can send and receive PM - however when I try to read them or even call up the options (Preferences) i get a 500 error.  I can not view the sent messages in my outbox either. 
 Can someone point me in the direction of a fix???
 
 Thanks!
 
 
 Richard Hay
 Webmaster/Forum Admin
 http://AnotherWin95.com
 http://AnotherWin95.com/forum
 http://AnotherWin95.com/cowboys/
 
 Edited by - anotherwin95 on 23 January 2001  07:37:31
 
 Edited by - anotherwin95 on 23 January 2001  07:39:34
 |  
                      |  |  | 
              
                | RichardKinserSnitz Forums Admin
 
      
 
                USA16655 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  08:09:13   
 |  
                      | Problem has been fixed.  Just redownload the .zip file and extract the files again. 
 Sorry about that...
 |  
                      |  |  | 
              
                | anotherwin95Junior Member
 
   
 
                USA140 Posts
 |  | 
              
                | RichardKinserSnitz Forums Admin
 
      
 
                USA16655 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  08:27:00   
 |  
                      | When I added the default OUTBOX change this morning, I decided to replace the code that said "You must be logged in to view Private messages" with code to just redirect the user back to default.asp.  I just copied and pasted the code to each file but 3 of them had an open <% above where I inserted the code so there was an open <% without a closing %>  and that was causing the error you and nwduffer were getting.  That's what I get for being in a hurry.  |  
                      |  |  | 
              
                | anotherwin95Junior Member
 
   
 
                USA140 Posts
 |  | 
              
                | AnotherHellStarting Member
 
 
 
                1 Posts | 
                    
                      |  Posted - 23 January 2001 :  09:59:53   
 |  
                      | Can't get the private mod to work, when I install it I get this msg: 
 Microsoft JET Database Engine error '80040e37'
 
 The Microsoft Jet database engine cannot find the input table or query 'FORUM_PMCATEGORY'. Make sure it exists and that its name is spelled correctly.
 
 /bangthat/forum/default.asp, line 83
 
 
 What am I (or whatever else) doing wrong?
 
 
 |  
                      |  |  | 
              
                | RichardKinserSnitz Forums Admin
 
      
 
                USA16655 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  10:30:48   
 |  
                      | The only thing I can think of is maybe you forgot to insert the include file correctly. 
 It should look like this:
 
 
 end if
 rs.MoveNext
 loop
 end if
 %>
 <!--#include file="privatemess.asp"-->
 <%
 if strShowStatistics = "1" then
 WriteStatistics
 end if %>
 </table>
 </td>
 </tr>
 <tr>
 
 
 note the red highlighted tags.  Is this how yours looks?
 
 The only other thing is maybe your default.asp file got corrupted somehow.
 
 Edited by - Richard Kinser on 23 January 2001  19:20:14
 |  
                      |  |  | 
              
                | nwdufferStarting Member
 
 
 
                45 Posts | 
                    
                      |  Posted - 23 January 2001 :  11:19:53   
 |  
                      | quote:
 When I added the default OUTBOX change this morning, I decided to replace the code that said "You must be logged in to view Private messages" with code to just redirect the user back to default.asp.  I just copied and pasted the code to each file but 3 of them had an open <% above where I inserted the code so there was an open <% without a closing %>  and that was causing the error you and nwduffer were getting.  That's what I get for being in a hurry.
  
 
 
 Hey, I know how you feel...I ran out the door with a button on my shirt (gut-level) undone, and my business partner had to point it out to me at a lunch meeting. Thank goodness for t-shirts!
 
 Thanks for the info, and your contributions.
 
 Paul
 
 
 |  
                      |  |  | 
              
                | jlawJunior Member
 
   
 
                USA120 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  14:46:45   
 |  
                      | Everything works fine for me now  |  
                      |  |  | 
              
                | MatthewNew Member
 
  
 
                USA91 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  15:43:45     
 |  
                      | If I wanted this to apper just right above my first forum where in default.asp would I put the include line? I tried a bit but keep messing it up somehow. 
 Matt
 If everything seems to be going your way, you have obviously overlooked something.
 |  
                      |  |  | 
              
                | RichardKinserSnitz Forums Admin
 
      
 
                USA16655 Posts
 | 
                    
                      |  Posted - 23 January 2001 :  19:36:08   
 |  
                      | Matthew, 
 the privatemess.asp file starts with a starting <tr> and ends with a closing </tr> so you will need to insert it right after a closing </tr> in default.asp.  You didn't mention whether you wanted it above or below the table header on default.asp where it says Forum, Topics, Post, etc...
 
 Try inserting it on line #139 of default.asp
 
 
 133:  if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then %>
 134:          <td align=center bgcolor="<% =strHeadCellColor %>"><% PostingOptions() %></td>
 135:  <%
 136:  end if
 137:  %>
 138:        </tr>
 139:  <!--#include file="privatemess.asp"-->
 140:  <%
 141:  if rs.EOF or rs.BOF then
 
 |  
                      |  |  | 
              
                | MatthewNew Member
 
  
 
                USA91 Posts
 | 
                    
                      |  Posted - 24 January 2001 :  01:23:00     
 |  
                      | Thanks Richard that worked. It made the announcement mod go away but thats ok I don't really use it. 
 I do have one more question. I'm trying to get my events calender to show up right below it. Is that possible? Seems like I would have to edit a private message asp file but not sure.
 
 Matt
 If everything seems to be going your way, you have obviously overlooked something.
 |  
                      |  |  | 
              
                
                |  Topic  |  |