Welcome, Guest. Please Login or Register.
June 26, 2024, 10:11:27 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.3] Pruned Boards 1.0 « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: [Beta 1.5.3] Pruned Boards 1.0  (Read 4612 times)
Valconeye
Full Member
***
Posts: 190


Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #15 on: May 28, 2003, 07:08:44 PM »
Reply with quote

is there anyway i can change the time it prunes, im guessing i would change the index.php the 24 hours.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #16 on: May 28, 2003, 08:08:53 PM »
Reply with quote

Okay, let me try again:

Webby, you need to UNINSTALL and then REINSTALL.  I changed some stuff that I had typed wrong.  (namely, I had added a little stuff, a mod setting, and changed UPDATE to REPLSCE.)

Valconeye, while it only *CHECKS* once per day, the length is specifed in Edit Boards.  So, you can have your test board prune every day (by entering 1...) and it would delete it once per day.

If you want to change how *often* is does this pruning, change the 24 to the number of hours between prunes.  Hwoever, this may slow your board a lot if decreased too much.  IMHO, 24 is the most reasonable value for speed vs. use.

That value will not affect which posts are deleted, but how soon after they pass the date they will be deleted.

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


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #17 on: May 28, 2003, 08:20:51 PM »
Reply with quote

Ok, I can uninstall it, but is the new version online somewhere ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #18 on: May 28, 2003, 08:23:56 PM »
Reply with quote

Oops, I got it ;)

The error is gone now, it had to do with the type you made in the Subs.php

;D
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #19 on: May 28, 2003, 08:27:52 PM »
Reply with quote

Question : when I want to set the prune days to 365. it is automatically changed into 255

How come ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #20 on: May 28, 2003, 10:34:49 PM »
Reply with quote

Quote from: Webby on May 28, 2003, 08:27:52 PM
Question : when I want to set the prune days to 365. it is automatically changed into 255

How come ?

If you want it that high, please run this query:

ALTER TABLE yabbse_boards
CHANGE pruneDays smallint(5) unsigned NOT NULL;

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


WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #21 on: May 28, 2003, 10:38:11 PM »
Reply with quote

Unknown, what would you recommend as the maximum number before that change should be made?
Logged

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


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #22 on: May 28, 2003, 11:06:15 PM »
Reply with quote

I'm sorry, I'm not sure I understand your question.

If you try to use a number bigger than 255, it won't let you.  It will automatically shrink it down to 255.  Running the query above will allow it be anything from 0 to 65535.  (that's a long time.)

Personally, I would use anything lower than 2 or higher than 120.  After all, 4 months is a long time.  If I want things to last longer I'd just keep it off... (0)

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


WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #23 on: May 28, 2003, 11:08:12 PM »
Reply with quote

Sorry. I missed the 255 reset. Yes, that's the answer to my question.  :-[
Logged

Nunor2003
Noobie
*
Posts: 5


I'm a llama!

Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #24 on: July 23, 2003, 02:27:31 PM »
Reply with quote

Just a tought :

This mod can easily be adapted to lock topics instead of prune them, which would be very handy has a mod, to avoid reviving dead topics.

But i'm sure someone already tought of this...
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #25 on: July 23, 2003, 06:05:10 PM »
Reply with quote

That would be me who thought of it...

After the next version is out, I'll start on my mods again.

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


My $txt[228]

Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #26 on: July 24, 2003, 12:29:03 AM »
Reply with quote

oh cool, didnt know such mod exists, was gonna write one myself :P
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #27 on: July 24, 2003, 12:32:38 AM »
Reply with quote

btw, you forgot to include modSettings['pruningLastUpdate'] in the php file
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #28 on: July 24, 2003, 01:33:01 AM »
Reply with quote

I figured it wasn't worth inserting if the mod could do it anyway for me.  (it does.)

-[Unknown]
Logged
Silamael
Noobie
*
Posts: 14


I'm a llama!

Re:[Beta 1.5.3] Pruned Boards 1.0
« Reply #29 on: August 12, 2003, 11:56:03 AM »
Reply with quote

I installed this mod last days and now i have a problem.
It doesn't do anything for me (Board Version is 1.5.4) :(
As far as i can see, everything is setup right. In the boards table are 3 boards set to be pruned after 90 days.
In the settings table is a last prune from Mon Aug 11 18:23:58 2003 .
But nothing happens. Alle the 3 Boards have all posts, even the ones from March of this year.
What im doing wrong?
Thanks for any hint!

Greetings,
Silamael
Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.3] Pruned Boards 1.0 « 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.231 seconds with 20 queries.