Are you using the current version of phpFusion? If so, if you go to your content admin page, then click Download, at the very bottom there should be a list of the current downloads available, along with Edit and Delete links.
If you absolutely have to kill those downloads and you can't, you could manually drop the data with either a bit of code in a custom page:
<?php
$result = dbquery("SELECT download_file, download_image, download_image_thumb FROM ".DB_DOWNLOADS."");
if (dbrows($result)) {
while($data = dbarray($result)) {
if (!empty($data['download_file']) && file_exists(DOWNLOADS.$data['download_file'])) {
@unlink(DOWNLOADS.$data['download_file']);
}
if (!empty($data['download_image']) && file_exists(DOWNLOADS."images/".$data['download_image'])) {
@unlink(DOWNLOADS."images/".$data['download_image']);
}
if (!empty($data['download_image_thumb']) && file_exists(DOWNLOADS."images/".$data['download_image_thumb'])) {
@unlink(DOWNLOADS."images/".$data['download_image_thumb']);
}
$result = dbquery("DELETE FROM ".DB_DOWNLOADS." WHERE download_id='".$_GET['download_id']."'");
}
}
?>
That will delete all the downloads you have up.. and if you wanted to delete only certain downloads you could add a
WHERE download_id IN (1,2,3,4)
at the end of the query, and change 1,2,3,4 to a comma separated list of your download ids.
This is just a bit of a hack job though. Are you getting any errors or anything while trying to delete downloads? Need a bit more than
Cannot find anything in Admin Panel. There is an Add Download screen and at the bottom of the screen there is a rather weird screen named Current Downloads, where I can see all the Download categories however no functions/menus are related with them.
to help. It sounds like you don't see the Edit/Download links, but surely phpFusion is reporting some kind of error if that is the case?
[img]http://unlockedpotential.net/screenshot_downloads_options.png[/img] is not a valid Image.
Edited by Moregelen on 04-03-2012 18:00
Oooooh.. is that what Deep Corruption does? Ooopsie...
.. so, how do I heal without Holy Radiance spam anyway? I forgot...
|