vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - Auto Move Closed Threads (https://vborg.vbsupport.ru/showthread.php?t=132462)

lonki007 11-10-2007 02:11 PM

Quote:

Originally Posted by thejdm (Post 1232960)
u know of a way if you were to lock a thread it would just move it to the last page at the bottom of the forum instead of moving it to a seperate forum?

i want to keep all my for sale threads in the for sale forum but when some1 sells the part i just want the thread to move to the very last page at the bottom behind all the other posts.

Anyone has the sollution to make this work?

Grtz

Jimandbob 11-10-2007 03:19 PM

Quote:

Originally Posted by thejdm (Post 1232960)
u know of a way if you were to lock a thread it would just move it to the last page at the bottom of the forum instead of moving it to a seperate forum?

i want to keep all my for sale threads in the for sale forum but when some1 sells the part i just want the thread to move to the very last page at the bottom behind all the other posts.


This would be useful

Jim

lonki007 11-11-2007 09:19 AM

In forumdisplay.php find around line 637:

PHP Code:
ORDER BY sticky DESC, $sqlsortfield $sqlsortorder

Replace With:

PHP Code:
ORDER BY sticky DESC, thread.open = 1 DESC, $sqlsortfield $sqlsortorder

This has one small side effect that all normal open threads are listed first, then you get the closed threads and redirects together at the end.

tanujdude91 11-12-2007 05:46 AM

Awesome Mod .thx

M-Tuning 02-17-2008 04:43 PM

Is it possible to upgrade this hack for 3.7.0?

i would be really grathefull

Guest190829 02-17-2008 04:49 PM

Quote:

Originally Posted by m-tuning (Post 1445296)
Is it possible to upgrade this hack for 3.7.0?

i would be really grathefull

Does it not work for 3.7? I haven't tested it.

M-Tuning 02-17-2008 05:47 PM

No it doesn't.

When I import it, and I close a thread it gives a error message (php error message)

An the thread is closed in the forum where it was and isn't moved to the appropiate forum.

Guest190829 02-17-2008 05:56 PM

Okay, I will try and take a look at it this week then.

M-Tuning 02-17-2008 07:41 PM

Ok, thank you :D

vithorius 05-21-2008 03:59 PM

Quote:

Originally Posted by Danny.VBT (Post 1445364)
Okay, I will try and take a look at it this week then.

Hi!!! This is just a GREAT MOD!!! I need it!!! :up:

Do you have any news on the compatibility to vB 3.7.0? :confused:


Thank YOU! :up:


All times are GMT. The time now is 11:08 PM.

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.01100 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete