Hack # |
Purpose (more-or-less in alphabetical order) |
File |
Change |
Contributor |
1 |
Email
To change the Email instructions text:
|
/locale/English/contact.php
|
Change from:
|
|
//SITEADMINEMAIL START
$locale['401'] =
"
There are several ways you can contact me:
You can email me directly at
".hide_email($settings['siteemail'])."
If you are a Member you can send me a
<a href='messages.php?msg_send=1'>Private Message</a>
Alternatively, you can fill in the form on this page which sends your message to me via Email.
";
//SITEADMINEMAIL END
• The above $locale['401'] is shown here as being wrapped (to fit on the page), but in the file it is NOT wrapped... it is all on 1 single line
|
|
Change to:
|
|
$locale['401'] =
"
<center>
There are several ways that you can contact me:
<br>
• You can email me directly at
<span style='color:blue;'>
<b>
".hide_email($settings['siteemail'])."
</b>
</span>
<br>
• If you are a Member and are Logged In, you can send me a
<span style='color:blue;'>
<b>
<a href='messages.php?msg_send=1'>Private Message</a>
</b>
</span>
<br>
• Alternatively, you can fill in the form on this page,
which
will send
your message to me via Email.
</center>
";
//SITEADMINEMAIL END
|
|
Figured it out
by myself
|
2 |
Footer
To add my own Footer, below the stock Chrome-Fusion footer:
|
/themes/templates/footer.php
|
Find the following text (at the end of the file):
|
|
dbclose();
?>
|
|
Add the lines in red:
|
|
dbclose();
?>
<?php
if
($_SERVER['REMOTE_ADDR'] == "192.168.2.1") {
include 'D:\Web\_common\_globals\jmm_global_footer.php';
echo '<br>';
include 'D:\Web\_common\_globals\jmm_global_banner_hosting.php';
include 'D:\Web\_common\_globals\jmm_global_tracker_phpwebstats.php';
} elseif
($_SERVER['REMOTE_ADDR'] != "192.168.2.1") {
include "/home/panauro1/public_html/common/_globals/jmm_global_footer.php";
echo '<br>';
include "/home/panauro1/public_html/common/_globals/jmm_global_banner_hosting.php";
include "/home/panauro1/public_html/common/_globals/jmm_global_tracker_phpwebstats.php";
echo '<br>';
?>
|
|
Figured it out
by myself
|
3 |
Tracking (phpWebStat)
Track website access using phpWebStat
|
/themes/templates/footer.php
|
Already added here in red at the end of the footer file (above):
|
|
dbclose();
?>
<?php
if
($_SERVER['REMOTE_ADDR'] == "192.168.2.1") {
include 'D:\Web\_common\_globals\jmm_global_footer.php';
echo '<br>';
include 'D:\Web\_common\_globals\jmm_global_banner_hosting.php';
include 'D:\Web\_common\_globals\jmm_global_tracker_phpwebstats.php';
} elseif
($_SERVER['REMOTE_ADDR'] != "192.168.2.1") {
include "/home/panauro1/public_html/common/_globals/jmm_global_footer.php";
echo '<br>';
include "/home/panauro1/public_html/common/_globals/jmm_global_banner_hosting.php";
include "/home/panauro1/public_html/common/_globals/jmm_global_tracker_phpwebstats.php";
echo '<br>';
?>
|
|
Figured it out
by myself
|