Page Index Toggle Pages: 1 2 [3] 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) TopStats 1.1 - More Forum Statistics (Read 26748 times)
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: TopStats 1.1 - More Forum Statistics
Reply #30 - Jan 2nd, 2004 at 10:45pm
Print Post  
TopStats 0.8_1.3.1

I also have your Top Posters 1 on.  I don't know if it modified anything critical.

-Jazhawk
  
Back to top
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #31 - Jan 3rd, 2004 at 12:33am
Print Post  
@Jazhawk - TopPosters should not be a problem, but things have been changed since TopStats 0.8 - i guess i would need to see some code from your modded BoardIndex.pl to be able to help you. Could you post from 3 lines before to 3 lines after the line with $txt{'158'} here?
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
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: TopStats 1.1 - More Forum Statistics
Reply #32 - Jan 3rd, 2004 at 1:10am
Print Post  
Code
Select All
</tr><tr>~;
		}
	}
	$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"> 



Here it is.  I picked up an extra line or two +/- {'158'} 

Thanx for looking this over.

-Jazhawk
  
Back to top
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #33 - Jan 3rd, 2004 at 1:17am
Print Post  
-k, but i need more  Grin

If you mail me the BoardIndex.pl i'll have a look.
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
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: TopStats 1.1 - More Forum Statistics
Reply #34 - Jan 3rd, 2004 at 2:15am
Print Post  
It's on the way.

-Jazhawk
  
Back to top
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #35 - Jan 3rd, 2004 at 2:32am
Print Post  
Jazhawk wrote on Jan 3rd, 2004 at 2:15am:
It's on the way.

-Jazhawk

And returned to sender - with attached "special for blue" mod  Wink
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
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: TopStats 1.1 - More Forum Statistics
Reply #36 - Jan 3rd, 2004 at 4:10am
Print Post  
I'm still waiting for it.  Did you remember to put a 37 cent stamp on the envelope?   Grin

-Jazhawk
  
Back to top
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #37 - Jan 3rd, 2004 at 4:21am
Print Post  
Strange - did mail it almost 2 hours ago - done again now...
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
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: TopStats 1.1 - More Forum Statistics
Reply #38 - Jan 3rd, 2004 at 4:41am
Print Post  
It's downloading now.  It will take a bit because there are a bunch of messages on my host mail server.

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


I love YaBB 1G - SP1!

Posts: 55
Joined: Jan 22nd, 2003
Re: TopStats 1.1 - More Forum Statistics
Reply #39 - Jan 3rd, 2004 at 4:24pm
Print Post  
Hi Carsten,

I downloaded the file from post #22 as requested and uploaded it to the site. The online users are still shown as 0. Can u please check it out?

Thanx in advance!
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #40 - Jan 6th, 2004 at 8:02am
Print Post  
Hi ! Carsten  Grin
I've got
Quote:
Untrapped Error:
Undefined subroutine &main::AccessCheck called at ./Sources/TopStats.pl line 353.


and below is the corresponding code in TopStats.pl

Code
Select All
      if (-e "$boardsdir/$curboard.mbo" ) {
                        unless ($settings[7] eq "Administrator") {
                              my $cookiename = "$cookiepassword$curboard";
                              my $crypass = crypt($boardpw{$curboard},$pwseed);
                              [highlight size=2 color=red background=]line 353 =>[/highlight]my $access = &AccessCheck($curboard, '');
                              if (($boardpw{$curboard} && $yyCookies{$cookiename} ne $crypass) || ($access ne "granted")) { next; }
                        }
                  }
 



I think might be the conflict with MCO mod(Mine is version 1.2)

Thankz
Jake
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #41 - Jan 6th, 2004 at 10:08am
Print Post  
The problem I mentioned above about untrapped error occured when users are not Admin but when user is Admin the problem is diferrence.Sound like about useronline.I think there is some conflicts with the code below
I have attached what the error showed coressponding to the piece of code above.
Thanks
Jake

Edited:
sorry it's my fault the untrapp error occurred with all users except Admin
« Last Edit: Jan 6th, 2004 at 11:47am by Jake »  

Forum_stat_jake.jpg ( 15 KB | Downloads )
Forum_stat_jake.jpg

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #42 - Jan 6th, 2004 at 11:35am
Print Post  
I think I've found a small bug,if the board name(not tha board ID) contained some strange character such as ||.So in the top 10 boards mis-interpetratated the stat of that board.
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: TopStats 1.1 - More Forum Statistics
Reply #43 - Jan 6th, 2004 at 4:31pm
Print Post  
Hi again
I try to look into the MBCO version 2 and myMBCO 1.2. The diferrence is that

1.2 there is no the function below
Quote:
3. Define which membergroups/users are allowed to start topics, post replies, and view topics for each board of your forum.


So I think this block of code below in TopStats.pl should be modified.
Code
Select All
if (-e "$boardsdir/$curboard.mbo" ) {
				unless ($settings[7] eq "Administrator") {
					my $cookiename = "$cookiepassword$curboard";
					my $crypass = crypt($boardpw{$curboard},$pwseed);
					my $access = &AccessCheck($curboard, '');
					if (($boardpw{$curboard} && $yyCookies{$cookiename} ne $crypass) || ($access ne "granted")) { next; }
				}
			} 



Can I remove all this block of code or is there anyways to correct this

I've attached the original MBCO mod ver 1.2

Thankz

  

more_boardcat_options_12.mod ( 11 KB | Downloads )

   
Back to top
 
IP Logged
 
meistergigi
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 23
Joined: Jan 8th, 2004
Re: TopStats 1.1 - More Forum Statistics
Reply #44 - Jan 11th, 2004 at 1:25am
Print Post  
Works great, cool !
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 
Send TopicPrint