I want to add a unique hit mod to my website. The mod is very easy to install but there's two major problems. I have to add two codes to files that really aren't useful for phpnuke.
(1) the overall_footer.tpl - I don't see how this file is used on phpnuke due to the fact the main directory has the footer.php file. I'd like to add the code there.
(2) the page_tail.php file in the include folder. Another file that is useless because of the footer.php file.
This code belong on the page_tail.php but I want to place in on the footer.php file instead
Code:
//Unique Hits Mod
$unique_hits = '<br /><span class="copyright">There have been ' . uniquehits() . ' unique hit(s) in the past 24 hours.</span>';
This code belong on the overall_footer.tpl I want to add it on the footer.php file as well.
Code:
{Unique Hits}
Is it possible to add these two codes on the footer.php without causing a disaster?
_________________ If you shoot for the moon and miss, you'll still be amongst the stars.
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Fri Apr 18, 2003 11:37 pm
they're not useless files. They're used by the forums.
AI
foxyfemfem Support Staff
Joined: Jan 23, 2003
Posts: 668
Location: USA
Posted:
Sat Apr 19, 2003 5:53 am
Can I add the codes to the footer.php file instead of the forum footer files? I want "There has been x amount of unique hits in the past 24 hours" placed above the "Page generation" statement.
_________________ If you shoot for the moon and miss, you'll still be amongst the stars.
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Sat Apr 19, 2003 6:00 am
it'll have to go either above the "This site's code is ........." line, or below the page generation line becasue they're both part of FB's copyright script.
but yes, you could stick those in the footer.php file.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum