Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Better Writelog (Read 2009 times)
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Better Writelog
Jan 16th, 2007 at 3:31pm
Print Post  
Better Writelog Version 1.1


Why better?
Change is very bit. but
- to make an end of .vars file fault. I hope.  Grin
- speedup
- save server's memory

Version History:
ver 1.0 - Initial release
ver 1.1      - 1 byte Cheesy  ( replace $date2 with $date )

« Last Edit: Jan 17th, 2007 at 9:08pm by Zoo »  

Writelog_New_V1_1.zip ( 1 KB | Downloads )
Back to top
 
IP Logged
 
aerow90
Senior Member
****
Offline



Posts: 253
Joined: Mar 18th, 2006
Re: Better Writelog
Reply #1 - Jan 16th, 2007 at 4:52pm
Print Post  
Hi, get a Server error 500 because of the Subs.pl  Undecided
  
Back to top
WWW  
IP Logged
 
MF-B
Senior Member
****
Offline



Posts: 410
Location: Moscow
Joined: Apr 11th, 2006
Gender: Male
Re: Better Writelog
Reply #2 - Jan 16th, 2007 at 5:08pm
Print Post  
Code
Select All
&UserAccount($username, "update", "lastpost+lastonline");
 




IT's code from YaBB2.2 Grin
  
Back to top
WWW  
IP Logged
 
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Better Writelog
Reply #3 - Jan 16th, 2007 at 5:37pm
Print Post  
aerow90 wrote on Jan 16th, 2007 at 4:52pm:
Hi, get a Server error 500 because of the Subs.pl  Undecided

hmm. now i at home and hav'nt yabb
what's the exact error, (eg. from server log)


MF-B wrote on Jan 16th, 2007 at 5:08pm:
IT's code from YaBB2.2 Grin

it's code from my head ... and to Y2.2  Wink
  
Back to top
 
IP Logged
 
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Better Writelog
Reply #4 - Jan 17th, 2007 at 12:29am
Print Post  
attachments capacity 0 kilobytes.

aerow90: mod code is fine.  some other to cause
  
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: Better Writelog
Reply #5 - Jan 17th, 2007 at 8:40am
Print Post  
Hi Zoo
works for me on clean board and on my Support Forum with 80 other mods.  8)
  

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



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: Better Writelog
Reply #6 - Jan 17th, 2007 at 10:38am
Print Post  
Works at my forum (with many other mods) without problems!

Larian
  
Back to top
 
IP Logged
 
aerow90
Senior Member
****
Offline



Posts: 253
Joined: Mar 18th, 2006
Re: Better Writelog
Reply #7 - Jan 17th, 2007 at 12:31pm
Print Post  
hmm, donīt know
  
Back to top
WWW  
IP Logged
 
Zoo
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 290
Joined: Jan 22nd, 2003
Re: Better Writelog
Reply #8 - Jan 17th, 2007 at 9:16pm
Print Post  
v 1.1 now uploaded

if you have installed v1.0
- uninstall it, after installl 1.1
or

edit Subs.pl, find in Writelog Sub
Code
Select All
if (!$iamguest && ${$uid.$username}{'lastonline'} < $date2-60) { &UserAccount($username,"update","lastonline");}   


reaplace with
Code
Select All
if (!$iamguest && ${$uid.$username}{'lastonline'} < $date-60) { &UserAccount($username,"update","lastonline");}   

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint