MyBB Community Forums

Full Version: Download Section
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
ok so ive uploaded the downloads mod and all seems to be working i see it in the admin control panel but not on the forum. How do i add it to the forum so people can see it.
azuregames Wrote:Everytime I try to upload anything, it says:

"The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination."

Whats the problem? Sad

Where is musicalmidget?
azuregames Wrote:Everytime I try to upload anything, it says:

"The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination."

Whats the problem? Sad

I had the same problem. I've forgotten to change the rights for the "downloads" directory to 777. Maybe that could solve your problem?

@Musicalmidget

I tried to translate the plugin to "deutsch_du". But there were words missing in the ACP menu unless I changed in the plugin file the following code:

function downloads_admin_index()
$lang->load('downloads');
to
$lang->load('admin/downloads');
and the same way a few lines below in the function downloads_admin_nav()

Or did I something wrong. At least it works. Wink

Thanks for the plugin!

Lenkradschloss

(Sorry for my bad english!)
I'll look into the language errors as soon as I get chance.


Rob Wrote:ok so ive uploaded the downloads mod and all seems to be working i see it in the admin control panel but not on the forum. How do i add it to the forum so people can see it.

The plugin should automatically add a link to your forum header when it is activated. However, if you're using a MyBB theme other than the default then it's possible that the template couldn't be modified correctly. If that is the case, you'll need to add a link to downloads.php manually to your header template. The code you will need to add is posted below, and it should generally be placed before the closing </ul> tag in that template.

<li><a href="{$mybb->settings['bburl']}/downloads.php"><img src="{$theme['imgdir']}/toplinks/downloads.png" border="0" alt="{$lang->toplinks_downloads}" />{$lang->toplinks_downloads}</a></li>

azuregames Wrote:Everytime I try to upload anything, it says:

"The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination."

Whats the problem? Sad

This is generally caused by one of two reasons. Firstly, please ensure that you have created a new directory called downloads in your forum uploads directory. Secondly, as mentioned by lenkradschloss, you must CHMOD the downloads directory to 777.
musicalmidget Wrote:I'll look into the language errors as soon as I get chance.

Rob Wrote:ok so ive uploaded the downloads mod and all seems to be working i see it in the admin control panel but not on the forum. How do i add it to the forum so people can see it.

The plugin should automatically add a link to your forum header when it is activated. However, if you're using a MyBB theme other than the default then it's possible that the template couldn't be modified correctly. If that is the case, you'll need to add a link to downloads.php manually to your header template. The code you will need to add is posted below, and it should generally be placed before the closing </ul> tag in that template.

<li><a href="{$mybb->settings['bburl']}/downloads.php"><img src="{$theme['imgdir']}/toplinks/downloads.png" border="0" alt="{$lang->toplinks_downloads}" />{$lang->toplinks_downloads}</a></li>

Thanks for the help but it didnt work for me it added 2 download links above all the other options. Maybe its me doing somthing wrong im not sure.
Could you possibly provide me with a link to your board so as I can take a look at this?
http://gmqa.64digits.com/forums

You can only see the downloads link if you use the MyBB Default Skin. Sad

EDIT: Never mind, I fixed the CHMOD. It works now!
Rob Wrote:
musicalmidget Wrote:I'll look into the language errors as soon as I get chance.

Rob Wrote:ok so ive uploaded the downloads mod and all seems to be working i see it in the admin control panel but not on the forum. How do i add it to the forum so people can see it.

The plugin should automatically add a link to your forum header when it is activated. However, if you're using a MyBB theme other than the default then it's possible that the template couldn't be modified correctly. If that is the case, you'll need to add a link to downloads.php manually to your header template. The code you will need to add is posted below, and it should generally be placed before the closing </ul> tag in that template.

<li><a href="{$mybb->settings['bburl']}/downloads.php"><img src="{$theme['imgdir']}/toplinks/downloads.png" border="0" alt="{$lang->toplinks_downloads}" />{$lang->toplinks_downloads}</a></li>

Thanks for the help but it didnt work for me it added 2 download links above all the other options. Maybe its me doing somthing wrong im not sure.

Same here, but it still won't appear in my toplinks, on any of my other themes. Undecided
The plugin should be able to add itself to the Simple Red theme as it uses the same header template as MyBB. However, if it should fail for some reason, or if you're using a customised theme then you may need to add the link yourself. Additionally, if you added a theme after activating the plugin, you'll also need to add the link yourself.

Generally the code I posted in the post above should add the link correctly. It certainly should work for the Simple Red theme.
My forum is Http://www.tussaudtimes.co.uk/forums i have put that bit of code in so you can see what it comes out like. The code is only in once but 2 download buttons appere above everything else.

Thanks for your help
Pages: 1 2 3 4 5