miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /   

File and Image Attachments

Page  Page 10 of 14:  « Previous  1  ...  9  10  11  12  13  14  Next »  
Author youki
#136 | Posted: 16 Jan 2012 14:45 

Plug-in installed correctly and all o.k.
Only one question:
the image in pop-up is resized :image info "609px × 800px (scaled to 555px × 730px)"

What file/instruction/variable should I change to get the 100 % size picture i.e not scaled ?

thank you for answer

Author youki
#137 | Posted: 16 Jan 2012 14:53 
mmmmhhh.... seems to be tied to browser, please discard question

is there a way to ask browser to display image not resized ?

Author youki
#138 | Posted: 16 Jan 2012 14:59 
I guess I will have to look the file upload popup function

Author Paul
Lead Developer
#139 | Posted: 16 Jan 2012 22:10 
The add-on scales image, if it's size doesn't fit the screen.
In your case, it may be that your screen may be equal or less than ~730 pixels (most probably it is 768 pixels?)
Feel free to edit the function on your own taste and let me know the results.

Author youki
#140 | Posted: 17 Jan 2012 01:01 
I will try tough I am not an expert.
1440x 900 screen resolution
I would not mind having scrollbars if image bigger than screen as image resolution is most important.

Author Paul
Lead Developer
#141 | Posted: 17 Jan 2012 11:52 
Then it's not required for you to have a pop-up function.
It's only for bringing more comfort, for viewing big pictures at once fitting the screen.

If you are ok with scrollbars, you may really take a look to the popUpFU function of addon_fileupload.php.
Put width and height values in the final output ( similar to w and h passed to this function. Or to some other values. It's up to you. The add-on is open source, so you are allowed to modify it upon your requirements :)

Author youki
#142 | Posted: 17 Jan 2012 17:25 
Yes, I prefer it like that. Much better.

Thank you !

Author jonas
#143 | Posted: 29 Jan 2012 13:20 

I am setting up Minibb and so far everything works fine. I am translating the lang files to Icelandic, no problem until I bought and set up the "File and Images Attachements". Then I run into charset problem, see attached picture. Where can I correct this?

CharSet problem

Another question - where should I look to translate the buttons Choose File and No file chosen?


Author Paul
Lead Developer
#144 | Posted: 31 Jan 2012 11:59 
Everything related to the language of the file attachments add-on, is located under lang/fileupload_***.php
The charset problem may come from there. Depending on the encoding you use in Icelandic pack. It seems some wrong encoding is mixed up with UTF-8 charset in the language pack, so you just need to correlate this on your end. Not sure where it's exactly.

Author peter100
#145 | Posted: 31 Jan 2012 18:47 | Edited by: peter100 
How do i solve this problem?
I can't get it working?

<br />
<b>Warning</b>: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: SAFE MODE Restriction in effect. The script whose uid is 614 is not allowed to access /home/.sites/4/site38/web/forum/shared_files/uploaded/5 owned by uid 48 in <b>/home/.sites/4/site38/web/forum/bb_plugins2.php</b> on line <b>201</b><br />
<br />
<b>Warning</b>: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Invalid filename in <b>/home/.sites/4/site38/web/forum/bb_plugins2.php</b> on line <b>201</b><br />
<br />
<b>Warning</b>: copy() [<a href='function.copy'>function.copy</a>]: SAFE MODE Restriction in effect. The script whose uid is 614 is not allowed to access /home/.sites/4/site38/web/forum/shared_files/uploaded/5 owned by uid 48 in <b>/home/.sites/4/site38/web/forum/bb_plugins2.php</b> on line <b>367</b><br />
<br />

Where can i disable safe mode?

Author Paul
Lead Developer
#146 | Posted: 31 Jan 2012 20:44 
Where can i disable safe mode?

It's in php.ini settings.
safe_mode directive.

Author jonas
#147 | Posted: 8 Feb 2012 00:29 

File and Image Attachment up and working fine. One problem - when you click a thumbnail, Chrome and Safari show a nice pop up window with a full size picture, but IE, FF and Opera open the download dialog box, asking what to do with the file (Save or Open). Should not they also open a pop up?


Author Paul
Lead Developer
#148 | Posted: 8 Feb 2012 10:27 
Of course, they should. I can't give you the exact answer why it's happening so, but it's up to your customizations and settings. I'm not sure what's done. As you may check on miniBB demo, all browsers should work the same way when opening images.

Author jonas
#149 | Posted: 10 Feb 2012 17:21 
Thank you Paul - After rechecking my files i noticed that I had accidentally deleted the Check Browser function.


Author wilkinsmd
#150 | Posted: 17 Feb 2012 17:22 
File upload addon has been working file, have uploaded lots of images and spreadsheets, but I guess until now I never tried a PDF. Now that I have I see that it isn't working.

I had the following set for uploadTypes in addon_fileupload_options.php:


Error was always the same:

File(s) were not uploaded, possible reasons:
File size is too big
File type is not allowed:

Why does the upload addon think a .pdf file is a mime type application/download?

I added the following line to addon_fileupload_options.php:

and now it works.

However the way the files are shown in the forum is a little sloppy, see it here:

www dot pawinetalk dot com /talk/12_577_1.html

Any info would be appreciated.


Page  Page 10 of 14:  « Previous  1  ...  9  10  11  12  13  14  Next » 
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions / File and Image Attachments Top

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

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB