Welcome, Guest. Please Login or Register.
May 14, 2025, 10:07:05 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Members Online List « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Members Online List  (Read 4100 times)
BigMike
Noobie
*
Posts: 30


I'm only a llama if I have the Magic Script

Members Online List
« on: July 03, 2003, 02:48:47 AM »
Reply with quote

I recently converted from YaBB Gold SP1.2 and I had a nifty mod that would keep a list of all members that had logged on within that particular day. Every day it would clear the list and start over.

I am wondering if this has already been made for SE? I searched and could not find it.

Thanks in advance

Regards,
BigMike
Logged

I'm interested in starting a Magic Llama Development Team to get the mod coded and released. PM me if interested in helping.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:Members Online List
« Reply #1 on: July 03, 2003, 07:58:39 PM »
Reply with quote

that sounds cool... you mean a login/out log? neat

and if it's saved, you could set it so keep the las X days of log, if you have enough space, you can just keep it

and if it could let you search when was the last time a certain member logged in, even better... or what members were at a certain time online

if there's something wrong at some point, it'd prove useful to determine who was online at the time too...

that'd be account based though, if it could track guests, it'd be more complete, but a larger log too, of course

the info saved for each login or logout could be: account (if member), ip, date, time

all that info is already in the forum when the person is browsing it, so it shouldn't be too hard to save it to a table yabbse_loginout or something like that

for logout it'd be logged when the person clicks the logout button or his session expires... since it may expire while still browsing, thus having the person log back in in the next minutes, it could ignore that logout and back in if that happens within 5 minutes or whatever is set

just a few ideas :)
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
BigMike
Noobie
*
Posts: 30


I'm only a llama if I have the Magic Script

Re:Members Online List
« Reply #2 on: July 04, 2003, 01:25:03 AM »
Reply with quote

Yea it was a pretty cool feature. Made my board look like it had a whole ton of users at all time. I miss it.

Here's a screen shot (trying to save my bandwidth):



This was my record 28 users on at one time ;D back on Feb 21st. At that time in the day, you can see that 62 people had Logged into the board at least once. At midnight it would clear out and then start over as people logged in.
It would also be cool to see in what order certain people were logging in. And I later bolded the Admins and Moderators and it looked really cool-

Regards,
BigMike
Logged

I'm interested in starting a Magic Llama Development Team to get the mod coded and released. PM me if interested in helping.
BigMike
Noobie
*
Posts: 30


I'm only a llama if I have the Magic Script

Re:Members Online List
« Reply #3 on: July 05, 2003, 04:31:50 AM »
Reply with quote

Well looks like I am just going to script this one myself.

I'll let you know when I finish it! ;D

Regards,
BigMike
Logged

I'm interested in starting a Magic Llama Development Team to get the mod coded and released. PM me if interested in helping.
BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:Members Online List
« Reply #4 on: July 05, 2003, 12:08:20 PM »
Reply with quote

looks very nice!!

These members have visited the board at least one today:
Logged
Tywick
Noobie
*
Posts: 41


WWW
Re:Members Online List
« Reply #5 on: July 08, 2003, 09:34:51 AM »
Reply with quote

Quote from: BigMike on July 05, 2003, 04:31:50 AM
Well looks like I am just going to script this one myself.

I'll let you know when I finish it! ;D

Regards,
BigMike

Quote from: Anguz on July 03, 2003, 07:58:39 PM<snip>
and if it could let you search when was the last time a certain member logged in, even better... or what members were at a certain time online
</snip>

This can be accomplished refencing the "lastLogin" field in the "_users" table.

There may be a way to reference the "$settings[n]" array but I'm not sure which number of the array "lastLogin" is loaded into.

I hope this helps
Logged

GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Members Online List
« Reply #6 on: July 10, 2003, 05:14:18 PM »
Reply with quote

God, the amount of times i have asked for this within this forum, so am happy to see someone is looking into it. I even offered to pay someone to do it, but no joy!

My previous post:
http://www.yabbse.org/community/index.php?board=141;action=display;threadid=19364
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
BigMike
Noobie
*
Posts: 30


I'm only a llama if I have the Magic Script

Re:Members Online List
« Reply #7 on: July 17, 2003, 10:39:16 AM »
Reply with quote

Ok guys, its 3:30am and I have been coding since midnight. I am tired and I've got work at 8am :-X oh the life of a programmer ;)

So the good news is that I got it scripted and its working great (so far) but needs a couple of days testing before I release it.

Also, since this is my first mod that I'm releasing for public use, I will need to write the mod file on a clean board so you guys can eaisly install it. In other words, the mod is currently burried deep within my already highly mod'd page, so I will need to make it work on a stock setup.

But just give me a couple of days and I'll try to get it up for a download.

BTW, its posted above, but here is a direct link where you can see it in action -- way at the bottom of the main index:
http://board.marlincrawler.com

Let me know what you think-
I've already got some nice touches for instance if you are the first user to log on for a new day, then it will say on the first page load "No One Has Visited the Board Today." Then when you reload, it says "Hey (yourname) is the only one who has visited the board today!" And then of course it will read what you'r probably reading now, unless you are of course the first to load the page for today  ;) Also, my version writes the ',' comma to the previously logged on member. So theres no more ugly extra ',' hanging off the last members name (you can see it in my screen shot above).

3 Things I want to add before releasing it:
1) Make the names point to the user's profile
2) Bold all Moderator and Admin names
3) add a date with exact time of when the last record was set

Once I get all these things going I will release it. Looks like this upcoming Saturday evening or Sunday morning.... I should have some time.

I will also *learn* how to disable/enable from admin center, but I'll do that later.

Feedback appriciated! And remember this is the first day it's working, so I still need to check it for any bugs...

Good night!!
BigMike
« Last Edit: July 17, 2003, 10:51:43 AM by BigMike » Logged

I'm interested in starting a Magic Llama Development Team to get the mod coded and released. PM me if interested in helping.
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Members Online List
« Reply #8 on: July 17, 2003, 11:13:23 AM »
Reply with quote

"Absolutely fabulous" comes to mind :)
Cant wait for the mod to be released.
My board is so heavily modded that i will have to change the mod anyway :)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
BigMike
Noobie
*
Posts: 30


I'm only a llama if I have the Magic Script

Re:Members Online List
« Reply #9 on: July 17, 2003, 05:30:00 PM »
Reply with quote

If someone could help me......


I've been searching around through SE's code (you know the old learn-as-you-go php) and I cant find out how to do this.


Let's say I've got the following value:

$temp = "365 days in 1 year";

Now how can I get the value of the first item? In this case, 365.

Right? I want to set another variable equal to 365 -- as retrived from the $temp vaiable, in this case the first number.
Right now, my only knowledge would be way to long and un efficient. I know this IS REALLY DUMB but I could explode by using

$this = explode(' ',$temp);

and then $this[0] would then equal '365' but Im sure their is a better way of doing this.

Actually, Im looking for some code that could get the following:

**now im making this up, but I think their is something like this **

$this = get(0,2,$temp);

And what this would do is start at the very first element in the array, which is a '3', and continue until the 3rd element, the '5', which all together would be 365. I remember doing this in C++

Thanks in advance,
BigMike
« Last Edit: July 17, 2003, 05:33:08 PM by BigMike » Logged

I'm interested in starting a Magic Llama Development Team to get the mod coded and released. PM me if interested in helping.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:Members Online List
« Reply #10 on: July 17, 2003, 09:10:57 PM »
Reply with quote

great!! I'll be waiting for the release!!  :D

please post here when you do so we're notified ;)

suggestion: add a " and xx unique Guests" to the end of the list
« Last Edit: July 17, 2003, 09:12:16 PM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:Members Online List
« Reply #11 on: July 17, 2003, 09:46:13 PM »
Reply with quote

QuoteIf someone could help me......
I wish I could Bigmike.
Just hope spaceman or [Unknown] read this :)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Fizzy
Full Member
***
Posts: 214


Re:Members Online List
« Reply #12 on: July 19, 2003, 01:31:53 PM »
Reply with quote

Great work BigMike,

I agree with GWP.
If anyone can, SpaceMan can  ;)
Logged
Fizzy
Full Member
***
Posts: 214


Re:Members Online List
« Reply #13 on: July 19, 2003, 01:35:46 PM »
Reply with quote

Quote from: BigMike on July 04, 2003, 01:25:03 AM
This was my record 28 users on at one time ;D

Hey there BM ;)

Just a question, but does Gold log the number of guests by IP number?
If so, I found that one guest using an AOL connection could be recorded as a rotating IP number. The effect would be to show 10 guests when there really was only one.
I tend to ignore the "number of guests" on my board for that very reason.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:Members Online List
« Reply #14 on: July 20, 2003, 01:58:40 AM »
Reply with quote

QuoteJust a question, but does Gold log the number of guests by IP number?
If so, I found that one guest using an AOL connection could be recorded as a rotating IP number. The effect would be to show 10 guests when there really was only one.
I tend to ignore the "number of guests" on my board for that very reason.

that's the only way I can think of to keep track of the number of guests... unless it checks the cookie in the computer and keeps a count of unique cookies, wich I doubt

on the other hand, even if the same person could have different IPs, the count would be daily, I doubt the same person will visit the board more than once a day with different IPs... at least not more than 2 IPs and that'd be with a just a few Guests

so the worst it could cause would be to count just a few more guest than there really are a day, which isn't that bad, specially not if it means you can have a better count of how many ppl actually visited the board... only counting the members ain't accurate either, I normally have more Guests than members in my forums

and the Guest count could be optional, so you have it if you want to and don't if not
« Last Edit: July 20, 2003, 02:13:38 AM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Members Online List « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.227 seconds with 20 queries.