Welcome to Geeklog Saturday, February 16 2019 @ 02:26 am EST

Geeklog Forums

Stats Block released


Status: offline

lasttime

Forum User
Junior
Registered: 25/04/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!

Status: offline

squatty

Forum User
Full Member
Registered: 21/01/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?

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

Status: offline

Euan

Forum User
Full Member
Registered: 22/04/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

Status: offline

isol8

Forum User
Regular Poster
Registered: 14/05/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

All times are EST. The time is now 02:26 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