HDVinnie |
23rd November 2015 16:23 |
first you need to make a disclaimer.php
Code:
Global $SITENAME;
$disclaimer="
None of the files shown here are actually hosted on the server of (".$SITENAME."). The links are provided solely by this site's users. The administrator of this site cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. By registering on and/or using this website, it is assumed that you, as the user, have read, understood, and agreed to all the terms and conditions set forth by the site's owner. |
|
"
?>
now save this as disclaimer.php and place it on your server in the include folder. Now while your in the include folder download a copy of the functions.php and add this.
Code:
/* This is for a disclaimer */
function print_disclaimer()
{
if (file_exists("include/disclaimer.php"))
{
include("include/disclaimer.php");
}
else
$disclaimer="";
return $disclaimer;
}
/* End Disclaimer */
Then search for this in functions php "stdfoot"
After
Code:
$tpl->set('xbtit_debug', (($PRINT_DEBUG)?print_debug():""));
Add
$tpl->set('news_text',print_disclaimer());
Now save the file and add it on server
Bump: next you must go into your style folder and then into whatever theme you want this disclaimer to show on. So say for example style/Red Theme/
Within that theme folder you will see a file called main.tpl
Download it
Open it up and find this:
Now right after it add this
Save and upload
|