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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Posting from Active Topics Page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 05 April 2004 :  19:06:05  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Hi,

I have had a request from a Member at my Forum regarding the Active Topics page. She was wanting to know if, when you are at the active topics page, click on one of the active topic links, and post a reply, that you are then returned to the Active Topics page, rather than default.asp

I assume that the modification would need to be made in topic.asp, and the code would need to check the 'referrer', and redirect according to which page the user came from ~ but then I could be gathering wrong. Is there anyone here that might be able to help me achieve this?

Thanks!

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 April 2004 :  19:42:54  Show Profile  Send ruirib a Yahoo! Message
The modification would be needed in post_info.asp, where the actual message posting and redirect is done. The difficult thing is that you'd need to redirect not to post.asp (the referer to post_info.asp), but to the previous referer (active.asp). This could complicate the logic a bit...but there is a mod that does that.

If you're using 3.4.04, you can apply the Referer Mod, which will do exactly what you want.
If you're using a previous version, at least you know what you need to add to inc_header.asp and inc_header_short.asp and then you'll need to use the referer info passed from those pages in post_info.asp. It will be just a matter of redirecting from there to the page pointed to by strRefScriptName, a variable defined by the Referer mod.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 05 April 2004 19:43:37
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07