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 19091 times)
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 #30 - Dec 1st, 2005 at 4:26am
Print Post  
I've recently been informed that this mod doesn't work with the Users Today mod. I'll write up a patch mod when I can (expect a week or two).
  

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
 
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 #31 - Dec 3rd, 2005 at 3:27am
Print Post  
Turns out it was a problem with the LoadMiniUser subroutine. LoadMiniUser is called by LoadUser. If you rely on something generated in LoadMiniUser for the BoardIndex or MessageIndex, you'll need to check if it exists and LoadMiniUser. I can help with your mod if you want to be compatible with BIUC.
  

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
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #32 - Dec 28th, 2005 at 9:23am
Print Post  
Do you have any idea, how to make Users Today work correctly with you mod?

Larian
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #33 - Dec 28th, 2005 at 9:43am
Print Post  
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #34 - Dec 28th, 2005 at 1:50pm
Print Post  
Thanks Smiley

Lari
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #35 - Dec 31st, 2005 at 2:54pm
Print Post  
One thing boggles my mind seeing some of the cached data in the file though, namely the way it is cached.
One thing is the way the reg date variable is written, as plain text with a language dependent separator word "at" or "um" or "op".
Why not use the Unix timestamp like reg time?
Safes you the hassle of recalculating back and from timestamp to text and vice versa and allows very easy calculation as this is a plain number in seconds.

I thought actually all time values within Y2 were converted to GMT related Unix timestamps ? But I could be wrong about reg date.
  

Nothing to add here Smiley
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 #36 - Dec 31st, 2005 at 6:46pm
Print Post  
On my forum, regdate is the same type of string used by Y1. Even a user on my forum that has registered since my Y2 upgrade still has the "at" in the string. I'm not 100% sure if the regdate variable is required on the BoardIndex, as it's been a while since I've messed with this mod.

My mod doesn't do any of the work done by LoadUser, which might be a problem. It just loads the data in as loaded in the past.

Are there any other things that I could do better with this?
  

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
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #37 - Jan 1st, 2006 at 10:01pm
Print Post  
That's why I already wrote that I'm not sure of reg date.
During the writing of the new core of Y2 I pressed very hard to use a universal timestamp related to a global reference like GMT/UTC as this would make a board portable to any server on the globe.
For some reason the regdate was skipped in this process which makes it about the only non GMT unix timestamp related date/time variable in Y2.
  

Nothing to add here Smiley
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 #38 - Jan 2nd, 2006 at 4:54am
Print Post  
Isn't regdate just the string to display when a user registered? So it's not really used except for displaying the profile, I think.

We probably should continue this elsewhere, Wink but that's fine with me.
  

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
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #39 - Jul 28th, 2006 at 7:04am
Print Post  
Hi AK108
can you take a look on this mod? There a problem with empty username in Thread start, last poster etc... First loading works ok, say Larian.

Advanced User Color V1.0 for YaBB 2.1
  

greetings
Jeff
Back to top
WWW  
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 #40 - Jul 28th, 2006 at 6:07pm
Print Post  
I replied in your topic.
  

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
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #41 - Jul 28th, 2006 at 6:13pm
Print Post  
good.  Wink thnx.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
dumbelljunkie
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 51
Location: Eindhoven
Joined: Nov 4th, 2006
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #42 - Dec 23rd, 2006 at 8:56am
Print Post  
Here is an enoying situation:

When I first open a FF window to my forum it shows all the names and links perfectly. Then I go to a thread to reply. When I get back to the boardindex, allmost every name in the lastpost at the boardindex are gone. When I revalidate cache, it's ok and back to normal.
But this shouldn't be a daily thing to do right ? What is the problem here ? It shows the names one time, and then it doesn't show anything anymore until i revalidate cache.

Only my own name shows up in the lastposts..
  
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 #43 - Dec 24th, 2006 at 5:07am
Print Post  
What other mods are you using?
  

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
 
b8caster
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 14
Joined: Feb 19th, 2007
Re: Board Index User Cache 1.4 for YaBB 2.1 only
Reply #44 - Feb 19th, 2007 at 7:55pm
Print Post  
New bug:
Opening the main page, it shows all the "Users" at the bottom in their correct membergroup colors.  Then go read a thread.  When you come back, some of the membergroup colors have defaulted to basic members (the key on the right is fine).  When I clear the cache in the mod, it clears it up until I read another thread.

This only happens on the built-in newbie-to-God membergroups where I've changed the colors in the Admin Center.  The member groups I've created are fine.

I have this mod and the "Distilled email domains" mod installed on Yabb 2.1
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 5 
Send TopicPrint