Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Azknight's Events Calendar-restricted to members
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

blackinwhite
Average Member

Turkey
657 Posts

Posted - 09 May 2001 :  11:09:06  Show Profile
is it possible to make events calendar to be seen just by mambers. If they are not logged in it can show a message of "you are not logged in"

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 09 May 2001 :  11:38:20  Show Profile  Visit Capt_Dunzell's Homepage
In events.asp add this:

<%
if strDBNTUserName = "" then
doNOTLOGGEDINFORM
end if
%>


right after this:

<!--#INCLUDE FILE="inc_top.asp" -->


Someone posted this somewhere, I apologize that I dont remember who, but the credit goes to them.

I have included those lines to most features on my forum, placement varies, but its pretty easy to add it to any of the other pages.

http://www.dunzellsden.com/forum/
Go to Top of Page

Capt_Dunzell
Junior Member

USA
160 Posts

Posted - 09 May 2001 :  12:28:06  Show Profile  Visit Capt_Dunzell's Homepage
Thanks to efourie for that bit of code.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=4858&FORUM_ID=25&CAT_ID=17&Topic_Title=Hiding+Members+List&Forum_Title=MOD+Add%2DOn+Forum+%28W%2FCode%29

http://www.dunzellsden.com/forum/
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 11 May 2001 :  08:50:28  Show Profile
I actually want to restrict it in pop-ups. I included events page to my default.asp, I want visitors see the headers as usuall, but when they click on it, a message may say "you are not loged in..."

solved it.

thank you very much.

Edited by - blackinwhite on 11 May 2001 09:10:50
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07