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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 External page but must be logged in!!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Fomse
Starting Member

Bhutan
21 Posts

Posted - 30 October 2005 :  15:24:40  Show Profile  Reply with Quote
I have a external imagegallery and have made a link to it, next to the "Home" link in the header.
But how can i make it so you have to be logged in before ouy can use it (like "Members")???

Please can anyone help me....

< Moved to MOD Add-On Forum (W/O Code) by Shaggy /><

Edited by - Shaggy on 01 November 2005 06:16:03

laser
Advanced Member

Australia
3859 Posts

Posted - 30 October 2005 :  15:45:43  Show Profile  Reply with Quote
You'll need to include a bit of Snitz code to read the cookie, then check that mlev > 0.<
Go to Top of Page

Fomse
Starting Member

Bhutan
21 Posts

Posted - 30 October 2005 :  16:01:50  Show Profile  Reply with Quote
Could you please show me the code? I'm not a great ASP programmer so i would really appreciate it...

<

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.


I have even received from HuwR and ruirib an e-mail threatening to ban me from Snitz Forum :


Hello

You received the following message from: ruirib (ruirib@ruirib.net)

At: http://forum.snitz.com/forum/

It was a pleasure to have you there, hope you enjoyed the ride ;).
And don't try to sneak in...

Goodbye ;).

Hey as_shole, I know it’s Davio who is a member at your forums, gonna lock him out too
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 30 October 2005 :  18:07:45  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
Do a search on the forums here, there are numerous discussions about this topic.<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Soar
Junior Member

USA
197 Posts

Posted - 30 October 2005 :  22:24:38  Show Profile  Visit Soar's Homepage  Reply with Quote
I did something similar, and used the following code (after the proper INCLUDES, of course) placed in the page containing the pictures:

if strDBNTUserName = "" then
Err_Msg = "<li>You must be logged in to view the pictures</li>"

Response.Write " <table width=""100%"" border=""0"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" " & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""default.asp""><b>All Forums</b></a><br />" & vbNewLine & _
" " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","") & "<b> Pictures</b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>There Was A Problem!</font></p>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>You must be logged in to view this page</font></p>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Back to Forum</a></font></p>" & vbNewLine & _
" <br />" & vbNewLine
WriteFooter
Response.End
else


Followed by the code for the page when the person was logged in as a member. Probably not the correct way to do it, but it seems to work for my site.<
Go to Top of Page

Fomse
Starting Member

Bhutan
21 Posts

Posted - 31 October 2005 :  15:10:51  Show Profile  Reply with Quote
Soar>> That are the proper includes??

Fomse:-)<

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.


I have even received from HuwR and ruirib an e-mail threatening to ban me from Snitz Forum :


Hello

You received the following message from: ruirib (ruirib@ruirib.net)

At: http://forum.snitz.com/forum/

It was a pleasure to have you there, hope you enjoyed the ride ;).
And don't try to sneak in...

Goodbye ;).

Hey as_shole, I know it’s Davio who is a member at your forums, gonna lock him out too
Go to Top of Page

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 31 October 2005 :  15:34:37  Show Profile  Visit Roger Fredriksson's Homepage  Reply with Quote
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->

This is what I use but I think you could skip inc_sha256-file.<

rf/www.avgifter.com
Go to Top of Page

Fomse
Starting Member

Bhutan
21 Posts

Posted - 31 October 2005 :  15:42:02  Show Profile  Reply with Quote
Can't get it to work!!!
How can i include the files if they are not in the same directory?

Fomse:-)<

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.


I have even received from HuwR and ruirib an e-mail threatening to ban me from Snitz Forum :


Hello

You received the following message from: ruirib (ruirib@ruirib.net)

At: http://forum.snitz.com/forum/

It was a pleasure to have you there, hope you enjoyed the ride ;).
And don't try to sneak in...

Goodbye ;).

Hey as_shole, I know it’s Davio who is a member at your forums, gonna lock him out too
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 31 October 2005 :  16:14:30  Show Profile  Reply with Quote
C'mon mate, you should be able to experiment a little, no ?

You will need to path the include files properly, but you don't say where your page is and where the forum includes are, so I'll guess.

If your new ASP file is in / and your forum includes are in /forum then do :

<!--#INCLUDE FILE="forum/config.asp"-->
<!--#INCLUDE FILE="forum/inc_sha256.asp"-->
<!--#INCLUDE FILE="forum/inc_header.asp" -->


If your new ASP file is in /site and your forum includes are in /snitz then do :

<!--#INCLUDE FILE="/snitz/config.asp"-->
<!--#INCLUDE FILE="/snitz/inc_sha256.asp"-->
<!--#INCLUDE FILE="/snitz/inc_header.asp" -->


etc...

HTH<
Go to Top of Page

Fomse
Starting Member

Bhutan
21 Posts

Posted - 31 October 2005 :  16:27:42  Show Profile  Reply with Quote
Got it to work:-) Had to go en level back like <!--#INCLUDE FILE../config.asp"-->
Thanks everyone for your help:-)

Fomse<

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.


I have even received from HuwR and ruirib an e-mail threatening to ban me from Snitz Forum :


Hello

You received the following message from: ruirib (ruirib@ruirib.net)

At: http://forum.snitz.com/forum/

It was a pleasure to have you there, hope you enjoyed the ride ;).
And don't try to sneak in...

Goodbye ;).

Hey as_shole, I know it’s Davio who is a member at your forums, gonna lock him out too
Go to Top of Page

ghanlon
Starting Member

USA
14 Posts

Posted - 07 January 2007 :  14:14:09  Show Profile  Visit ghanlon's Homepage  Reply with Quote
I am also trying to have a login on several other pages in my dev site.
using the 3 above includes I am able to get it to require login, and it will direct me to proper page but,
I now get the forum header on the new page witch is not desired.
../dev/ ## where my base dev site resides.
../dev/ ## where several asp files that I want to require login.
../dev/community/ ## where all my forum files reside.

I created a duplicate login.asp page and put it in the ../dev/ directory so I could custom it for the other pages.

? Is there a way to not view the header page once I am redirected to my ../dev/ pages after login?

thanks,

George


<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07