The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
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){} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|