miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /  
 

File and Image Attachments

 
 
Page  Page 5 of 14:  « Previous  1  2  3  4  5  6  ...  14  Next »

Author Paul
Lead Developer 
#61 | Posted: 10 Apr 2008 02:42 
Both on our demo forum and in File Bank here PDfs are allowed to upload; but you always must follow file upload rules and disclaimer which reports the maximum allowed size. Currently, on demo forums it is allowed to upload not more than 100 Kb and here it is up to 1 Mb.

It is also important to check the file type which is reported in your exact browser. Different browsers can interpret the same file type differently. It seems 'application/pdf' type which is currently set by default in this add-on, works only in Internet Explorer/Opera... in Mozilla, it is interpreted as 'application/octet' for some reason (but this is obviously wrong). So setting this type and the proper file size you can achieve that PDFs will be uploaded (like now I've set it on miniBB demo forums); however please note this filetype maybe used also for other applications, and so files of other extensions probably could be upload as well.

Refer to how_to_add_uknown_file_type.txt file supplied with this add-on for getting the idea of how to determine the file type you upload.

Author harootun
Partaker
#62 | Posted: 12 Apr 2008 11:21 
Thanks, Paul.

Impressive work, as always. Love how the "how_to_add_unknown_file_type.txt" gives the user such control. Wow.

In Firefox on the Mac, PDF comes up as "application/download'.

Author ClusterCom
Guest
#63 | Posted: 2 May 2008 15:02 
I installed file upload add-on - it displays file upload boxes, but it would not upload files.
There are no warning or errors - post is created, its text is shown, but no attached files.

Some details:
- addon_fileupload_options.php file is unchanged and contains default settings.
- Testing as BB's Admin.
- FreeBSD + Apache22
- Files are not appearing in the shared_files/uploaded directory on the server, even though both have permissions set to 0777. Some other security/permission settings are required? Apache's httpd.conf / .htaccess?

Any suggestions where to start troubleshooting will be appreciated?

Kind Regards,
ClusterCom

Author Paul
Lead Developer 
#64 | Posted: 3 May 2008 07:42 
ClusterCom
Didn't you forget to modify template specifying <form> as enctype="multipart/form-data"?

You just need to go carefully through all installation steps again. We are sure this add-on works, and if it doesn't, something is wrong on your side only.

Author isaias
Guest
#65 | Posted: 13 Jul 2008 08:24 
how do yo disable the border generation on version 2.0?
previous version didn't generate one and I like it that way. the border is messing up my layout.

in addon_fileupload_options.php there is a line to set the color:
$borderColor=array(0, 0, 0); //thumbnail's border color in RGB (if not set or disabled, border won't be generated

but I can't find how to disable it anywhere.

Author Paul
Lead Developer 
#66 | Posted: 14 Jul 2008 03:31 
Disable it setting two slashes before (that way you can 'disable' any setting if it's allowed):

//$borderColor=array(0, 0, 0);

Author Guest
~
#67 | Posted: 15 Feb 2009 15:26 
How to turn on smaller alternative thumbnails, which could be displayed on the front forums page or in topic listings on fileupload addon?

Author Guest
~
#68 | Posted: 15 Feb 2009 15:54 
Maby me plugin version is old. Were i can get update?

Author Paul
Lead Developer 
#69 | Posted: 16 Feb 2009 02:10 
Guest:
Maby me plugin version is old. Were i can get update?
We have all the recent versions under customers area. You should have the access to the customers area amongst your order information.

The code you asked for, is located under addon_fileupload_topic_thumbnails.code.txt file of the package. This is kind of hack you need to apply in bb_plugins.php. The hack will work only if $dirsTopic setting is set to TRUE, i.e. you don't run the add-on in Safe Mode. All other setup instructions are located under the aforementioned file.

Author harootun
Partaker
#70 | Posted: 18 Feb 2009 22:07 
I'm having two Firefox problems with the file upload add-on.

1. FIrefox 3.06 on Windows XP -- the pop-up window cannot be right-clicked on (allowing the image to be downloaded). Works fine on Firefox 3.06 on the Mac, but not on Windows. (Firefox on Windows XP misbehaves the same way on the minibb demo forum.)

2. A user on my forum who uses Firefox 3 on an openSUSE 10.3 system reports that Firefox often crashes when he clicks the pop-up window to close it.

Has anyone else experienced these problems? I'm obviously more concerned about #1, since this effects more users.

Any advice, as always, is appreciated.

Author Paul
Lead Developer 
#71 | Posted: 19 Feb 2009 02:18 
1. Here is what you could try to set under addon_fileupload_options.php:

$saveAsEnable=1;
//if 0, big images in pop-ups will be placed in the background, not in the <image> tag, which will disable simple 'Save As' operation.
2. You may try to install the latest version of the add-on, as I remember correctly, I have experienced such trouble too, and it was some way related to a long phrase appearing in <title> tag (I suppose it should be fixed in the recent release).

Anyway, if just one user says so, it doesn't mean the error is not on his side only :) We need exact steps to re-create the problem on our end, else it couldn't be even investigated, not saying fixed.

Author harootun
Partaker
#72 | Posted: 19 Feb 2009 07:56 
Thanks, as always, for the quick response.

Regarding #1 (Firefox 3 in Windows), I already had $saveasEnable=1; set, but it doesn't allow an image to be saved (in Firefox 3, other browsers work fine). Is $saveasEnable set to "1" on the minibb demo forum? As I mentioned, Firefox 3 on Windows won't allow downloading/saving of pictures there either.

Regarding #2, I'll make sure I have the latest version and try to find out more information from the user.

Thanks!!!

Author Paul
Lead Developer 
#73 | Posted: 19 Feb 2009 10:33 
Try to check another option as well.

$closeByClick=0;
// if 1, users will close pop-ups by left mouse click (and right mouse click on some browsers).

Author harootun
Partaker
#74 | Posted: 20 Feb 2009 11:18 
Hmmm... I don't really want to change $closeByClick to 0 because I want to keep that feature with the pop-ups.

After playing around with the addon_fileupload.php, I've discovered if I get rid of the {$selfClose} that gets written in the <body> tag of the pop-up window, Firefox 3 in Windows allows right-clicking and downloading of images.

Is there any downside to not having that javascript behavior in the <body> tag? (It's still in the <img> tag.)

Author panatan
Partaker
#75 | Posted: 22 Apr 2009 15:04 
Hi all !

Is it possible to display something (a little flag for example) near topic title when image (or file) is include in a post ?
For example, posts with a red pin contain images.
Image
Thank you

Page  Page 5 of 14:  « Previous  1  2  3  4  5  6  ...  14  Next » 
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /
 File and Image Attachments
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑