Hello,
In cause of you didn't heard it from another person, the problem with the persmissions is also in this mod.
So: the permission has been turned to 'yes', but I (we) still "haven't got access" to that part of the CP.
i got it before been editing it for min or so this is what i have now
So, how can I get it working?
have to edit some php files
thats database stuff "mysql"
open admin/adminoptions.php
and find
"canedithelp" => addslashes($newperms['canedithelp']),\
add under
"canmanagedownloads" => addslashes($newperms['canmanagedownloads']),
then find
makeyesnocode($lang->can_manage_helpdocs, "newperms[canedithelp]", $permissions['canedithelp']);
add under
makeyesnocode("Can Edit Downloads Section", "newperms[canmanagedownloads]", $permissions[canmanagedownloads]);
and if you don't have the links on the side bar
in admin/index.php
find
makenavselect($lang->nav_helpdocs);
add under
makenavoption("Add", "downloads.php?action=add");
makenavoption("Modify / Delete", "downloads.php?action=modify");
makenavoption("Validate Submissions", "downloads.php?action=validate");
makenavselect("Downloads");
That are the "musts" of the readme?
if I want to make this only available to selected usergroups, how would I go about doing it?
I tried something like this
if((intval($mybb->user['usergroup']) != 4) ||
(intval($mybb->user['usergroup']) != 8))
but am only able to get it work with one group at the time...as soon as I insert the || it fails...help anyone?
This is obviously from the beginning of the ../downloads.php -file
Ideally I would love to have this as a module and the administration of usergroups allowed to use it would happen via the Group Administration...
cheers,
Kimmo