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

File Bank

Page  Page 1 of 3:  1  2  3  Next »  
Author piatan
Registered
#1 | Posted: 7 Mar 2010 05:07 
I have just installed File Bank add-on (minibb_storage.1.2.3.zip) and now I can upload files - it works fine and files appear on the server. Unfortunately there is no access to the bank - I have no "File Bank" link in menu bar. What may be the reason?
I use last miniBB version with only some necessary changes in setup_options .php. I haven't installed Uber-Uploader extension.

Author Paul
Lead Developer
#2 | Posted: 8 Mar 2010 05:21 | Edited by: Paul 
This link is optional. Try to put {$storageLink} under templates/main_header.html.

Author piatan
Registered
#3 | Posted: 8 Mar 2010 08:18 
OK. I have found the proper place to put {$storageLink} and everything looks as I expected. Thank you.

Author Prince
Registered
#4 | Posted: 27 Oct 2010 07:09 | Edited by: Prince 
How Do I add a delete button, when an uploaded file not found in look up section?
I mean if file not found there be a delete button or link beside that to be easy to delete not found files..

here an image (I mean here):


Author Paul
Lead Developer
#5 | Posted: 27 Oct 2010 07:19 
There is a common delete button for all files, located in the same dropdown as the "Look up" option. Check the file, choose this option and proceed.

You may Look up for many files at once, not just for one file, then also delete many files at once.

Author Prince
Registered
#6 | Posted: 8 Nov 2010 13:34 | Edited by: Prince 
I've seen a file (up.php) in shared_file,
with all information (database user and pass)

is that normal from minibb or not?

(sorry I had to send it to strange files on my server) topic.

Author Paul
Lead Developer
#7 | Posted: 8 Nov 2010 15:15 | Edited by: Paul 
It's not normal. Definitely there is some sort of intrusion, make sure you have register_globals of php.ini set to OFF and other server-side security. The reason may come from very different sources, so I can't say nothing more exact without more infos...

Author Barry S.
Guest
#8 | Posted: 12 Jan 2011 08:07 
On your Community Forums site it shows a link to File Bank in the link-ribbon below the solid blue header. This link is not available on my site, hence there is no way to jump to the File Bank. How do I enable this link within the ribbon? Thanks.

I've also included an image showing what I mean.

File Bank link

In the image, the top capture shows your MiniBB Community Forms site with the "ribbon" link to File Bank circled in red ( actually burnt orange). The bottom capture in the image shows my site and the "ribbon" link with no jump to File Bank. As it turns out, I can find no way to jump to the File Bank without manually formatting the URL with "?action= storage". How do I enable that ribbon link to include File Bank.

Author Paul
Lead Developer
#9 | Posted: 12 Jan 2011 08:09 | Edited by: Paul 
1. Make sure you've put {$storageLink} under templates/main_header.html following all instructions described.

2. If the tag is already in the template mentioned, it depends on what kind of section you are in. Some add-ons may end their execution earlier that the code for File Bank link is executed.

For that case, try to paste the File Bank's code in bb_plugins.php which says

/* if you would like to display link to storage in forums menu for registered users only, uncomment the code below and alter it with the next line */
//if($user_id>0)
$storageLink="<a href=\"{$main_url}/{$indexphp}action=storage\">File Bank</a> {$l_sepr} ";

to the very top of this file (but not the whole bb_plugins code - just this part).

The link is actually indicated through the variable $storageLink which is lost somewhere, that's why it's not displayed.

Author canalrun
Registered
#10 | Posted: 12 Jan 2011 09:11 
Thanks. I will look closely at those areas.
Barry.

Author canalrun
Registered
#11 | Posted: 12 Jan 2011 19:49 
Hi,
Thanks for your last response, but I do not see "storageLink" or main_header listed anywhere in the Installation Guide of readme.txt. I have even searched with the find function in Notepad2.

Another post says "I found storageLink", but he doesn't say where.

I'm using version 1.3 of File Bank from the zip file I downloaded on 1/11/2011 and the latest miniBB downloaded that day also. I even re-downloaded tonight as a check.

I checked the main_header template file - storageLink is not in there. I searched all files with Agent Ransack and the only place it found storageLink is in bb_plugins.php.

Could you forward the instructions and where to modify main_header? Should storageLink be in any other files, besides bb_plugins and main_header?

Thanks,
Barry.

Author Paul
Lead Developer
#12 | Posted: 13 Jan 2011 04:02 | Edited by: Paul 
Sorry - it seems the instruction was really missing some how. Now it's there.

The instruction is simple - modify /templates/main_header.html template and paste the variable:

{$storageLink}

indicating the link to the file bank files list. For example:

...{$l_menu[0]}{$storageLink}{$l_menu[2]}{$l_menu[5]}...


Author canalrun
Registered
#13 | Posted: 13 Jan 2011 11:19 | Edited by: canalrun 
Hi,

Thanks.
This solved the problem. The File Bank link now shows up. I also made the changes to bb_plug-ins.php to only allow logged in users to access the File Bank - works great.

Thanks for minbb and the storage add-on.

One question I still have, which I will be looking at. I would like to log off a user if he closes his browser. I think this is just a modification to the cookie that is sent at login. Do you know, offhand, what I would have to modify to do this. And, is it as simple as modifying a cookie?

Barry.

Author Paul
Lead Developer
#14 | Posted: 13 Jan 2011 13:20 
Under setup_options.php, you may try to set $cookie_expires=0;

Our manual is the next step to learn miniBB :-) It describes many other settings, too.

Author canalrun
Registered
#15 | Posted: 13 Jan 2011 14:05 
Thanks much.

I must have read right over that.

Barry.

Page  Page 1 of 3:  1  2  3  Next » 
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions / File Bank 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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB