vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Show Threads From Current Calendar Month (https://vborg.vbsupport.ru/showthread.php?t=50049)

John 03-11-2003 10:00 PM

Show Threads From Current Calendar Month
 
-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-
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

Quote:

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.


All times are GMT. The time now is 02:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00956 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete