vbignacio
Tue 23 May 2006, 01:47 am GMT +0200
is it just me? i cant seem to go to the second page of this section. whenever i click page 2, it takes me to the very last page.
Nikolas
Tue 23 May 2006, 10:52 am GMT +0200
Yeah I saw that too.
The site has some bugs that I have to fix.
I will check those today. Thanks for letting me know :)
olaf
Sat 27 May 2006, 11:46 am GMT +0200
it looks like the limit is bad coded for the query:
LIMIT $showlatestcount"
only one number?
(but I'm not so good with SMF) ;)
Nikolas
Sat 27 May 2006, 11:53 am GMT +0200
The problem is that the query gets all the unread topics, but shows only the topics that haven't done from the bots.
It is a little hard to make it work from the query, but I will find it :)
olaf
Sat 27 May 2006, 11:57 am GMT +0200
The problem is that the query gets all the unread topics, but shows only the topics that haven't done from the bots.
It is a little hard to make it work from the query, but I will find it :)
this wil say that the current list is complete? (I don't want to see the postings of bots)
Nikolas
Sat 27 May 2006, 12:04 pm GMT +0200
I know. The problem is that (let's talk programming :) )
1. SELECT all unread (including bot's posts)
2. Calculate the pages from the above query
3. Display only the listings that haven't made from bots.
Now I will have to substract the bot posts from the COUNT. I will work it out right now, so don't be scared if you see anything strange in that page for a while :)
olaf
Sat 27 May 2006, 12:08 pm GMT +0200
I see, the standard SQL doesn't know about the bots... it was better to handle if SMF is an OOP based forum :)
Nikolas
Sat 27 May 2006, 12:13 pm GMT +0200
Yeah it would be better, but propably it would be slower also.
olaf
Sat 27 May 2006, 12:18 pm GMT +0200
Yeah it would be better, but propably it would be slower also.
do you think a real OOP board will be slower? I think the reason that most of the boards are not OOP is a lack of knowledge...
Nikolas
Sat 27 May 2006, 12:27 pm GMT +0200
Right now it would be propably better, but before php 5 it wouldn't be.
Nikolas
Sat 27 May 2006, 12:45 pm GMT +0200
Ok, I've fixed that. Let me know if you see any other problem.
olaf
Sat 27 May 2006, 03:43 pm GMT +0200
Right now it would be propably better, but before php 5 it wouldn't be.
Yes, since php5 its finally possible to write oop applications
Nikolas
Sun 28 May 2006, 05:01 pm GMT +0200
Yeah, and I guess this is an opportunity for the forum software community.
I wish I had enough spare time to start a project like this.....
olaf
Sun 28 May 2006, 08:56 pm GMT +0200
Yeah, and I guess this is an opportunity for the forum software community.
I wish I had enough spare time to start a project like this.....
me too, I'm happy if my next (paid) project is written for php5 :)
Nikolas
Sun 28 May 2006, 10:37 pm GMT +0200