I dont really want to do that.
I have figured that If I just edit the newattachment.php I can add the option to just add the filename that is in the storage directory, and have it not do any uploading, but just add the appropiate database entry for the attachments.
All I need to know now, is where the html template code is for the attachment manager so I can add the additional option, and how to only display it to admins.
Where is the html for the attachment manager, and what is the variable to check if is admin ...
if ($vbadmin) {
new option html
}
Would I just use this variable?
if($vbulletin->userinfo['userid'] == 1 || $vbulletin->userinfo['userid'] == 2){}
|