miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Bugs miniBB Support Forums / Bugs /  
 

No 'Upload' icon for File Storage when tied up with New Configurable Topic Form

 
Author Steve Shaw
Partaker
#1 | Posted: 1 Sep 2020 19:50 
Next issue...
When on the Home Page, showing 'Recent Stuff', the 'New Topic' options shows no icon for 'File Upload', even when the user is logged in.

But when you go to an actual 'forum', it is there...

Missing There

Steve

Author Paul
Lead Developer 
#2 | Posted: 6 Sep 2020 15:35 
I've checked this issue, and here are the steps you should complete to enable the "Upload a File" button for the New Topic Form on the front page:

1) Make sure that in bb_plugins.php, the code for the File Bank is inserted after the code of the New Configurable Topic Form.

2) Change the default code in bb_plugins.php from this:

if($action=='vtopic' or $action=='vthread' or $action=='editmsg'){
to this:

if($action=='vtopic' or $action=='vthread' or $action=='editmsg' or ($action=='' and $page==PAGE1_OFFSET+1 and $firstPageTopicForm==1)){
3) This should work — tested locally. Please test on your side and let me know if it helped.

I'll add a note on it in File Bank's README.

Author Steve Shaw
Partaker
#3 | Posted: 7 Sep 2020 11:47 
Yep, that works!

Thanks.

Steve

Bugs miniBB Support Forums / Bugs /
 No 'Upload' icon for File Storage when tied up with New Configurable Topic Form
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

 
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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑