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)
 Using Snitz as an article comment system
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 08 September 2005 :  05:39:04  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
ok just quick

I added thind to topic.asp befor the includes

if FORUM_ID <> "35" then

Response.Redirect "article.asp?art="& TOPIC_ID
Response.End
end if


This worked perfectly in the article section
But the rest of the topics in the other forums was redirected to sitenews.asp (SHN forum)

Any idea's?

Helter<


Edited by - Helterskelter on 08 September 2005 05:39:37
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 08 September 2005 :  06:37:09  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Erm, sorry, but I don't really get it.
If the article forum is FORUM_ID 35, your code should look something like this:
if FORUM_ID = "35" then 

Response.Redirect "article.asp?art="& TOPIC_ID
Response.End
end if

Now you are redirecting ALL topics to article.asp, but article.asp redirects topics NOT from forum_id 35 to sitenews.asp....<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 08 September 2005 :  19:25:08  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
I have tried the = but would not work, but it work's fine with the <>.

I though that at first and originaly had done so.

What i was trying to do is redirect all topics in forum 35 (my article forum) to article.asp
but it looks to be redirecting all posting's to article and from there it's sending tham back to sitenews......

Thanks for the time already in helping me with this.

Helter<

Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 09 September 2005 :  04:07:54  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Helter ; that's exaclty why I said that it should be a = instead of <>
In normal words (not code)
if the forum_id of the topic is the same as the articles forum, redirect to article.asp.

But, where do you get FORUM_ID from as a variable ?<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 11 September 2005 :  07:23:51  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
ok, i did not ask it get FORUM_ID......

I was thinking that as it was doing something when the forum_id was 35 the data was being called somewhere befor saving me the effort of doing my self.

<

Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 13 September 2005 :  10:57:25  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
ok I simply fixed the problem by moving the command to after topic.asp calles the data.

Thanks for the help and idea.

Helter<

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07