Previous Thread
Next Thread
Print Thread
Hop To
#25970 12/22/2002 1:35 PM
Anonymous
Unregistered
Anonymous
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"

#25971 12/22/2002 1:54 PM
Anonymous
Unregistered
Anonymous
Unregistered
You have to set up a cron table entry which runs cron/perl/doexpire.pl or cron/php/doexpire.php.

#25972 12/22/2002 7:58 PM
Anonymous
Unregistered
Anonymous
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"

#25973 12/22/2002 9:10 PM
Anonymous
Unregistered
Anonymous
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:

https://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.

#25974 12/22/2002 10:55 PM
Anonymous
Unregistered
Anonymous
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"

#25975 12/23/2002 4:05 AM
Anonymous
Unregistered
Anonymous
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"

#25976 12/23/2002 9:20 PM
Anonymous
Unregistered
Anonymous
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"

#25977 12/23/2002 11:28 PM
Anonymous
Unregistered
Anonymous
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.

#25978 12/24/2002 3:34 PM
Anonymous
Unregistered
Anonymous
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"


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)