Welcome, Guest. Please Login or Register.
November 29, 2024, 10:23:55 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Remove Old Threads by Board 1.2 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Done 1.5.2] Remove Old Threads by Board 1.2  (Read 4917 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
[Done 1.5.2] Remove Old Threads by Board 1.2
« on: May 01, 2003, 05:20:30 PM »
Reply with quote

This mod allows you to pick which boards to remove old threads from.  For example, you may only want to remove posts from the "Test Board" but not any of the others.

http://gbaetc.homeip.net/yypack
http://gbaetc.homeip.net/yypack/remoldthreadsboards.zip

-[Unknown]
« Last Edit: May 01, 2003, 05:31:57 PM by [Unknown] » Logged
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #1 on: May 01, 2003, 05:24:05 PM »
Reply with quote

http://gbaetc.homeip.net/yypack/remoldthreadsboards.zip please ;)...
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #2 on: May 01, 2003, 05:32:16 PM »
Reply with quote

My bad.  Stupid typos.

Thanks.

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #3 on: May 01, 2003, 05:52:07 PM »
Reply with quote

looks like this mod will be useful, i take it that it will be implemented in TSP?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
rolas
Noobie
*
Posts: 3


I'm a llama!

Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #4 on: May 16, 2003, 06:24:43 PM »
Reply with quote

The link is not working...anyone know where I can get this mod?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #5 on: May 16, 2003, 11:16:08 PM »
Reply with quote

See my personal text: (package server down for the week.)

-[Unknown]
Logged
oldford
Jr. Member
**
Posts: 91


WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #6 on: May 28, 2003, 03:27:41 PM »
Reply with quote

Would it be hard to tweak this mod a little so it doesn't delete sticky posts? Even if not it's a very useful mod.  :) Thanks Unknown!
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #7 on: May 28, 2003, 08:05:02 PM »
Reply with quote

Find:
      WHERE m.ID_MSG = t.ID_LAST_MSG
         AND m.posterTime < $threshold
         AND t.ID_BOARD IN (" . implode(',', $doboard) . ");") or database_error(__FILE__, __LINE__);

Replace:
      WHERE m.ID_MSG = t.ID_LAST_MSG
         AND m.posterTime < $threshold
         AND t.isSticky=0
         AND t.ID_BOARD IN (" . implode(',', $doboard) . ");") or database_error(__FILE__, __LINE__);

-[Unknown]
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #8 on: May 28, 2003, 08:49:18 PM »
Reply with quote

Great, works like a charm.

I made the table look slightly different (better) by changing the align=center to align=left ;)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
babylonking
Full Member
***
Posts: 174


Proudly Canadian

WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #9 on: May 28, 2003, 09:07:52 PM »
Reply with quote

You know what i really love this mod  ;D

Very smooth  ;)
« Last Edit: May 28, 2003, 09:08:52 PM by babylonking » Logged

Proudly Canadian          
oldford
Jr. Member
**
Posts: 91


WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #10 on: May 28, 2003, 09:08:35 PM »
Reply with quote

Excellent! Works perfect. Thanks again!  ;D
Logged

Termite
Jr. Member
**
Posts: 54


Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #11 on: January 10, 2004, 12:47:34 AM »
Reply with quote

does anyone have this mod? the url is a 404
Logged

Specs: FreeBSD 5.0-RELEASE #3, PHP Version 4.2.3, Apache/1.3.27, Mysql 3.23.54, YaBBSE 1.5.4
Thomas
Full Member
***
Posts: 203


WWW
Re:[Done 1.5.2] Remove Old Threads by Board 1.2
« Reply #12 on: January 10, 2004, 09:18:07 PM »
Reply with quote

I too want this mod.

/Thomas
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Remove Old Threads by Board 1.2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.051 seconds with 21 queries.