| Author |  Topic  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 08 December 2003 :  19:53:56   
 |  
                      | Not sure if this is the correct forum? 
 Can anyone help me accomplish the changes as noted below
 in the image file? I have seen this layout on vbulletin
 and I'm sure it's possible within Snitz, just dont know
 how complicated it will be?
 
 Would actually love to reformat the entire post window to
 be just like this with images moved from current location
 in snitz to where displayed in image below, but I'll let the pro's
 here tell if and how all this could be done.
 
 
  
 thanks again....
 
 
 |  
                      | 
 my little forum playground
 
 |  
                      | Edited by - xx ENIGMA xx on 08 December 2003  19:55:50
 |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 08 December 2003 :  21:56:12   
 |  
                      | Post number is the trickiest, but it could be possible.  The rest is just formatting - simply move the code from where it is to where you want it to be.  Remember in topic.asp there is always 2 places to change : 
 1. The place where the "topic creation" post is displayed
 2. The place where all the replies are displayed.
 |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 08 December 2003 :  22:40:44   
 |  
                      | I got the tables done ok now, anyone care to make a mod for post # count in a thread?
 
 Not sure how difficult it would be but I bet a few people
 would like to use a mod like that if someone made one. I
 guess for high traffic forums it become useful so you could
 say at the beginning of your post: in reply to post # 7 etc.
 
 thanks for the reply though laser, I just needed to get brave
 and dive into adding tables on a "live" forum
  |  
                      | 
 my little forum playground
 
 |  
                      | Edited by - xx ENIGMA xx on 08 December 2003  22:42:06
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  00:14:47   
 |  
                      | quote:Originally posted by xx ENIGMA xx
 
 
 thanks for the reply though laser, I just needed to get brave
 and dive into adding tables on a "live" forum
  
 
 no probs ... with changes like this, a good tip is to create a topic1.asp  you can then test out all the changes before committing them to topic.asp  this does NOT work in all cases, but is a neat trick when you can use it.
 |  
                      |  |  | 
              
                | snaaykSenior Member
 
     
 
                USA1061 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  09:52:21     
 |  
                      | I think there was a MOD that tracked which post it was in the thread. Check at SnitzBitz and see if there's one there. 
 Shouldn't be any harder than displaying the count as it loops through the array.
 |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 09 December 2003 :  12:23:33   
 |  
                      | thanks for the replies, I did try a test of a different topic.asp and it didnt seem to work for me
  
 And I will take a look at snitzbitz but I think I have combed
 that site for mods and dont remember seeing this one. And as
 far as displaying a loop etc., thats way over my head
  
 Anyone possibly know where I could find this mod other than
 snitzbitz if it does exist?
 |  
                      | 
 my little forum playground
 
 |  
                      | Edited by - xx ENIGMA xx on 09 December 2003  12:24:43
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  15:22:54   
 |  
                      | What about using the iForum variable and adding 2 to it (for display purposes only), so try this : 
 
 
Response.Write "Post #" & iForum + 2
 
 Do NOT do this code
 
 
 
iForum = iForum + 2
Response.Write "Post #" & iForum
 
 or you will stuff it up completely.
 
 
 For the first post, I'd probably just hard-code the 1 :
 
 
 
Response.Write "Post #1"
 
 |  
                      |  |  | 
              
                | snaaykSenior Member
 
     
 
                USA1061 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  15:50:36     
 |  
                      | quote:Originally posted by laser
 
 What about using the iForum variable and adding 2 to it (for display purposes only), so try this :
 
 
 
Response.Write "Post #" & iForum + 2
 
 Do NOT do this code
 
 
 
iForum = iForum + 2
Response.Write "Post #" & iForum
 
 or you will stuff it up completely.
 
 
 For the first post, I'd probably just hard-code the 1 :
 
 
 
Response.Write "Post #1"
 
 
 
 
 That should be it. hmm... now one it pages over I am not sure if the loop start up at 0 again... anyone?
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  16:02:53   
 |  
                      | quote:hmm... now one it pages over I am not sure if the loop start up at 0 again... anyone?
 
 ARGH!!! .. sorry, I meant to do the paging, but I forgot
  , a bit trickier but try this .... 
 Response.Write "Post #" & (iForum + 2) + mypage-1 * strPageSize
 
 CHECK THIS !!! ... the maths might be slightly out on Page numbers greater than 1
 
 |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 09 December 2003 :  17:16:25   
 |  
                      | thanks laser, I would surely try this out if I knew where to stick that in post.asp or any other file?
 
 can you elaborate a bit for this n00b!
  |  
                      | 
 my little forum playground
 
 |  
                      | Edited by - xx ENIGMA xx on 09 December 2003  17:17:16
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  17:28:18   
 |  
                      | Not in post.asp, you need to add this in topic.asp - weren't you changing topic.asp layout before ? 
 Anyway, search for this line in topic.asp :
 
 Response.Write	formatStr(Reply_Content)
 
 that will give you the approximate area for replies, and
 
 Response.Write	formatStr(Topic_Message)
 
 for the initial post.
 
 In the 5-10 line above that you will have to do some editting of the formatting code and including my code (above).
 |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 09 December 2003 :  17:58:08   
 |  
                      | yes, my bad.... post.asp was a typo... I meant topic.asp 
 I will try this out,  thanks
 |  
                      | 
 my little forum playground
 
 |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 09 December 2003 :  18:41:15   
 |  
                      | I have the layout done ok and the Post #1 done ok, but I cannot for the life of me get this reply part to work
 although I also have the correct location for it done as well.
 
 I have trouble with this Response.Write "Post #" & (iForum + 2) + mypage-1 * strPageSize
 
 it posts exactly that above instead of Post #xxxx
 
 any ideas?
 |  
                      | 
 my little forum playground
 
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  19:03:54   
 |  
                      | You are writing ASP code out of ASP tags.  Please post the 5-10 lines either side of the code you're adding, and indicate what changes you have made to it. ... just a formatting error I guess. |  
                      |  |  | 
              
                | xx ENIGMA xxJunior Member
 
   
 
                166 Posts | 
                    
                      |  Posted - 09 December 2003 :  19:06:58   
 |  
                      | I tried to add you to ICQ but I got an error on that too (just not my day)  LOL
 
 here's how mine looks:
 
			if Request.QueryString("SearchTerms") <> "" then
				Response.Write	SearchHiLite(formatStr(Reply_Content))
			else
Response.Write  " <div align=""right""><table cellspacing=""0"" cellpadding=""3"" border=""0""><tr><td align=""center""><font face=""Verdana, Tahoma, Arial"" size=""1"">Post # & (iForum + 2) + mypage-1 * strPageSize</font><br /><br /></td></tr></table></div>"
				Response.Write	formatStr(Reply_Content)
			end if
			Response.Write	"</span id=""msg""></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
			if CanShowSignature = 1 and Reply_Sig = 1 and Reply_MemberSig <> "" then |  
                      | 
 my little forum playground
 
 |  
                      | Edited by - xx ENIGMA xx on 09 December 2003  21:18:04
 |  
                      |  |  | 
              
                | laserAdvanced Member
 
      
 
                Australia3859 Posts
 | 
                    
                      |  Posted - 09 December 2003 :  21:27:24   
 |  
                      | oops !!! ...  few mistakes in my order of operation, but all fixed now and it should be published in a MOD soon (no pressure Enigma  ) |  
                      |  |  | 
              
                
                |  Topic  |  |