The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
(attachment upload) If first post
Is there an easy way to find out if an attachment is being uploaded in a first post? Basically, I need to add a query if an attachment is being uploaded in a first post.
Sorry if this has been discussed before. The forum search function isn't working properly when using a search term. |
#2
|
|||
|
|||
An idea... Look in newattachment.php for the following:
Code:
if ($threadid) // newreply.php or editpost.php called { // blah blah } else if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew'])) // newthread.php { print_no_permission(); } Code:
if (!$threadid AND ($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew'])) { // do your stuff } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|