miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

How do I add PHP code to footer?

 
Author Anonymous
Guest
#1 · Posted: 8 Mar 2002 20:41
I figured out how to add PHP code on my header file but how do I do it in the footer? Has anybody had succes with this?

Author Team
8-)
#2 · Posted: 9 Mar 2002 16:28
Anonymous
If you mean to include non-miniBB .php file, then you need to include it in bb_plugins.php, so it stores an output to some {$variable}, then paste the {$variable} in main_footer.html template.

Author tekcomm
Guest
#3 · Posted: 3 Sep 2017 05:10
edit setup_options.php and uncomment the following line
//$includeFooter='footer.php';
Then create and add your php code to footer.php

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 How do I add PHP code to footer?
 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
Did you know that you may be allowed to hide miniBB credits and remove miniBB's copyright notice?