cmv wrote:
just a shot into the blue - maybe what you are trying to archive can be better done by grouping forums into categories (groups) instead of creating subforums
christian |
Yeah that is the issue. Initially that's the way it was set up and the main page just got way too large so it needs to be re-org'd this way.
With some help I got it working though. Below is what you need to do.
- In the /forums folder, open "default.asp" - make a copy before you start
- Do a "find" in the code for 'Display the sub forum
- Place the green code below as I have it (254 would be replaced by your main forum ID)
'Display the sub forum
if intForumID=254 then
else
strSubForums
= strSubForums & "<a href=""forum_topics.asp?FID=" &
intSubForumID & strQsSID2 & SeoUrlTitle(strSubForumName,
"&title=") & """ class=""smLink"">" & strSubForumName
& "</a>"
end if
That's all there is to it.
You can also use 'or' to do remove subforum links from multiple main forums.
Like this:
if intForumID=254 or intForumID=274 then
else
strSubForums
= strSubForums & "<a href=""forum_topics.asp?FID=" &
intSubForumID & strQsSID2 & SeoUrlTitle(strSubForumName,
"&title=") & """ class=""smLink"">" & strSubForumName
& "</a>"
end if
Cheers!
Edited by iamgaming - 01 June 2009 at 11:01pm