remove blogs from active topics (from oxle)

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/60074?pagenum=1
05 November 2025, 06:52

Topic


tribaliztic
remove blogs from active topics (from oxle)
04 November 2005, 05:49


I got the weblogs working (thanks alot MarcelG =)) but one little thing is annoying me. When I go to "active topics" the blogs are visible there and if I click on them I get to the normal "topic.asp" instead of being redirected to the weblogs page. I was going to rip the code from forum.asp, but I can't see how I could use it on active.asp.
Anyone did this? <

 

Replies ...


Shaggy
04 November 2005, 06:02


Can you post a link to a *.txt copy of your active.asp so I can give you the proper line references. It's just a case of adding FORUM_ID<>x to the where clause of the query used to pull the active topics.
<
tribaliztic
04 November 2005, 06:24


Sure! =)

http://www.gotlandrace.se/tabort/active.txt
<
MarcelG
04 November 2005, 06:30


Tribaliztic, I've edited active.asp to redirect the hits to the actual blog. bigsmile http://www.oxle.com/source.asp?page=active.asp (demo/demo)
Just look for the instances of logfeed.asp there.<
tribaliztic
04 November 2005, 06:36


*doh*
Thanks! <
Shaggy
04 November 2005, 06:36


Actually, if your members are not using post.asp to make their blog entries, you could simply make the blog forum private.
Otherwise, try this. Don't forget to backup active.asp first, just in case

Find the following beggining on line 194 and add the code in green, where x is the id of the forum you use for your blogs:
Code:
allowSql = "SELECT FORUM_ID, F_PRIVATEFORUMS, F_PASSWORD_NEW"
allowSql = allowSql & " FROM " & strTablePrefix & "FORUM"
allowSql = allowSql & " WHERE F_TYPE = 0 AND FORUM_ID<>x"
allowSql = allowSql & " ORDER BY FORUM_ID"
<
Shaggy
04 November 2005, 06:37


Oop! Too slow! blush
<
tribaliztic
04 November 2005, 07:03


Hm.. When I tried to copy your stuff MarcelG I got double listings on active.asp =)
But Shaggy's solution is what I want so I'll stick with that. It's best if the blogs don't show up on active.asp at all. Thanks alot guys! =)
<
Shaggy
04 November 2005, 07:40


You're welcome smile
<
pvh
27 July 2006, 13:32


Hi all,
I am tryinh to set up my Snitz implementation as aweblog facility. Thats how I came on this topic. What I would like to know is \:
1.What is the particular difference between Forum and Weblog? 2. Can I rework Snitz to become a weblog facility and what needs to be done?
Hope you can help me out here.
Rgrds,
Pieter
<
tribaliztic
27 July 2006, 18:19


Have a look at Marcel's blogs at oxle.com. You will see the difference and you can find on this forum how he did.<
© 2000-2021 Snitz™ Communications