Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (Gizmo, PianoWorld, JAISP), 74 guests, and 233 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Steve C
Steve C
California
Posts: 245
Joined: May 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 22
Gizmo 17
TheBrit 14
Zarzal 12
SteveS 8
Ruben 4
jorb 4
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Setting up Auto Delete #25970
12/22/02 12:35 PM
12/22/02 12:35 PM
A
Anonymous OP
Unregistered

Does the auto delete function require any additional setup.

I want a forum to delete anything over 30 days old. I set the value in the forum setting. Is this hands off for me now?

What time do these things run and can I modify that?

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"

Re: Setting up Auto Delete #25971
12/22/02 12:54 PM
12/22/02 12:54 PM
A
Anonymous OP
Unregistered

You have to set up a cron table entry which runs cron/perl/doexpire.pl or cron/php/doexpire.php.

Re: Setting up Auto Delete #25972
12/22/02 06:58 PM
12/22/02 06:58 PM
A
Anonymous OP
Unregistered

Thanks.

I take it I can run this from the command line as well?

Supposed I wish to manually delete posts older that 30 days like UBB classic used to support?

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"

Re: Setting up Auto Delete #25973
12/22/02 08:10 PM
12/22/02 08:10 PM
A
Anonymous OP
Unregistered

Yes, you can run doexpire.php from the command line.... or the browser... although there is no browser output.

You can find help to set up the cron job here:

http://www.ubbcentral.com/resources/cron.html

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

Re: Setting up Auto Delete #25974
12/22/02 09:55 PM
12/22/02 09:55 PM
A
Anonymous OP
Unregistered

Thanks Josh... <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"

Re: Setting up Auto Delete #25975
12/23/02 03:05 AM
12/23/02 03:05 AM
A
Anonymous OP
Unregistered

First I made a change to the doexpire.pl file.

<pre> // Require the library
require ("/usr/local/psa/home/vhosts/chevytalk.org/httpdocs/threads/main.inc.php");
$html = new html;
</pre>

Then I ran the file from ../threads/cron directory as root. I recieved the following errors.
<pre>./doexpire.php: ?: No such file or directory
./doexpire.php: /-bF: Permission denied
./doexpire.php: */: No such file or directory
./doexpire.php: //: is a directory
./doexpire.php: line 22: syntax error near unexpected token `("/usr/local/psa/home/vhosts/chevytalk.org/httpdocs/threads/main.inc.php")'
./doexpire.php: line 22: ` require ("/usr/local/psa/home/vhosts/chevytalk.org/httpdocs/threads/main.inc.php"); </pre>

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"

Re: Setting up Auto Delete #25976
12/23/02 08:20 PM
12/23/02 08:20 PM
A
Anonymous OP
Unregistered

Has anyone used the doexpire.pl from the command line?

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"

Re: Setting up Auto Delete #25977
12/23/02 10:28 PM
12/23/02 10:28 PM
A
Anonymous OP
Unregistered

Try running doexpire.php from your browser.

You won't get any output. But it seems to work for me. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Josh
Measurection.com Admin | ThreadsDev.com Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire.

Re: Setting up Auto Delete #25978
12/24/02 02:34 PM
12/24/02 02:34 PM
A
Anonymous OP
Unregistered

I got it working. I screwed up one of the path statements in the config file.

Thanks for the help.

Regards,
Tony S.
www.chevyforums.org
"The largest online Chevrolet enthusiast community in the world"


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Calendar Function
by TheBrit. 12/17/18 10:05 PM
Speaking of Http to https, complaints from user
by PianoWorld. 12/16/18 03:40 PM
update multilanguage site problem
by Zarzal. 12/15/18 04:20 PM
Char coding utf-8 and older forums
by Zarzal. 12/15/18 03:59 PM
table issue
by TheBrit. 12/13/18 06:05 PM
Forum Statistics
Forums36
Topics35,182
Posts191,701
Members12,122
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2