Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 post_info.asp used?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 May 2008 :  06:49:52  Show Profile
When is the file post_info.asp used, because it appears quite frequently on the active_users.asp list as being visited. Clicking on the Current Page link to post_info.asp there is just a header and footer displayed.

Would it is possible to get the active users routine to ignore these page visits, if it is not important..<

Podge
Support Moderator

Ireland
3776 Posts

Posted - 30 May 2008 :  07:28:11  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
When users submit a thread, reply to a thread, edit a topic among others.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 30 May 2008 :  07:41:06  Show Profile  Visit HuwR's Homepage
post_info.asp is the target for the form in post.asp, so when someone hits submit on poats.asp or quickreply, then post_info.asp is used.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 May 2008 :  07:47:23  Show Profile
ok that explains the frequency of post_info's Could the post_info be ommited on the active_users listing, until the target has been reached? Thank you<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 May 2008 :  11:47:21  Show Profile
Looking into how to alleviate the post_info.asp being listed. I do not have access to my active_user.asp file but the can the code which extracts the data (sql??) for the Active Guests listing be adjusted so there can be a line added to omit/ignore the post_info.asp file in the current page heading.

ie
SELECT * FROM Activeusers
WHERE currentpage NOT LIKE 'post_info.asp'

<

Edited by - Andy Humm on 30 May 2008 13:37:08
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 30 May 2008 :  12:50:40  Show Profile
Look for these lines:


    case "post_info.asp"
      strPage = strPage & fLang(strLangMOD_Ls3kAU_01241)


Comment them out<

Edited by - Carefree on 30 May 2008 14:43:38
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 May 2008 :  13:36:05  Show Profile
case"policy.asp" or case"post_info.asp" ??<
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 30 May 2008 :  14:42:24  Show Profile
Sorry, grabbed the wrong pair of lines (post_info.asp needs the commenting).<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 May 2008 :  15:18:52  Show Profile
I commented case post_info.asp and the active list shows post_info now..<
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 30 May 2008 :  21:14:43  Show Profile
Try this Andy - It should bypass the reporting.

Look for the following:

    case else
      strPage = strPage & Mid(fScript, 1, instr(fScript, ".")-1)
  end select

  strPage = strPage & "</a>"
  if lcase(instr(fscript, "admin_")) > 0 Then
    strPage = fLang(strLangMOD_Ls3kAU_01380)    
  end if
  WhatPage = strPage
end function


Change it to say:


    case else
      strPage = strPage & Mid(fScript, 1, instr(fScript, ".")-1)
  end select
  if strPage <> "post_info.asp" then
  	strPage = strPage & "</a>"
  	if lcase(instr(fscript, "admin_")) > 0 Then
    	strPage = fLang(strLangMOD_Ls3kAU_01380)    
  	end if
  	if strOnlineLocation <> "" then strPage = strOnlineLocation
  	WhatPage = strPage
  else
  	WhatPage = ""
  end if
end function
<

Edited by - Carefree on 30 May 2008 21:20:45
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 01 June 2008 :  09:20:30  Show Profile
I have tried the routine above, it still shows post_info.asp or Posting Message from my lang LangMODS_Ls3kAU4_1033.asp
strLangMOD_Ls3kAU_01241 = "Posting Message".

I was under the impression this code was going to remove the page in the query search..thus not showing it at all. Here is my active_users.asp text file<

Edited by - Andy Humm on 01 June 2008 09:50:51
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07