Print Page | Close Window

Uploading Images

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20457
Printed Date: 29 March 2026 at 10:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Uploading Images
Posted By: lodogg
Subject: Uploading Images
Date Posted: 27 June 2006 at 4:36pm

I know this is probably a redundant question :\  But I did search about 15 topics and none of them had a good break down about uploading images with Version 8.x.


I had a nice write up on how to upload images for version 7.x please see the following link:

http://www.lodogg.com/forum/forum_posts.asp?TID=234 - UPLOADING

When I click the upload image button it shows everything that has been uploaded to the site and I would love to change that  Any suggestions would greatly be appreciated. 

I did try to copy and paste and that did not work. 

Thanks,

-lo



-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun



Replies:
Posted By: Mikey
Date Posted: 27 June 2006 at 9:37pm
This may help, its a tutorial from my forum.

http://www.skatenstone.co.uk/scum/forum_posts.asp?TID=209&PID=6168#6168 - http://www.skatenstone.co.uk/scum/forum_posts.asp?TID=209&PID=6168#6168


-------------
Handyman man?


Posted By: kgroba
Date Posted: 28 June 2006 at 4:55pm
Originally posted by lodogg lodogg wrote:

 
When I click the upload image button it shows everything that has been uploaded to the site and I would love to change that  Any suggestions would greatly be appreciated. 
 
I have this same problem. Our forum has about 3800 files in the uploads directory and it take a very long time to load the file list. Is there anway to modify "RTE_file_browser.asp" so it will not list the files in the upload directory or is there another way to disable this feature?
 


Posted By: lodogg
Date Posted: 28 June 2006 at 5:06pm
Awesome write up
The problem is in the bottom left hand corner I do not have a Browse or Upload button?  It just lists everything in the /upload folder on the server and shows files that every other user has uploaded.  Is there a setting I'm missing to make the Upload and Browse button appear? The proper write permissions has been set to the upload directory and I have the Dundas software installed and enabled.  This function worked fine with Ver 7.97 it’s just when I upgraded to the latest and greatest that this function seemed to stop working

Thanks,

-lo





-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: lodogg
Date Posted: 28 June 2006 at 7:44pm

Also it looks like you let every user see all images that have been uploaded on the site?  That's a problem with sections you may have locked down for security and now all users can see any image that has been uploaded.  I hope that I’m just confused which most of the time is the case



-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: WebWiz-Bruce
Date Posted: 29 June 2006 at 12:19am
Image upload must be enabled from the admin area for the Group on each forum you want to have uploads.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: lodogg
Date Posted: 29 June 2006 at 5:14pm
As usual -boRg- you have answered such a simple question

There are a ton of added features!!  Good job!!!!!!!!!!

I did attempt to upload an image and got the following error:

Microsoft VBScript runtime error '800a0046'

Permission denied

/forum/new_post.asp, line 374

I will keep searching the forum to see if I can find anything about this error.  I will also check the uploads directory to make sure the proper NTFS write permissions are enabled.


Thanks,
-lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: WebWiz-Bruce
Date Posted: 29 June 2006 at 5:23pm
This error means you do not have the correct read, write, and modify pewrmissions set on the upload directory.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: lodogg
Date Posted: 29 June 2006 at 7:41pm
I added the Modify permission and everything is working now...

Thanks,
-lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: Mikey
Date Posted: 29 June 2006 at 9:31pm

Originally posted by lodogg lodogg wrote:

Awesome write up
The problem is in the bottom left hand corner I do not have a Browse or Upload button?


Only people with the appropriate permissions set for them from the admin area will be able to see and use the upload image button.

To remove the file browser window give this a try (i havent had the chance to test it so please report back on if it works or not)

Find in "RTE_popup_adv_image.asp":

<tr>
<td class="text">
<% = strTxtFileName %>:<iframe src="RTE_file_browser.asp?look=img<% = strQsSID2 %>" id="fileWindow" width="98%" height="180px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe>
</td>
</tr>


Remove the code in red
and....

Find in "RTE_popup_adv_image.asp" (just below previous code):

<tr>
<td class="text">
<% = strTxtFileName %>:<iframe src="RTE_file_browser.asp?look=img<% = strQsSID2 %>" id="fileWindow" width="98%" height="278px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe>

</td>
</tr>


Also remove this code in red, save the file and upload.

WARNING!!!!
I havent tried this, always back up before attempting any code changing, belive me i have found out the hard way!





-------------
Handyman man?


Posted By: wizmike
Date Posted: 30 June 2006 at 12:05am

For those of you who do not want to see the files that have been uploaded, you could modify: RTE_popup_adv_image.asp

This may not be the most elegant solution but is very simple to implement.
 
The page contains three inline frames, just delete the one which displays all the files. As I have said - not the most elegant solution, but if you cannot write/modify asp then that may be your only option.
 
It would be even better if some user groups could see all the files so that they could select the one they wanted to use (moderators perhaps?) while other groups could not see the files.
 
Again, if you can write asp this should be easy to implement. Each group of people have an id so you could:
 
If blnModerator OR blnAdmin Then
etc.
 
Or you could simply use the groups id of course...
 
I am sure that lots of mods will be written for this new, and I might say, excellent version of the forum.
 
Mike
 
.


Posted By: kgroba
Date Posted: 30 June 2006 at 2:13pm

I changed the code in RTE_popup_adv_image.asp from this -- 
<!--<td class="text"><% '= strTxtFileName %>:<iframe src="RTE_file_browser.asp?look=img<% '= strQsSID2 %>" id="fileWindow" width="98%" height="180px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>-->
to this
<td class="text"><% = strTxtFileName %>:<iframe src="" id="fileWindow" width="0%" height="0px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>
 
I left the iframe in just in case it was referenced from somewhere. So far it has worked really well and increased the form open speed from about 45 seconds to < 1 second. Also, the sensitive images in the admin forum are no longer viewable by everyone. Thanks for your help.


Posted By: lodogg
Date Posted: 30 June 2006 at 3:25pm

I think we hit on a very important topic!  I think moderators and admins should be able to see all pictures but normal users can only see what they have uploaded.  I would love to see this change happen with the next release maybe?  At least I would like to put it on the wish list  The new forum has a ton of functionality that is great!! 

Thanks for the code mod it worked great!!


-lo

-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: mbd2
Date Posted: 07 July 2006 at 5:24pm

Looking at the code I think around line 365 there should be something that reads

If blnModerator OR blnAdmin Then
       Response.Write( 
Else     
      Response.Write(
End If
%>
 
First write statement need to be converted from ("<td class="text"><% = strTxtFileName %>:<iframe src="RTE_file_browser.asp?look=img<% = strQsSID2 %>" id="fileWindow" width="98%" height="180px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>") to the correct format.
 
 
Second statement need to be converted
Response.Write("<td class="text"><% = strTxtFileName %>:<iframe src="" id="fileWindow" width="0%" height="0px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>")
 
 
At present I don't have time to convert them, maybe somebody with a little time on there hand can do the converting.
 
Dale


-------------
Balloon Entertainment at it's best! http://www.mbd2.com" rel="nofollow - www.mbd2.com -- http://www.mbd2.com/tradeshow/promodvd.html" rel="nofollow - Trade Show Presenter - video


Posted By: cmeurer
Date Posted: 09 August 2006 at 3:00pm
Originally posted by kgroba kgroba wrote:


I changed the code in RTE_popup_adv_image.asp from this -- 
<!--<td class="text"><% '= strTxtFileName %>:<iframe src="RTE_file_browser.asp?look=img<% '= strQsSID2 %>" id="fileWindow" width="98%" height="180px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>-->
to this
<td class="text"><% = strTxtFileName %>:<iframe src="" id="fileWindow" width="0%" height="0px" style="border: #A5ACB2 1px solid;background-color: #FFFFFF;"></iframe></td>
 
I left the iframe in just in case it was referenced from somewhere. So far it has worked really well and increased the form open speed from about 45 seconds to < 1 second. Also, the sensitive images in the admin forum are no longer viewable by everyone. Thanks for your help.

 

Didnt work for me... h,mmmm



Posted By: cmeurer
Date Posted: 13 August 2006 at 2:54pm
Okay I tried again and it worked. Be carefull which line you edit, you gotta get the exact one above.. There are 2-3 that are similar.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net