File and Image Attachments

Viewing images are just for registering users.. so is it possible also for other files?like pdf file I made it for admin and Mods only.. but even the download is possible for guests..is there any solution?

as it says in the comment, "all saved files available for everyone; else big images and binary attachments available only for registered users".

Currently there is no destructive solution regarding allowing certain types for admins or moderators only. For this you might need to modify add-on's core file. A lot of changes should be applied to bb_plugins.code as well.

and also when I set $origFileExt to "False" it works just for registered users but when download it.. after downloading it says the file is invalid (it won't open) also for Images and other files..I did same setting as you write in ReadMe..

I am also not sure why do you have this problem with .mbb extension. May be it's related to some hosting issues. Without seeing your server I can't say what's happening. On my side it all works.

It works with .mbb extension.I mean if I change $origFileExt: false it works just for new uploaded files.. not old files..Old files can be downloaded but with error (not valid file)..so I mean if I do that, old uploaded files will not work.. just new uploaded files work.that's all :-)

Yes, it will work that way. How could you imagine this - you modify the plain options file, then the other processes should work - how? ;-) You could rename files only manually... or program special script for that.

When you set-up the add-on, you must choose at the very beginning what kind of options will you use. It provides many options, but you must plan your forums well to achieve best results. It's not the thing when you change your mind and the system changes its "mind" together with you.

The RAR type as you provided, will work only in Mozilla Firefox and Opera. Under Internet Explorer, it's defined as 'application/octet-stream' (and by this type are also determined many other applications, so it may be dangerous to set it up that way).

I just downloaded and installed the file upload add-on. It seems to be working OK. However there is one small glitch. If the user tries to upload a file without entering any text in the post/reply, it generates a pop-up with the $l_forbidden variable "You must be logged in to post to the forums."

I do not allow unregistered users to post, and in fact the post or reply box is not even displayed unless logged in. So, the user is logged in. But the wrong error message is getting displayed...it should instead say something like "You must enter some text with your image."

Any ideas?

I am running minibb 2.4 and have the captcha and 1st page news add-ons as well.

Second question: How/where can I get the little file upload icon along side the icons for bold, italic, URL link like you have here on the minibb support forum?

Your Reply

?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.