Page Index Toggle Pages: 1 [2] 3 4 5 Send TopicPrint
Very Hot Topic (More than 25 Replies) Board Index User Cache 1.4 for YaBB 2.1 only (Read 19099 times)
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.2 for YaBB 2 Final
Reply #15 - Oct 13th, 2005 at 2:56am
Print Post  
That could very well be. As it stands now, this isn't a problem, just annoying. I'll add code to try harder to catch Guests. But shouldn't all Guests have their username being "Guest"?
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Board Index User Cache 1.2 for YaBB 2 Final
Reply #16 - Oct 13th, 2005 at 3:40am
Print Post  
I agree with you totally.  No sense in trying to fix something that you have a work around for, at least untill the next update. 

But after studying the code a little longer I noticed one thing, Guests are not added to the %memberaddgroup hash. So, it seems that Guests in the file boardindexusers.cache is not the issue.  This leads to the final question, why did someone not have a regtime?  Since it works now, we may never know.

Sorry for the troubles.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.2 for YaBB 2 Final
Reply #17 - Oct 13th, 2005 at 12:42pm
Print Post  
It's not a problem. Just glad there's people looking at my code Wink
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
mdrmdr
New Member
*
Offline


Take it easy!

Posts: 23
Location: Ampfing
Joined: Oct 8th, 2005
Gender: Male
Re: Board Index User Cache 1.2 for YaBB 2 Final
Reply #18 - Oct 25th, 2005 at 8:22am
Print Post  
Did ever anybody made measurements how much this mod helps in terms of board response-time?

My board runs on a server hosting other heavy used sites, and such a cache might help a lot.

Can it called (reasonable) stable already?

Thanks
Manfred
  
Back to top
WWW  
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.2 for YaBB 2 Final
Reply #19 - Oct 25th, 2005 at 11:50pm
Print Post  
BIUC 1.3 is out, see first post for file.

I do not have any information on how much it will help. It has been stable on my forum, which has used it continously since its release.

I have updated this, though, to trap any errors it may generate, so they won't mess up your board. So version 1.3 should be considered reasonably stable.
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
TheSkier
Junior Member
**
Offline



Posts: 94
Location: Sakhalin
Joined: Jul 9th, 2004
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #20 - Oct 26th, 2005 at 1:05am
Print Post  
AK108 wrote on Oct 8th, 2005 at 1:55am:
Latest version: Board Index User Cache 1.3 for YaBB 2...

Hi!
hardcoded string found in BIUC.pl:
Code
Select All
     <tr valign="middle">
	 <td align="left" class="titlebg">
		 <img src="http://fkp.jkcsi.com/yabbfiles/Templates/Forum/default/preferences.gif" alt="" border="0" /><b>$biuc_txt{1}</b>
	   </td>
     </tr>
 


  
Back to top
WWW  
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #21 - Oct 26th, 2005 at 1:14am
Print Post  
Eek, thanks, a new zip file (still version 1.3) is uploaded.
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #22 - Oct 26th, 2005 at 1:54am
Print Post  
@AK108
I have gotten the folowing error twice now. Once last week and just now.
Code
Select All
Untrapped Error:
./Variables/boardindexusers.cache did not return a true value at ./Sources/BoardIndex.pl line 25. Compilation failed in require at /usr/local/psa/home/vhosts/damagodannie.com/cgi-bin/yabb2/YaBB.pl line 146.  


Here is what is in BoardIndex.cache line 25
Code
Select All
if(-e "$vardir/boardindexusers.cache") {require "$vardir/boardindexusers.cache";} 


and YaBB.pl line146
Code
Select All
		require "$sourcedir/BoardIndex.pl"; 


any ideas why?
  
Back to top
 
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #23 - Oct 26th, 2005 at 2:21am
Print Post  
This means that the cache wasn't written correctly. I don't know exactly why -- if this happens again and you catch it, could you send me the file? What version are you using, by the way? (1.0 and 1.1 had a handful of bugs in it that could cause this)

If you don't want to risk the possibility of the error crashing your boards, upgrade to 1.3. I made it catch the errors on the board index, so you can trap them and do what you want.
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #24 - Oct 26th, 2005 at 2:37am
Print Post  
AK108 wrote on Oct 26th, 2005 at 2:21am:
This means that the cache wasn't written correctly. I don't know exactly why -- if this happens again and you catch it, could you send me the file? What version are you using, by the way? (1.0 and 1.1 had a handful of bugs in it that could cause this)

If you don't want to risk the possibility of the error crashing your boards, upgrade to 1.3. I made it catch the errors on the board index, so you can trap them and do what you want.

Thanks AK108, uprgraded version. Error is now gone. I missed the 1.3 post before I made my post, then seen it afterwards.
« Last Edit: Nov 5th, 2005 at 6:44am by MetalJoe »  
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #25 - Nov 4th, 2005 at 7:03pm
Print Post  
Here a German language File:

Code
Select All
###############################################################################
# BIUC.lng                                                                    #
###############################################################################
# BIUC: Board Index User Cache                                                #
# Provides for a speed up on the Board Index by using caching.                #
# Version:        1.3 (YaBB 2.0)                                              #
# Released:       October 25th, 2005                                          #
# =========================================================================== #
# Written by AK108 for the YaBB community                                     #
###############################################################################
# BIUC Language file. Provides text for BIUC.pl                               #
###############################################################################

%biuc_txt = (
0, 'Board Index User Cache',
1, 'Lebensdauer des Cache',
2, 'aktuelle Lebensdauer:',
3, 'Sekunden (default 15 Minuten = 900 Sekunden)',
4, 'Dauer für die der Cache gültig ist (in Sekunden):',
5, 'Änderungen speichern',
6, 'Cache erneuern',
7, 'Falls der Cache Probleme macht, können Sie hier eine Neuanlage erzwingen.'
);

1;
 

  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.3 for YaBB 2 Final
Reply #26 - Nov 5th, 2005 at 2:47am
Print Post  
Thanks, I'll add that to my next package.
  

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
beej
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 8
Joined: Nov 4th, 2005
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #27 - Nov 11th, 2005 at 3:55am
Print Post  
silly question

the title of this topic says version 1.4
the file attached in the first post says 1.3?

am I missing something here? maybe I shouldn't be trying to tweak my board while drinking Wink but yeah..
  
Back to top
 
IP Logged
 
AK108
God Member
*****
Offline



Posts: 942
Joined: Oct 1st, 2003
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #28 - Nov 11th, 2005 at 4:50pm
Print Post  
Yeah, I got interrupted last night as I was updating, so I had to quickly revert to 1.3.

But I just finished up 1.4, and it's on the top post now. Use 1.4 if you are using 2.1 already. If you're using 2.0, 1.3 works quite well in my experience.

If you REALLY need a version for YaBB 2.0 Final: I've attached 1.3 here. I doubt it will ever be updated with improvements from now on, but here it is.
  

biuc1.3.zip ( 4 KB | Downloads )

For my mods, check out my public notes.

You might be interested in my projects, or my forum, the Flying Kirby Pub.
Back to top
WWWAIM  
IP Logged
 
beej
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 8
Joined: Nov 4th, 2005
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #29 - Nov 11th, 2005 at 6:55pm
Print Post  
I'll grab and install 1.4 as i am on 2.1

thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 5
Send TopicPrint