Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD]Hits counter with cache
You don't have permission for this action!
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-10-24 13:21:14
This is a nice new hits counter that gets the exact amount of page hits from the cache



Upload counter_block.php to ur blocks folder & cache_hits.txt to ur cache folder and the folder digits to ur images dir

Open advancestats_block.php

FIND

end_block();

?>
Replace with


?>

<? include ('blocks/counter_block.php'); end_block(); ?>





To change digit styles in counter_block.php

Find



$imagetype = "1";
Change to the number of the folder u want

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3078"]HITS_COUNTER.rar[/url]

Yes sorry walker or 755 is ok on some servers
hitscounter.PNG
hitscounter.PNG
HITS_COUNTER.rar
Download
Unknown User
2008-10-24 15:26:55
looks nice thanks. the cache_hits.txt has to be chmoded 777 right?
Unknown User
2008-10-25 03:22:36
777 or 666, either.
Unknown User
2008-10-25 23:52:46
Parse error: syntax error, unexpected $end in advancestats_block.php on line 89

mine was a lil diff here incase anyone has same error as me..

find

end_block();

}

?>

change to

?>

<? include ('blocks/counter_block.php'); end_block(); } ?>

its only } but happened to me so could happen to someone else lol. nice mod foz
Unknown User
2008-11-10 21:43:54
how can we put the counter at zero

thanks

Gia
Unknown User
2008-11-10 21:50:55
"giajane, post: 48797":
how can we put the counter at zero
thanks

Gia
Open the cache and set it to 0
Unknown User
2008-11-20 03:22:45
Thx work fine :unsure:
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728