Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:42 pm EST
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
9
9
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?
In a world without walls and fences, who needs Windows and Gates?
11
8
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
7
12
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
-- Heather Engineering
-- No job too small
10
9
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
8
12
Quote
All times are EST. The time is now 10:42 pm.
- 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