Pilsburgh / django-forum

Automatically exported from code.google.com/p/django-forum
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Display new/unread posts #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
One of my clients asked for this feature in the forum part of their
website. I've knocked together something that works for me.

Original issue reported on code.google.com by lu...@die.net.au on 24 Apr 2009 at 1:58

Attachments:

GoogleCodeExporter commented 9 years ago
I haven't put this into SVN just yet as I'd like to look into it a little more.
Whilst the patch you've sent through works, I want to double check the impact 
this
has on the number of DB queries per view. If this templatetag were to be used to
check if every thread on a forum listing had been read by the user we would be
running 'n' queries. 

It would be nice to cut this down significantly to get it to 1 query per view if
possible. It would be worth looking at how more mature open source forum 
packages to
see how they do it.

I'll leave this open for now as it is a great idea that just needs a little
refinement I think. Thank you!

Original comment by rwpoul...@gmail.com on 3 May 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Hello, Djangobb not mature project, but you can saw as it done
:http://hg.djangobb.org/djangobb/rev/ddfffe696aa8 (but checking unreaded forums 
not
correct, i checked only last added post status), PunBB use cookies for this.

Original comment by slav0n...@gmail.com on 30 Nov 2009 at 7:25