Page Index Toggle Pages: [1] 2 3 ... 7 Send TopicPrint
Very Hot Topic (More than 25 Replies) Users Online Counter for SP 1.3.1 (Read 44856 times)
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Users Online Counter for SP 1.3.1
Nov 9th, 2003 at 4:59pm
Print Post  
I altered this mod a bit for SP 1.3.1:

http://boardmod.yabbforum.com/mods.php?searchfor=users_online_counter_13_sp1.zip

It works great, you can see it in action here:

http://www.everything-space.com/cgi-bin/yabb/YaBB.pl

Enjoy!   Smiley
  

Users_Online_Counter_131.zip ( 8 KB | Downloads )
Back to top
WWW  
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #1 - Nov 11th, 2003 at 4:44am
Print Post  
Good Job

Did you tweak any other features in this or did you just make this work in 1.3.1?

-Jazhawk
  
Back to top
IP Logged
 
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Re: Users Online Counter for SP 1.3.1
Reply #2 - Nov 11th, 2003 at 12:29pm
Print Post  
Thanks.

I left the features as is, just made it work for 1.3.1.
  
Back to top
WWW  
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #3 - Nov 11th, 2003 at 3:51pm
Print Post  
Good job again.

Thanx

Now, if you can just get the jump button to work with 1.3.1, I'll be very happy. Omario did one that now sits idle and unappreciated in the mod database called "Jumpto with Go Button"  Great mod by the way.  Tweaking that one for 1.3.1 would be perfect.  A lot of us would be pleased.

-Jazhawk
  
Back to top
IP Logged
 
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Re: Users Online Counter for SP 1.3.1
Reply #4 - Nov 11th, 2003 at 5:24pm
Print Post  
  
Back to top
WWW  
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #5 - Nov 11th, 2003 at 5:34pm
Print Post  
Thumbs Upsup:Thumbs Upsup:Thumbs Upsup:Thumbs Upsup:Thumbs Upsup:Thumbs Upsup:Thumbs Upsup: Thumbs Upsup:Thumbs Upsup:Thumbs Upsup:

I appreciate you Orstio! Thumbs Upsup:

-Jazhawk
« Last Edit: Nov 11th, 2003 at 7:50pm by Jazhawk »  
Back to top
IP Logged
 
Madkeen
Full Member
***
Offline



Posts: 147
Joined: May 18th, 2003
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #6 - Nov 13th, 2003 at 1:36am
Print Post  
I have had a who's online working for a while on my board and it lalso lists who has been online.

The thing is it only lists the members that have been online today. I would like to to display the number of guests that have been on to board today.

It currently displays

» There currently are (22) people on the board. «
6 Guests, 16 Members
MEMBERS NAMES..........

These 92 members, plus guests, have been on the board today: MEMBERS NAMES..............

Is this possible to get it to display

These 92 members, plus XX guests, have been on the board today: MEMBERS NAMES..............


See my board to see how it is currently displayed.
http://www.ausfish.com.au/cgi-ausfish/board/YaBB.cgi


  
Back to top
 
IP Logged
 
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Re: Users Online Counter for SP 1.3.1
Reply #7 - Nov 13th, 2003 at 2:23am
Print Post  
Which mod did you install that does that, Madkeen?
  
Back to top
WWW  
IP Logged
 
Madkeen
Full Member
***
Offline



Posts: 147
Joined: May 18th, 2003
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #8 - Nov 28th, 2003 at 11:48am
Print Post  
The  who's online Mod from 1.2 I think

  
Back to top
 
IP Logged
 
longhairandabeard
Full Member
***
Offline


I love YaBB 1G - SP1.3.1
- Almost!!

Posts: 139
Joined: May 18th, 2003
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #9 - Nov 29th, 2003 at 2:04am
Print Post  
I hate being a spoil-sport.. But the feature of showing Online Users, and counting them, is already there in YaBB 1.3.1

What other options does this mod offer?
  

I knew there would be days like these, but this many??
~ Ginger Meggs
Back to top
WWWYIM  
IP Logged
 
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Re: Users Online Counter for SP 1.3.1
Reply #10 - Nov 29th, 2003 at 2:30am
Print Post  
Good question LongHair.

It changes the forum index a little, by showing the most users ever online as per this screenshot:
  

UsersOnline.jpg ( 13 KB | Downloads )
UsersOnline.jpg
Back to top
WWW  
IP Logged
 
Orstio
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 53
Joined: Jul 24th, 2003
Re: Users Online Counter for SP 1.3.1
Reply #11 - Nov 29th, 2003 at 2:32am
Print Post  
And it also adds a link on the forum index (The part that says "There currently is (X) users on the board"), that gives a more detailed breakdown of the users:
  

whosonline.jpg ( 31 KB | Downloads )
whosonline.jpg
Back to top
WWW  
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #12 - Nov 29th, 2003 at 3:52pm
Print Post  
True dat longhairandabeard, but this mod not only tells who is currently online, but it tells who has been online that day and provides a tally. 

For some that might not be important but for those of us who operate a members only board, it tracks all who stop by.

-Jazhawk
  
Back to top
IP Logged
 
longhairandabeard
Full Member
***
Offline


I love YaBB 1G - SP1.3.1
- Almost!!

Posts: 139
Joined: May 18th, 2003
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #13 - Dec 1st, 2003 at 12:16am
Print Post  
Oh Great! It's spooky, but it was just what I was looking for my board, now that the traffic has finally started picking up..

Would also be great for spying on people.. Grin
  

I knew there would be days like these, but this many??
~ Ginger Meggs
Back to top
WWWYIM  
IP Logged
 
np6s4x
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 21
Location: Eau Claire
Joined: Nov 12th, 2003
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #14 - Dec 1st, 2003 at 4:24am
Print Post  
hmm...got an error at step 9... (fixed)

Step 1 ... ok

Step 2 ... ok

Step 3 ... ok

Step 4 ... ok

Step 5 ... ok

Step 6 ... ok

Step 7 ... ok

Step 8 ... ok

Step 9 ... failed - ERR(1): Search string could not be found

Step 10 ... ok

Step 11 ... ok

Step 12 ... ok

Step 13 ... ok



> modifications failed! 1 errors occured. No files will be modified. Please see readme for help on the error
messages.

edit:

what i have:

Code
Select All
      fopen(LOG, "$vardir/log.txt");
      my @online = <LOG>;
      fclose(LOG);
      fopen(LOG, ">$vardir/log.txt", 1);
      print LOG "$field|$date\n";
      foreach $curentry (@online) {
            $curentry =~ s/\n//g;
            ($name, $date1) = split(/\|/, $curentry);
            $date2 = $date;
            chomp $date1;
            chomp $date2;
            &calctime;
            if($name ne $field && $result <= $OnlineLogTime && $result >= 0 && $name ne $user_ip) { print LOG "$curentry\n"; }
            if(-e "$memberdir/$name.dat" && $result > $OnlineLogTime) {&WriteLastOnline($name, $date, "x", "x");}
      }
      fclose(LOG); 



what it wants:

Code
Select All
      fopen(LOG, "$vardir/log.txt");
      my @online = <LOG>;
      fclose(LOG);
      fopen(LOG, ">$vardir/log.txt", 1);
      print LOG "$field|$date\n";
      foreach $curentry (@online) {
            $curentry =~ s/\n//g;
            ($name, $date1) = split(/\|/, $curentry);
            $date2 = $date;
            chomp $date1;
            chomp $date2;
            &calctime;
            if($name ne $field && $result <= 15 && $result >= 0 && $name ne $user_ip) { print LOG "$curentry\n"; }
      }
      fclose(LOG); 



what do i change in the replace part to get it to work?

edit2: nevermind i found it, one of the mods i have installed added this line:

Code
Select All
            if(-e "$memberdir/$name.dat" && $result > $OnlineLogTime) {&WriteLastOnline($name, $date, "x", "x");} 



so i just added it to the search and replace part of the mod file and it works fine now...

i'll just leave all the above stuff there incase someone has the same problem...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 7
Send TopicPrint