Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: [ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)  (Read 11980 times)

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
[ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)
« Reply #15 on: June 06, 2007, 05:41:44 PM »

@ Patric - It is now posted in sNews 1.6 Mods.  :)
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • “I'm a self-made man and worships my creator.”
    • p-ahlqvist.com
[ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)
« Reply #16 on: June 06, 2007, 07:12:52 PM »

Mucho appriciativo, señor. Muy bueno, esta bien el made'o by you'o...
Logged
"It's only dead fish that goes with the flow... "
Updated

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
[ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)
« Reply #17 on: June 07, 2007, 07:02:54 AM »

this adon tont work right...in my site keep reseting no# for some reasons......
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • “I'm a self-made man and worships my creator.”
    • p-ahlqvist.com
[ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)
« Reply #18 on: June 07, 2007, 07:51:28 AM »

Mhm... mine is ticking on...
Logged
"It's only dead fish that goes with the flow... "
Updated

centered

  • Guest
[ADDON]Site stats/Online/Today/Yesterday/Total/IP (sNews All Versions)
« Reply #19 on: June 07, 2007, 02:02:33 PM »

Keyrock's 1.6 version works in 1.4 as well.  I place my slightly modded version in the Menu_items section:

Displaying text-db version
Code: [Select]
// DISPLAY MENU ITEMS

function menu_items() {

.....
</ul> <?

if (isset($_SESSION['Logged_In'])) {

# Statistics Panel Mod - for vanilla 1.6.0
// Display Statistics
include_once('statistics.php');
echo '<fieldset><h4>'.l('stats_title').'</h4>';
echo "".l('stats_online')."".$online."
"
."".l('stats_today')."".$today."
"
."".l('stats_yesterday')."".$yesterday."
"
."".l('stats_total')."".$total."
";
echo '</fieldset>
';
}

}
« Last Edit: September 22, 2007, 11:35:20 PM by Keyrocks »
Logged
Pages: 1 [2]