Page Index Toggle Pages: 1 [2] 3 4 ... 7 Send TopicPrint
Very Hot Topic (More than 25 Replies) Users Online Counter for SP 1.3.1 (Read 45175 times)
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 #15 - Dec 1st, 2003 at 6:37am
Print Post  
A bug:

The url to a board on the Who's Online page appears as http://xyz.com/YaBB.cgi?board=;board=news
and clicking on it leads to an 'access denied' error page..

And a clarification:

Does this mod show Most Users ever online or Most Users online today ?
I think it's the former..

And a suggestion:
In the first line of the display in board index, it would be better to have 'There currently are xx people on the board.' .. because in the very next line 'users' refers to members not all people online..


Another suggestion.. Tongue

I'd like to see the last line of the display as: 'Most people ever online were xxx at hh.mm am on pp/qq/rr.'


And finally a random comment:

I've never understood if there are boards in my forum.. or forums in my board..  Embarrassed Apparently YaBB refers to the whole as a forum, and there are individual boards under that.. However, this mod does just the opposite.. Anyone care to explain? Roll Eyes
  

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


I love YaBB 1G - SP1.2!

Posts: 28
Joined: Jul 23rd, 2003
Re: Users Online Counter for SP 1.3.1
Reply #16 - Dec 1st, 2003 at 7:04am
Print Post  
I've just installed this mod but I'm not getting it showing;
http://www.bettasonli.com/cgi-bin/yabb/YaBB.cgi

It shows this;
The day with the most Users online was Aug 29th, 2003, 12:40pm with 6 Users!

instead of something like this as it supposed to;
These 2 members, plus guests, were on the board today: Orstio, Sarah90,

What is wrong???
  
Back to top
WWW  
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 #17 - Dec 1st, 2003 at 8:24am
Print Post  
Chris_Yew wrote on Dec 1st, 2003 at 7:04am:
I've just installed this mod but I'm not getting it showing;
http://www.bettasonli.com/cgi-bin/yabb/YaBB.cgi

It shows this;
The day with the most Users online was Aug 29th, 2003, 12:40pm with 6 Users!

instead of something like this as it supposed to;
These 2 members, plus guests, were on the board today: Orstio, Sarah90,

What is wrong???


same here,

------------
» There currently is (1) user on the board. «
0 Guests, 1 User
Admin
The day with the most Users online was Nov 30th, 2003, 10:46pm with 3 Users!
-------------

is all it says

(as u can see i just installed it, a few hours ago)

also i have to be logged in to see it, if i logout, then it isn't there, and yea, the "Allow Guests/Users to view..." box(es) are checked...
  
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 #18 - Dec 1st, 2003 at 12:56pm
Print Post  
@Longhairandbeard:

In Who.pl, change this line:
Code
Select All
							$boardname = "<a href=\"$cgi;board=$boardwho\">$curboardname</a>";
 



to this:

Code
Select All
							$boardname = "<a href=\"$cgi$boardwho\">$curboardname</a>"; 



It does show the most users ever online, but it only starts counting from the day you install the mod.

@Chris_Yew:

You're thinking of the "Users Today" mod:

http://www.boardmod.org/mods.php?dl=474&filename=UsersToday.zip

  
Back to top
WWW  
IP Logged
 
William
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Aug 19th, 2002
Re: Users Online Counter for SP 1.3.1
Reply #19 - Dec 1st, 2003 at 4:25pm
Print Post  
There is nothing to show in detail in the whoonline. Can anyone tell me what part did I missing?

The following line doesn't work
<!--#include virtual="/cgi-bin/YaBB/UserLogger.pl"-->
OR
<!--#exec cgi="/cgi-bin/YaBB/UserLogger.pl"-->
  
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 #20 - Dec 1st, 2003 at 10:37pm
Print Post  
Thanx for the tip, Orstio... The line for the thread links also needs to be changed, btw..
  

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


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #21 - Dec 7th, 2003 at 10:46pm
Print Post  
AAUUGGHH!!

This mod is driving me crazy!

I run into problems with steps 2, 9, and 13.

13 is due to another mod, and its problem is easy to fix.

9 is easy to fix with the information in this thread.

But in step two, I have a problem. The mod looks for:

Code
Select All
	</tr><tr>
	  <td class="catbg" bgcolor="$color{'catbg'}" colspan="2"> <font size="2" class="catbg"><b>$txt{'158'}</b></font></td>
	</tr><tr>
	  <td class="windowbg" bgcolor="$color{'windowbg'}" width="20" valign="middle" align="center"><img src="$imagesdir/online.gif" border="0" alt=""></td>
	  <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size=1>
	  <table width="98%" cellpadding="3" align="center">
	    <tr>
		<td valign="top" align="left"><font size="1">
		$guests $txt{'141'}, $numusers $txt{'142'}<BR>$users
		</font></td>
	    </tr>
	  </table>
	  </font></td>
	</tr>~;
 



But I do not have the ~; on that last line. It isn't there in my file, and my forum works just fine.

If I remove that ~; from the mod file, so it isn't looking for it, the mod will install, but the board display is then broken.

If I try to remove either of the ~; in the replacement code, it changes just which line in BoardIndex it is broken -at-, but it is -still- broken in BoardIndex.pl.

Has anybody run into this? Does anybody have any suggestions?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


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 #22 - Dec 7th, 2003 at 10:56pm
Print Post  
What happens if you add the ~; to BoardIndex.pl before you install?
  
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #23 - Dec 7th, 2003 at 11:00pm
Print Post  
Same thing.

Either way, it is replaced by the stuff in the 'Replace with' section of the mod.

This looked like what I wanted, but for some reson, it just won't go in with my board index.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #24 - Dec 10th, 2003 at 6:00pm
Print Post  
I really want to get this mod working on my board, but I keep having problems with step two not wanting to work.

Attached is my BoardIndex.pl ... can anybody take a look and try to let me know what I would need to use for step two to get this working on my board?

I'd appreciate any help.
  

BoardIndexJB.txt ( 40 KB | Downloads )

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


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 #25 - Dec 11th, 2003 at 2:50am
Print Post  
It looks like an incompatibility with the Forum Staff mod you have.

This should work:

Search for:
Code
Select All
	$yymain .= qq~
	  <td class="catbg" bgcolor="$color{'catbg'}" colspan="2"> <font size="2" class="catbg"><b>$txt{'158'}</b></font></td>
	</tr><tr>
	  <td class="windowbg" bgcolor="$color{'windowbg'}" width="20" valign="middle" align="center"><img src="$imagesdir/online.gif" border="0" alt=""></td>
	  <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size=1>
	  <table width="98%" cellpadding="3" align="center">
	    <tr>
		<td valign="top" align="left"><font size="1">
		$guests $txt{'141'}, $numusers $txt{'142'}<BR>$users
		</font></td>
	    </tr>
	  </table>
	  </font></td>
	</tr>
 



Replace with:

Code
Select All
<!-- WHOSON MOD START -->
	if ($Show_OnlineBar == 1 || $Show_OnlineBar eq "") {
		$yymain .= qq~
	<tr>
	  <td class="catbg" bgcolor="$color{'catbg'}" colspan="2"> <font size="2" class="catbg"><b>$txt{'158'}</b></font></td>
	</tr><tr>
	  <td class="windowbg" bgcolor="$color{'windowbg'}" width="20" valign="middle" align="center"><img src="$imagesdir/online.gif" border="0" alt=""></td>
	  <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size=1>
	  <table width="98%" cellpadding="3" align="center">
	    <tr>
		<td valign="top" align="left"><font size="1">
		$uwhoonline$uguest $uuser<BR>$users $uonline
		</font></td>
	    </tr>
	  </table>
	  </font></td>
	</tr>~;
	}
	## WHOSON MOD END ##
	$yymain .= qq~
 

  
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #26 - Dec 11th, 2003 at 6:14am
Print Post  
Didn't work.

Turned out there were more than one mod conflicting with this.

I hunted down the extra mods, one by one, and removed them, and then this mod (the original version) went in fine, and worked.

Now I'll work out all the details here, then I'll see if I can add back on those other mods ... may be one of the cases where order becomes very important!

But now that I've seen it can and will work well, thank you for a great mod update!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #27 - Dec 11th, 2003 at 7:05am
Print Post  
Yes, as long on this mod goes in first, all three will install, and all three will work fine! I'm now good to go, as far as the first part of all this goes.

Now on to the second part ... I also have added on the Users Today mod, using the version that is supposed to be compatible with the Users Online Counter. This is the small mod that includes a -list- of all the people who were on the board, today, resetting itself at midnight each night.

Problem is, it displays the text "These users were on line today:" but it doesn't show the names. Since these mods are sometimes used together, I figured I would ask here if anybody knows why this list doesn't show up.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


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 #28 - Dec 11th, 2003 at 1:07pm
Print Post  
Great!  Glad you got it working.

The answer to your Users Today question is here:

http://www.boardmod.org/yabb/YaBB.pl?board=modbugs;action=display;num=1051189480...
  
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Users Online Counter for SP 1.3.1
Reply #29 - Dec 11th, 2003 at 3:42pm
Print Post  
Exactly what it was, and now -everything- is working perfectly!

Thanks so much for your assistance!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 7
Send TopicPrint