MyBB Community Forums

Full Version: Download section bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There's a bug in the download section mod. If you edit a download the categorie's name and description gets updated, too.
Hmm, I'm sure that's not supposed to happen.

I'll look into this as soon as I get chance. Thanks for reporting. Smile
This mod has now been updated.

As only one line has changed, I'll provide a manual fix below.

Open: admin/downloads.php

Look for the do_edit block of code...

Find:
PHP Code:
if(intval($mybb->input['cid'])) 

Replace with:
PHP Code:
elseif(intval($mybb->input['cid'])) 
Hello musicalmidget,

musicalmidget Wrote:This mod has now been updated.

As only one line has changed, I'll provide a manual fix below.

Open: admin/downloads.php

Look for the do_edit block of code...

Find:
PHP Code:
if(intval($mybb->input['cid'])) 

Replace with:
PHP Code:
elseif(intval($mybb->input['cid'])) 

which of the two "if(intval($mybb->input['cid']))" or the four "elseif(intval($mybb->input['cid']))" is meant to be replaced in the 1.5.2 version?

And another question:
I recently installed the Download Section V1.5.2 mod and got it up and running so far, based on the installation instructions including positioning of the files and editiong codes. I re-checked everything five times, but any time when I try to access any option of the "Downloads" panel in my ACP, I get the message "Access Denied. You do not have permission to access this part of the administration control panel."

This looks very much like the to-be granted Admin permission for eMods right after installation, but I cannot find a place where to grant these certein access rights to my admin(s).

Please help me, because I can't find the error...

Thank you very much in advance.
Best regards,
Dirk
Reference URL's