|
| |
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
Folder Properties Upload and Run Scripts - 9/17/2005 11:52:53
Hi, There is a place on my website that allows members to upload their company Logo. The logos is then called by a script and posted against their profile if a visitor or fellow member views the profile. The issue that I have is that for the folder where the images are uploaded to I can not set both "Allow anonymous upload" and "Allow scripts to be run" on the same folder (probably for a good reason). If I check "Allow Upload" then Allow Scripts" is greyed out and if I check "Allow Scripts" then the "Allow Uploads" is greyed out. I can have one or the other property set on the folder not both. The bit of code that calls the images is <img src="images/memlogos/<%=FP_FieldHTML(fp_rs,"ID")%>.gif"> and this is on the membeship view page. So basically what I have is: 1. A folder that I can upload images to but display; or 2. A folder that I can display imgaes from but not upload to. Anyone have an ideas how to over come the problem or any work around. Regards, Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 17:45:55
I am pretty sure that I have tried that option. From memory with that option you can set the Upload also but I don't think it showed the images. I will give it a go and let you know. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 18:25:43
Hi Spooky, I was able to set both properties "Allow files to be browsed" and "Allow anon upload" together. That lets me upload but it won't show the images. It appears that unless I set "Allow scripts to be run" it won't show the images. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 21:49:37
If you go to this page you can select a member to view: http://www.wlnetwork.com/membershipviewcomp.asp There are a couple of member that do not have their logos posted yet but if you pick 53, 50 and 2 you see different logos for the different companies. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 22:21:45
If you go to this page then you can select a member to see it in action: http://www.wlnetwork.com/membershipviewcomp.asp There are a couple of members that don't have logos posted yet but if you select 53,50 and 2 the you will see company logos and understand what I am doing. Of course the upload is not working at the moment unless you use the admin login when it requests it and the members aren't getting that so therein lies my issue. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 23:23:29
Spooky, I have made a quick page with some screen shots of the property dialogue box: http://www.wlnetwork.com/spookyscreenshots.htm All the folders behave the same on my website check one the other greys (as I have explained). Do you know if this is normal? Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/17/2005 23:51:10
You mean like that. (Added another shot) It does not work I need scripts for some reason. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/18/2005 11:35:20
Hi Spooky, I wished that it would work for me but for some reason it doesn't and I don't have enough hair to pull anymore out. I will try some more experiments and see what I can come up with. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/18/2005 11:56:22
Spooky when you say it worked for you did you refresh your browser to ensure that the image was not being pulled from the cache. I got fooled by that early on and I thought that I had solved the problem but I did a refresh and the image was not there. I imagine though that only catches out newbies like me, it did make me feel good when I thought that the issues was resolved. Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/19/2005 1:01:44
I have created a new folder. Set boxes "Allow browse" and "Allow Anon upload" Have uploaded 6.gif, 7.gif and 8.gif OK to folder. Can not browse them get error HTTP Error 403.1 - Forbidden: Execute access is denied Set the folder to "Allow scripts and then can browse" Folder is at http://www.wlnetwork.com/memlogos/ Folder has been reset to your properties (No scripts). Bob
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/19/2005 2:30:56
The upload works fine. Get the error on browse.
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/19/2005 3:36:57
Spooky not a problem thanks for all the help I will get it working one way or another. One last question should the statement: <img src="images/memlogos/<%=FP_FieldHTML(fp_rs,"ID")%>.gif"> be able to work with the properties set as you suggested "Allow files to be browsed"?
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: Folder Properties Upload and Run Scripts - 9/19/2005 6:04:30
I will stir them up tomorrow.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|