The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I was wondering if anyone had done this.
Basically I want to hide the forum I am using for the calendar from view on default.asp but would like all the contents to still be vieable in the calendar.
Anyone done this before?
Thanks
Jeff<
Basically I want to hide the forum I am using for the calendar from view on default.asp but would like all the contents to still be vieable in the calendar.
Anyone done this before?
Thanks
Jeff<
Postet den
So basically, you don't want people to be able to view the forum via forum.asp and default.asp, but still be able to access the individual topics through the calendar itself?
I'd think you would just need a check in forum.asp and default.asp to not display the forum if it's a certain FORUM_ID. Probably wouldn't be too much to add.<
I'd think you would just need a check in forum.asp and default.asp to not display the forum if it's a certain FORUM_ID. Probably wouldn't be too much to add.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Postet den
hmm ok i will take a look thanks<
Postet den
Somebody helped me with this same issue in the past, this is what I did in the default.asp. I'm sure I'd need an "end if", but I cannot remember where I put it. That should get you in the right direction.
Place this:
if ChkDisplayForum(ForumPrivateForums,ForumFPasswordNew,ForumID,MemberID) and ForumSubject <> "Events Calendar" then
Just before this line:
if ForumFType <> "1" then<
Place this:
if ChkDisplayForum(ForumPrivateForums,ForumFPasswordNew,ForumID,MemberID) and ForumSubject <> "Events Calendar" then
Just before this line:
if ForumFType <> "1" then<
Postet den
I will try that when I get home tonight.
Thanks<
Thanks<
Postet den
Originally posted by Lon
Somebody helped me with this same issue in the past, this is what I did in the default.asp. I'm sure I'd need an "end if", but I cannot remember where I put it. That should get you in the right direction.
Place this:
if ChkDisplayForum(ForumPrivateForums,ForumFPasswordNew,ForumID,MemberID) and ForumSubject <> "Events Calendar" then
Just before this line:
if ForumFType <> "1" then
OK I tried this and nothing has changed.
REMOVED BAD CODE SEE RIGHT CODE BELOW
Do I need to edit any of the properties of the forum category to get it to not display to everyone?<
Sist redigert av
Postet den
Nevermind I got it
replace this:
with this:
<
replace this:
Code:
if ChkDisplayForum(ForumPrivateForums,ForumFPasswordNew,ForumID,MemberID) then
with this:
Code:
if ChkDisplayForum(ForumPrivateForums,ForumFPasswordNew,ForumID,MemberID) and ForumSubject <> "Events" then
Sist redigert av
Postet den
I would probably refrain from using the ForumSubject and use the ForumID instead. That way it'll be a bit more scalable. If or when you edit the subject line of the forum (for whatever reason), you won't have to worry about changing your code to reflect the new subject.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...