Kc Gen Time Revisited not working

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Kc Gen Time Revisited not working
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
I need a little low down on this mod. Does GZIP have to be enabled? If so, is it a different GZIP than what comes in the admin config panel with 7.4?
Basically, I installed the mod...tried it with gzip enabled and disabled and cant get it to work either way. And just a little jealous of Codezwiz cuz it looks good running on this site icon_biggrin.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
I dont have it running on this site anymore. Does it give you any errors?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Kc Gen Time Revisited not working
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Nope no errors..just gives me the same old page gen display as standard. I just assumed it was the one used here since the description matched your page gen display. So, is there a download for your version? That's the one I wanted icon_biggrin.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
No its just something I added from EE for debugging purposes. You should be able to get total queries with this:


$db->num_queries




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Kc Gen Time Revisited not working
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Cool...Thanks! I found another one from phpbbhacks that has some nice stuff in it too but don't like where it put the info..so after seeing how this all works I think I can peice all of these together into one that I like.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 


Originally posted by Telli @ Fri Dec 24, 2004 10:15 am:

No its just something I added from EE for debugging purposes. You should be able to get total queries with this:


$db->num_queries


Does the KC Page gen effect the performance of the site, and where would you place that

$db->num_queries
to get it to display?


Back to top Reply with quote
#7   re: Kc Gen Time Revisited not working
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Ok.. I got KC working. There's two option to the install text..one is for everyone to view the output and one is for admin only. For some reason the admin script wasn't working, I guess it didnt see me as an admin. The other problem was they tell you to put the code after themefooter (); in footer.php and it wasnt visible there on a dark background so I moved it to after function footmsg() { and then commented out this line

echo "<br>$total_time<br>\n</font>\n";

here's what the output looks like now

[ Script generation time: 0.5448s (PHP: 88% - SQL: 12%) ] - [ SQL queries: 42 ] - [ Pages served in past 5 minutes : 2 ] - [ GZIP disabled ] - [ Debug on ]

It's a very small mod so it doesnt affect performance at all.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
I have had the KC mod working for a while, I just didn't know if it was better to just use the other method telli talked about. I was able to mod the KC to display the full information to admin only, and the user just sees the output of time/queries similar to this site.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum