InMotion Hosting Support Center

As PHP-Fusion is free open-source software release under the AGPL (Affero General Public License), it displays a copyright notice in the footer of every page by default. This can be modified to a certain extent, and in this article I'll explain the process.

Footers in PHP-Fusion

Below you can see the 3 different type of footers that are available in PHP-Fusion, this article is going to cover the copyright one at the absolute bottom of your pages. If you'd like, you can also read about modifying the footer in PHP-Fusion if you're interested in changing the main footer, or modify the sub-footer in PHP-Fusion.

php-fusion different footer options

Changing the copyright footer

The copyright notice content is controlled by the /includes/theme_functions_include.php file, in my case the full path to this file is /home/userna5/public_html/phpfusion/includes/theme_functions_include.php. Using the steps below I'll show you how you can modify what this footer displays.

  1. If you don't already know how to, read our guide on how do I edit a file on my server?
  2. Once you have the file opened, around line 203 you'd want to look for the following code:

    function showcopyright($class = "", $nobreak = false) {
    $link_class = $class ? " class='$class' " : "";
    $res = "Powered by <a href=''".$link_class.">PHP-Fusion</a> copyright © 2002 - ".date("Y")." by Nick Jones.";
    $res .= ($nobreak ? " " : "<br />\n");
    $res .= "Released as free software without warranties under <a href=''".$link_class.">GNU Affero GPL</a> v3.\n";
    return $res;

    Now technically when making modifications to the PHP-Fusion copyright notice, you'd want to adhere to the guidelines laid out under the PHP-Fusion Free Licensing.

    In this case the text "Powered by PHP-Fusion" is optional, so I'm going to be removing that for this example. I ended up with this text:

    function showcopyright($class = "", $nobreak = false) {
    $link_class = $class ? " class='$class' " : "";
    $res = "Copyright © <a href=''".$link_class.">PHP-Fusion</a> 2002 - ".date("Y")." by Nick Jones.";
    $res .= ($nobreak ? " " : "<br />\n");
    $res .= "Released as free software without warranties under <a href=''".$link_class.">GNU Affero GPL</a> v3.\n";
    return $res; }

    Here is the copyright footer before our edits:

    copyright footer before edit


    Here it is after:

    copyright footer after edit

You should now understand how to modify your copyright footer in PHP-Fusion.

Continued Education in Course 104: Changing the PHP-Fusion Appearance
You are viewing Section 6: Modify the copyright footer in PHP-Fusion
Section 5: Changing the banner/logo in PHP-Fusion
Section 7: Switching your PHP-Fusion theme

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!