PDA

View Full Version : Show Threads From Current Calendar Month


John
03-11-2003, 10:00 PM
-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-
Show Threads From Current Calendar Month
By Shaolyen
email: John@eovie.com
msn: John@eovie.com

Tested on a fresh vB 2.3.0
-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-


Introduction
-----------------------------------------------------------
Another day, another hack. This one may not be as big as my last,
but it has uses.

This hack will give you a new option when creating and editing
forums in the AdminCP - instead of selecting a default thread
viewing age of 30 days, you can choose to have "current calendar
month" as default.

By default, people will only be able to see threads that have
been started or replied to in the current calendar month.

Simple as that.
-----------------------------------------------------------

Shameless Plug
-----------------------------------------------------------
This hack was written for the fine people at xAviaHosting -
www.xaviahosting.com. Pay them a visit (Or I'm a dead man!)
-----------------------------------------------------------

Shameful Plea
-----------------------------------------------------------
I'm poor as always, I'd be seriously grateful for any donations..!
If you have a few spare pennies in that Paypal account, my address
is "John@eovie.com" - share the wealth! ;)
-----------------------------------------------------------

John
03-12-2003, 08:39 PM
Screenshot 1 -

Shows the new entry at the bottom of forumdisplay

John
03-12-2003, 08:39 PM
Screenshot 2 -

Shows the new options in admin/forum.php

John
03-12-2003, 08:40 PM
Screenshot 3 -

Shows what happens when there haven't been any posts during the month.

Took this screenshot on the 12th March - get it? ;)

Link14716
03-12-2003, 09:04 PM
Heh, nice idea. I won't install it, no use for it, but still, nice work. :)

John
03-12-2003, 09:09 PM
Originally posted by Link14716
Heh, nice idea. I won't install it, no use for it, but still, nice work. :)

lol, I know what you mean - this hack has limited uses! ;)

Dean C
03-13-2003, 03:27 PM
Cool idea :)

Regards

- miSt

Intex
03-13-2003, 05:00 PM
I was asking a little while back in the forum whether someone could actually come up with a way so that a user can specify the date to show threads from.

Could you adopt this?

Xyphen
03-13-2003, 05:37 PM
Nice hack, pretty useful, any bugs found yet?

gmarik
06-09-2003, 08:41 AM
Perfect. Could somebody make and addon, so I could use this as an Archive?

Browse by year 2002:
January, February and all the moths I have posts in. Get the idea? I browse all the posts by months, and only those, where I have posted.