1 (edited by Gary13579 2005-03-22 00:19)

Topic: [Release] AMP_Topics_Closer 1.0

About it:This is a plugin I made a while back, just to prove I could write a plugin smile. Someone requested it, so I dug it up and made it into a good plugin.

What it does: It takes all topics older then a certain date, and closes them. This helps stop people from bumping topics that are old. I really just took the prune feature and modded it to close topics.



Temperary link untill Rickard uploads it (if he does).

http://gary13579.info/AMP_Topics_Closer.zip

Edit: Already a fix.. Added the if (!defined('PUN')) { exit; }

Rickard: Please ignore the one I emailed you and instead use this one.

Indocron
$theQuestion = (2*b) || !(2*b);

2

Re: [Release] AMP_Topics_Closer 1.0

Great idea but I'm not sure about the name. To me "archive" indicates moving old stuff into storage somewhere else.

Re: [Release] AMP_Topics_Closer 1.0

Yeah, true..

Any suggestions on the name?

Indocron
$theQuestion = (2*b) || !(2*b);

4

Re: [Release] AMP_Topics_Closer 1.0

How about:

AMP_Topics_Retire or AMP_Retire_Topics
AMP_Topics_Closer or AMP_Close_Topics

5 (edited by boneheade 2005-02-15 23:58)

Re: [Release] AMP_Topics_Closer 1.0

Thanks Gary! smile

ACT - Auto Close Topics

6 (edited by Gary13579 2005-02-16 00:09)

Re: [Release] AMP_Topics_Closer 1.0

Im going with AMP_Topics_Closer
Auto Close Topics would mean that the topics were automatically closed..

Ahh, I cant change topic titles...

Indocron
$theQuestion = (2*b) || !(2*b);

Re: [Release] AMP_Topics_Closer 1.0

fixed wink

Re: [Release] AMP_Topics_Closer 1.0

Hi,

one easy error in it ... you've forgot to:

require PUN_ROOT.'footer.php';

before:

<?php

at the end smile

Re: [Release] AMP_Topics_Closer 1.0

Do you mean after?
I see

<?php
}

putting it before it would do no good hmm

Im guessing you mean

<?php
require PUN_ROOT.'footer.php';
}

This is what you meant, right?

Indocron
$theQuestion = (2*b) || !(2*b);

10

Re: [Release] AMP_Topics_Closer 1.0

Hi,

Gary13579 wrote:

This is what you meant, right?

Sure smile

Re: [Release] AMP_Topics_Closer 1.0

infact thats all wrong, you shouldn't have it ANYWHERE in the code so it actually needs removing from one place not adding

Re: [Release] AMP_Topics_Closer 1.0

Fixed.

I also noticed that it rebuilt the search index after running it hmm.
Thats now fixed also.

Ill upload it when I get home.

Indocron
$theQuestion = (2*b) || !(2*b);

13 (edited by FxPatrice 2005-03-21 18:04)

Re: [Release] AMP_Topics_Closer 1.0

Gary13579 wrote:

Thats now fixed also.

Ill upload it when I get home.

Hi ...

Where can i download the final version of your Plugin AMP_Topics_Closer 1.0 ?

This links http://gary13579.info/AMP_Forum_Archiver.zip at the beginnig of this topic is not the good version hmm


Thanks

14

Re: [Release] AMP_Topics_Closer 1.0

does it work or will it be modified to work with v1.2.4

Re: [Release] AMP_Topics_Closer 1.0

it should work fine with all 1.2.x although i haven't tried it

16

Re: [Release] AMP_Topics_Closer 1.0

well just want to confirm yes it works..

Re: [Release] AMP_Topics_Closer 1.0

try it then? why would it not work?

18

Re: [Release] AMP_Topics_Closer 1.0

no i did try thats why i posted that it was working

Re: [Release] AMP_Topics_Closer 1.0

oh... silly me lol i thought you meant you just wanted someone to confirm that it works before you used it... neutral

Re: [Release] AMP_Topics_Closer 1.0

This seems like a very handy plugin, but the download link doesn't work for me....

Is this plugin still available?

Re: [Release] AMP_Topics_Closer 1.0

this is necessary mod.
up!

There's nothing left to say...

Re: [Release] AMP_Topics_Closer 1.0

The download link does not work anymore, maybe someone can repost the mod?

thx in advance

Frogman

Re: [Release] AMP_Topics_Closer 1.0

Everybody can reup please?
Thx

24

Re: [Release] AMP_Topics_Closer 1.0

The download link doesn't work.

Re: [Release] AMP_Topics_Closer 1.0

that's because Gary hasn't had the gary13579.info url for a good while now wink