You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 73 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Unique Hits [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Fri Apr 18, 2003 6:58 pm Reply with quoteBack to top

Hello,

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.
Find all posts by foxyfemfemView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Apr 18, 2003 11:37 pm Reply with quoteBack to top

they're not useless files. They're used by the forums.

AI
Find all posts by ArtificialIntelView user's profileSend private message
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Sat Apr 19, 2003 5:53 am Reply with quoteBack to top

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.
Find all posts by foxyfemfemView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Apr 19, 2003 6:00 am Reply with quoteBack to top

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.

AI
Find all posts by ArtificialIntelView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.176 Seconds - 332 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::