Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 08:21 am EDT

Geeklog Forums

Stats Block released


Status: offline

lasttime

Forum User
Junior
Registered: 04/25/02
Posts: 15
I have finally released my stats block for geeklog! It's functions are...
  • Welcome message for returning visitors
  • Number of visits this month
  • Number of pageviews per month
  • Number of visits today
  • Usernames of members who visited today(linked to profiles)
  • Number of guests today
  • Most Users Ever(now working!)
  • Members in the past hour
  • Restrict ability to view stats by username
Squatty of Squatty.com has done some pretty creative stuff with the block so you can go there and see some of the functions in action. Also Jameson of Discobiscuit.com told me he has it working but I think his stats are private like mine. I'd like to thank both of them for testing it so I can now offer it to you. Get it in the downloads section!
 Quote

Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
This is a great block! As you state in the code comments, the block truly can "deliver a lot more information" with the right amount of tweaking ;-) Great job! Many thanks! -squatty
In a world without walls and fences, who needs Windows and Gates?
 Quote

Jameson

Anonymous
This is long awaited block that Mr. GxBlock has done a great job on. Many thanks! I apologize for not making my stats public, but I've also been tweaking the queries to gather more information. I believe that this will be a great addition to the next release of GL. Enjoy! :\\ Jameson
 Quote

Status: offline

Euan

Forum User
Full Member
Registered: 04/22/02
Posts: 292
I think you have a problem in your code: //if($restricttouser != '')[ // if($_USER["username"] != $restricttouser)[ // $message .= "<B>Stats private by request of administrator.</B>"; // ]else[ I commented out this section and the two close curly brackets at the end, and it all shows up fine. I think you're missing an "else", aren't you? Thanks for the block - excellent piece of work! Cheers, Euan.
-- Heather Engineering
-- No job too small
 Quote

Status: offline

isol8

Forum User
Regular Poster
Registered: 05/14/02
Posts: 73
yep, this is definitely a cool block. but i had the same problem as euan. i commented out those lines and it worked fine. the two curly brackets he is talking about are directly above this line return $message; //Return visitor information
 Quote

All times are EDT. The time is now 08:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content