Try this...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Try this...

Post by icesolid »

Code: Select all

<?php
if($body) &#123;
include("$body");
&#125; else &#123;
include("$special");
&#125;
?>
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Post by wwwapu »

This was under unanswered questions. And so it has been for more than two years. I don't see any questions. This is rather like an answer to one.
It is a pity no one wants to "try this". Just a tiny note all alone in the darkest dungeons of DB.

The point I'm trying to make is: "How about some pruning"
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

It would most likely be a very tedious task to prune all non helpful posts.
I'm sure the admins here have better things to do ;P
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

I think we need to keep all posts no matter how silly just as a full record of what has been posted no matter how silly.
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Post by wwwapu »

I'm sure that admins do have much better things to do, but there is easy to use pruning option in phpBB maintenance panel that allows to delete messages that have not been answered in xx days. (600 days for examble)
However there are some problems in using that. It can not distinguish between important note and unuseful message. Also I'm not sure how it handles old threads. If some long thread hasn't got any new messages in given time, is it also deleted?:?

I'm lucky not to have such problems for I'm not an admin to anything. (Except for my life, and that only to some extent)
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

What's the problem with this not being answered for two years? Maybe someone will come along one day ;)
Post Reply