-
Logged In: YES
user_id=1433075
The Fix:
In config.php:
add the folowing line -
define('days_to_publish', 2); // After this many days posts
will not get published
In link.php change the function: function insert_vote as
follow -
the if statement if($this->status == 'queued' &&
$this->votes>=votes_to_publish) { ...
should be -
if($this->status == 'queued' &&...
2006-02-01 02:47:24 UTC in Meneame English
-
There is a need to add a time limit for stories to be
promoted. For instance stories can only be promoted if
they have being submitted within the last 2 days, or
the last 24 hours.
2006-01-31 16:44:53 UTC in Meneame English
-
The link.php allows invalid links.
I added a check to see that you get at lease 20
characters back to declate a valid link.
Original:
if(!($this->html = $xxx)) {
return;
}
Fixed:
if(!($this->html = $xxx) || strlen($xxx) < 20) {
$this->valid = false;
return;
}
Added || strlen($xxx) < 20
And
$this->valid = false;.
2006-01-22 22:45:04 UTC in Meneame English