Quote:
Originally Posted by Firestar.chkn
AndrewD, awesome mod here.
Got one question, please. I make use of a non-standard (higher than admin) Core Admin group. As this is not group ID 6, I cannot access the admin page when I'm not also added to the Admin group.
Where can I find the "can_admin_links" variable. I've looked through all the files, and all the DB entries, and I cannot find it at all. Please direct me, so that I can add my Core Admin group into this variable?
|
local_links_include.php
Look for the statement around line 99 that assigns $is_admin. can_admin_links is set around line 221 using this value.
Quote:
Originally Posted by Firestar.chkn
Also, just one suggestion.
Consider adding some default values into the settings fields. They all can be quite daunting to fill in, and some of them, I cannot figure out what needs to go in there. For example, how do I specify only RAR and ZIP files to be added?
Anyways, great mod. Thanks a lot for all your work.
Cheers
Firestar
|
I understand - really this has grown to a size that needs a wizard (software or human)

.
You say only zip and rar to be added. Do you mean uploaded or handled as downloads. In either case, zip and rar have to have mimetypes specified in the main vbulletin attachments table. Then you can limit uploads to this by setting the value upload_filetypes.