SEO Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Scripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old November 28th, 2005, 04:50 PM
genstar genstar is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: montreal
Posts: 24 genstar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 50 m 53 sec
Reputation Power: 0
Include in .php page with template

hi,

i have been trying to resolve my problem for 2 days now and i must ask for your help.

I am using phpBB message board, and i want to install a web stats script. the stats script works fine on all non-phpbb pages. i guess that's because phpbb uses templates to display the forum. this is the code that should work on the pages:

<?php @include_once $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT'].'/twatch_include/logger.php'; ?>

whatever i do, however i change the code, it never works. the code just shows in my html without the counter working.

my guess is that it's because my index.php comes from a template.... i just don't know....

thank you very much for any help!
G.

Reply With Quote
  #2  
Old November 28th, 2005, 09:48 PM
mrkryz03 mrkryz03 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: NYC
Posts: 143 mrkryz03 User rank is Lance Corporal (50 - 100 Reputation Level)mrkryz03 User rank is Lance Corporal (50 - 100 Reputation Level)mrkryz03 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 4 Days 13 h 16 m 44 sec
Reputation Power: 3
Quote:
Originally Posted by genstar
hi,

i have been trying to resolve my problem for 2 days now and i must ask for your help.

I am using phpBB message board, and i want to install a web stats script. the stats script works fine on all non-phpbb pages. i guess that's because phpbb uses templates to display the forum. this is the code that should work on the pages:

<?php @include_once $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT'].'/twatch_include/logger.php'; ?>

whatever i do, however i change the code, it never works. the code just shows in my html without the counter working.

my guess is that it's because my index.php comes from a template.... i just don't know....

thank you very much for any help!
G.



Try adding that line to page_header.php... should work for your purpose... I havent used phbb in ages though lol

Reply With Quote
  #3  
Old November 29th, 2005, 07:30 AM
MABDesign's Avatar
MABDesign MABDesign is offline
SEO Ninja
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Richmond/Raleigh
Posts: 298 MABDesign User rank is Corporal (100 - 500 Reputation Level)MABDesign User rank is Corporal (100 - 500 Reputation Level)MABDesign User rank is Corporal (100 - 500 Reputation Level)MABDesign User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 3 h 44 m 13 sec
Reputation Power: 5
phpbb and the UBB's just worry the hell outta me security-wise, but to each his own.

Reply With Quote
  #4  
Old November 29th, 2005, 08:15 AM
genstar genstar is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: montreal
Posts: 24 genstar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 50 m 53 sec
Reputation Power: 0
MABDesign thank you for your reply

Quote:
phpbb and the UBB's just worry the hell outta me security-wise, but to each his own.


can you tell me just a little more what your concerns are security-wise? i'm interested to hear all opinions.
what is UBB?

thank you!

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherSEO Scripts > Include in .php page with template


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway