remove blogs from active topics (from oxle) - Postet den (662 Views)
Senior Member
tribaliztic
Innlegg: 1532
1532
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? <
/Tribaliztic
- www.gotlandrace.se -
   
 Sidestørrelse 
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
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.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
Sure! =)

http://www.gotlandrace.se/tabort/active.txt
<
/Tribaliztic
- www.gotlandrace.se -
Postet den
Retired Support Moderator
MarcelG
Innlegg: 2625
2625
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.<
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
*doh*
Thanks! <
/Tribaliztic
- www.gotlandrace.se -
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
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"
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
Oop! Too slow! blush
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
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! =)
<
/Tribaliztic
- www.gotlandrace.se -
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
You're welcome smile
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Starting Member
pvh
Innlegg: 16
16
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
<
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
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.<
/Tribaliztic
- www.gotlandrace.se -
 
Du må legge inn en melding