So my whole system has to change because one strict rule on FWS? Ok then.I guess a download manager is what Jan wants you to do then.
So my whole system has to change because one strict rule on FWS? Ok then.I guess a download manager is what Jan wants you to do then.
No it doesn't but I didn't realise she was on holiday when I recieved no reply from a PM.Don't speculate what she might have meant. Jan is an admin, I would just accept it. I do not think a public outcry helps your cause.
Rules are rules good job you learned second grade logic! Seriously it obviously isn't a stupid rule because its not to Jan and she is the BOSS!!!Rules are rules, and I try to follow every single one of them, but when they're pretty stupid, I raise an eybrow.
Also hamster, I like using the forum because it tells me how many downloads they have been.
The release folder, that isn't what I wan't. I don't just release the versions, I change versions without warning and the zips.
Or you can choose not to advertize on FWS its your choice!So my whole system has to change because one strict rule on FWS? Ok then.
No it doesn't but I didn't realise she was on holiday when I recieved no reply from a PM.
PatienceI sent a PM to Jan asking why I got a infraction for simply advertising my script and I got no reply, so I'll make this public.
.
You have had threads prior to this edited to the actual download link.It's free did you say? Erm.. Totally. The Hosting Tool is released for completely free with no hidden payments at all. Just simply register on the forum and download the script. It would be nice if you took part in the community and let it expand for the benefit of your self and others, but no demands. All that we ask for is that you oblidge to the GNU GPL license it's released under. More details are bundled with the script.
So shouldn't this thread be idk deleted?rules said:Public posts debating moderators' enforcement of the rules will be removed. Feedback about the rules and/or moderation should be sent in private to the moderators or through this form.
Don't speculate what she might have meant. Jan is an admin, I would just accept it. I do not think a public outcry helps your cause.
RewriteRule ^latest/?$ /forum/index.php?download
RewriteEngine On
RewriteRule ^latest/?$ /forum/index.php?download
<?php
function tht_latest_info()
{
return array
(
"name" => "THT Latest",
"description" => "Friendly rewrite for latest release of THT",
"website" => "http://interviolet.com",
"author" => "Joe Watkins",
"authorsite" => "http://interviolet.com",
"version" => "0.1",
);
}
function tht_latest_activate()
{
global $db;
if( ( $result = $db->simple_select("settinggroups", "disporder", null, array(
"order_by" => "disporder",
"order_dir" => "desc",
"limit" => 1
) ) ) )
{
if( ( $top = $db->fetch_array( $result ) ) )
{
if( $db->insert_query("settinggroups", array
(
"name" => "latest",
"title" => "Latest THT Download",
"description" => "A plugin that provides a friendly rewritable link to download the latest version of THT",
"disporder" => ++$top['disporder']
)) )
{
if( ( $gid = $db->insert_id() ) )
{
$db->insert_query("settings", array
(
"name" => "latest",
"title" => "Latest Download",
"description" => "attachment id of latest download",
"optionscode" => "text",
"value" => "",
"disporder" => 1,
"gid" => $gid
));
}
}
}
}
}
function tht_latest_deactivate()
{
global $db;
if( ( $result = $db->simple_select("settinggroups", "gid", "name = 'latest'") ) )
{
if( ( $group = $db->fetch_array( $result ) ) )
{
$db->delete_query("settings", "gid='{$group['gid']}'");
$db->delete_query("settinggroups", "gid='{$group['gid']}'");
}
}
}
function tht_latest()
{
global $db, $mybb, $plugins;
if( isset( $_GET['download'] ) )
{
if( ( $result = $db->simple_select("attachments", "*", "aid='{$mybb->settings['latest']}'") ) )
{
if( ( $attachment = $db->fetch_array( $result ) ) )
{
$db->update_query("attachments", array(
"downloads" => $attachment['downloads']+1,
), "aid='{$attachment['aid']}'");
set_time_limit(0);
if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "msie") !== false)
{
header("Content-disposition: attachment; filename=\"{$attachment['filename']}\"");
}
else
{
header("Content-disposition: inline; filename=\"{$attachment['filename']}\"");
}
header("Content-type: {$attachment['filetype']}");
header("Content-length: {$attachment['filesize']}");
header("Content-range: bytes=0-".($attachment['filesize']-1)."/".$attachment['filesize']);
readfile($mybb->settings['uploadspath']."/".$attachment['attachname']);
exit;
}
}
}
}
$plugins->add_hook("index_start", "tht_latest");