A few people were asking for this and there was a topic on it but i can't find it now so i'm going to post it as a mod.
This mod removes the pre-uploaded image list from the pop-up upload form.
Open the file 'RTE_popup_adv_image.asp'First and most importantly BACK THIS FILE UP!
Once you've done that we shall continue

Find the following code...
'If image upload is enabled then display an image upload form If blnImageUpload Then
%> <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> <form method="post" action="RTE_popup_adv_image.asp?PB=Y<% = strQsSID2 %>" name="frmUpload" enctype="multipart/form-data" onsubmit="return checkFile();" > <tr> <td class="text"><% = strTxtImageUpload %></td> </tr> <tr> <td class="smText"><% Response.Write(strTxtImagesMustBeOfTheType & ", " & Replace(strImageTypes, ";", ", ", 1, -1, 1) & ", " & strTxtAndHaveMaximumFileSizeOf & " " & intMaxImageSize & "KB") %></td> </tr> <tr> <td><input id="file" name="file" type="file" size="35" /></td> </tr> <tr> <td> <input name="upload" type="submit" id="upload" value="Upload"> </td> </tr> </form><% 'Else file uploading is disabled so show a larger file browser window Else
%> <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> <% End If
%>
|
and replace with this...
'If image upload is enabled then display an image upload form If blnImageUpload Then
%> <tr> <td class="text"></td> </tr> <form method="post" action="RTE_popup_adv_image.asp?PB=Y<% = strQsSID2 %>" name="frmUpload" enctype="multipart/form-data" onsubmit="return checkFile();" > <tr> <td class="text"><% = strTxtImageUpload %></td> </tr> <tr> <td class="smText"><% Response.Write(strTxtImagesMustBeOfTheType & ", " & Replace(strImageTypes, ";", ", ", 1, -1, 1) & ", " & strTxtAndHaveMaximumFileSizeOf & " " & intMaxImageSize & "KB") %></td> </tr> <tr> <td><input id="file" name="file" type="file" size="35" /></td> </tr> <tr> <td> <input name="upload" type="submit" id="upload" value="Upload"> </td> </tr> </form><% 'Else file uploading is disabled so show a larger file browser window Else
%> <tr> <td class="text"></td> </tr> <% End If
%>
|
Save and upload the file to the root of your forum overwriting the original (which you HAVE backed up in a nice safe place).
and thats it

Edited by Mikey - 11 October 2006 at 8:09pm