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
 Upload directory permissions and security
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 26 April 2007 :  08:23:00  Show Profile  Visit muddywellies's Homepage
Making progress today on Mike's Attachment MOD for image uploading in posts. (Sure would like to get my name off the top of the forum list).

Under the MOD I have created a separate Upload Directory. How do I grant the access/write permissions for this on my Access DB driven forum?

Security wise, the paperclip icon used for image upload is freely available on all my forums. Which is fine for those who have registered and become members. But I have a Guest Book forum which is freely open to all. Can I remove the icon for the Guest Book forum easily? The alternative would be to remove the Guest Book . . .

I've got green fingers, but I'm all thumbs using a keyboard!

PPSSWeb
Junior Member

312 Posts

Posted - 26 April 2007 :  09:38:56  Show Profile
Your upload directory should require read/write/execute permissions. How you assign these varies from ISP to ISP. Most will give you some sort of shell access or a web interface to modify these permissions.

To display the paperclip icon and relevant text, encapsulate the lines that add it in a check for membership. The sample below would display the link for all registered members:

If mlev > 0 Then
	' code that inserts icon in post.asp 
End If


To locate where to put the if and end if, search the file for paperclip and put the if before that whole section of the mod and the end after the last line of that section for the mod.
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07