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
 Bug File Library?!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Massimo
Junior Member

Italy
125 Posts

Posted - 14 August 2002 :  05:00:04  Show Profile  Visit Massimo's Homepage
File library for snitz 3.3.05 protection rows approached classified only the administrator... as I must make... the rows thanks here!

http://www.superdeejay.net/temp/Admin_library.txt

http://www.superdeejay.net/temp/Admin_library_del.txt

ciao


Edited by - Massimo on 14 August 2002 05:00:47

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 August 2002 :  06:46:12  Show Profile  Visit HuwR's Homepage
could you try that again, I realise your english may not be good, but that just doesn't make any sense
Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 14 August 2002 :  07:10:03  Show Profile  Visit Massimo's Homepage
okay I repeat. These two files must be to only editing from the admin, can editing all thanks!

Massimo Farieri
Snitz Italian Community
===============
http://www.snitz.it
http://www.superdeejay.net/forum/

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 August 2002 :  07:26:02  Show Profile  Visit HuwR's Homepage
What file library Mod is this ?
Go to Top of Page

sy
Average Member

United Kingdom
638 Posts

Posted - 14 August 2002 :  08:52:04  Show Profile  Visit sy's Homepage  Send sy a Yahoo! Message
quote:
Originally posted by www.superdeejay.net

okay I repeat. These two files must be to only editing from the admin, can editing all thanks!



Not sure what you are meaning, but try this change to verify admin.

Ciao, non sicuro capisco, ma soltanto accesso di admin queste pagine? In caso affermativo, cambi come qui sotto:

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

<% If Session(strCookieURL & "Approval") = "15916941253" Then %> 

The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails

Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 14 August 2002 :  10:39:53  Show Profile  Visit Massimo's Homepage
Your code gennerate this errore:

Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/forumgold/Admin_library.asp, line 104



find this code?

<% WriteFooter
Else
scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
End IF
%>



Massimo Farieri
Snitz Italian Community
===============
http://www.snitz.it
http://www.superdeejay.net/forum/

Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 14 August 2002 :  10:43:31  Show Profile  Visit Massimo's Homepage
Admin_library.asp Error!

<!--#INCLUDE FILE="config.asp" -->
<% If Session(strCookieURL & "Approval") = "15916941253" Then %>
<!--#INCLUDE FILE="inc_functions.asp" -->
<!--#INCLUDE FILE="inc_top.asp" -->


<%
If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
strSql = "INSERT INTO FORUM_FILES("
strSql = strSql & "Name,"
strSql = strSql & "Author,"
strSql = strSql & "Description,"
strSql = strSql & "FileSize,"
strSql = strSql & "Version,"
strSql = strSql & "Compatible,"
strSql = strSql & "URL)"

strSql = strSql & "Values("
strSql = strSql & "'" & Replace(Request.Form("Name"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("Author"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("Description"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("FileSize"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("Version"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("Compatible"),"'","''") & "', "
strSql = strSql & "'" & Replace(Request.Form("URL"),"'","''") & "')"

my_conn.Execute (strSql)
my_conn.Close
Set my_conn = Nothing
Response.Write("<Center>File aggiunto con Successo!")
Response.Write("<a href=""admin_library.asp"">Torna Indietro!</a>")
Response.Write("</Center>")
Else %>


<table border="0" width="100%">
<tr>
<td width="33%" align="left" nowrap><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<img src="images/icon_folder_open.gif" height=15 width=15 border="0"> <a href="default.asp">Tutti i Forum</a><br>
<img src="images/icon_bar.gif" height=15 width=15 border="0"><img src="images/icon_folder_open.gif" height=15 width=15 border="0"> <a href="admin_home.asp">Sezione Amministratore</a><br>
<img src="images/icon_blank.gif" height=15 width=15 border="0"><img src="images/icon_bar.gif" height=15 width=15 border="0"><img src="images/icon_folder_open_topic.gif" height=15 width=15 border="0">Download File<br></font></td>
</tr>
</table>
<Center>
<a href="Admin_library.asp">Aggiungi File</a>|<a href="Admin_library_del.asp">Elimina File</a>
</Center>
<table border="0" cellspacing="0" cellpadding="0" align=center>
<Form Method="Post" Action="Admin_library.asp">

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Nome</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="Name"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Autore</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="Author"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Descrizione</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="Description"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Grandezza del File</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="FileSize"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Versione</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="Version"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Compatibile</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><select size="1" name="Compatible">
<option value="3.3.0.5">3.3.0.5</option>
<option>3.3.03</option>
<option>3.1.sr4</option>
<option>Tutte le versioni</option></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">URL</Font></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="text" name="URL"></TD>
</TR>

<TR>
<td bgColor="<% =strPopUpTableColor %>">
<INPUT Type="submit" Value="Invia" name="Submit"></TD>
<td bgColor="<% =strPopUpTableColor %>"><INPUT Type="reset" Value="Cancella" name="B2"></TD>
</TR>

</FORM>
</TABLE>
<%End If%>
<% WriteFooter
Else
scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
End IF
%>




Massimo Farieri
Snitz Italian Community
===============
http://www.snitz.it
http://www.superdeejay.net/forum/

Go to Top of Page

Massimo
Junior Member

Italy
125 Posts

Posted - 14 August 2002 :  10:49:28  Show Profile  Visit Massimo's Homepage
okay okay I resolving all... ;)

Massimo Farieri
Snitz Italian Community
===============
http://www.snitz.it
http://www.superdeejay.net/forum/

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 August 2002 :  11:12:35  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by HuwR

What file library Mod is this ?


Try answerring my questions first !
Go to Top of Page

sy
Average Member

United Kingdom
638 Posts

Posted - 14 August 2002 :  11:32:10  Show Profile  Visit sy's Homepage  Send sy a Yahoo! Message
Here is details of this mod from readme, can't find original topic here (if it ever existed here, I don't remember)

MOD: DAVES FILE LIBRARY MOD 1.0
COMPATIBLE WITH: SNITZ V. 3.3.03 - Tested
SNITZ V. 3.3.15 - Not Tested but should work
SNITZ V. 3.3.33 - Not Tested but should work
SNITZ V. 3.3.10 - Not Tested but should work
SNITZ V. 4.0 B3 - Not Tested but should work

AUTHOR: Dave
RELEASE DATE: APRIL 25, 2002

INTERNET: http://www.devforums.tk (Offline at time of MOD creation)
http://www.crashsite.nl (Crash)

The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails

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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07