The prepublication facility is implemented on the TerraSwarm site and it is a bit confusing.

We submit prepublications to the SRC website, see How do I handle the 60-day prepublication SRC requirement?

Basically, each upload has a prepublication bit in the terraswarm_7 database, pubX table.

If any of the uploads have the prepublication flag set to zero, then none of the uploads that have the prepublication flag set to 1 are displayed.

It may help to consider how this will work.

  1. The author submits a prepublication and it gets added to the TerraSwarm publications database. At this point, the prepublication box is checked.
  2. When the user uploads the pdf, it gets a watermark and a header attached. This pdf is then uploaded by hand to the SRC site.
  3. Eventually, the publication is accepted and published. At this point, the URL to the published version is uploaded and it is not marked as a publication
  4. As a result, the first prepublication is no longer visible, and only the second URL is visibile. Any subsequent uploads must be not marked as prepublications to be visible.
However, if the user uploads a prepublication and forgets to set the prepublication flag, then all the prepublications will be hidden.

The workaround is to go to the options link on the bottom of the page and click on "Update prepublication flag". Then, enter the publication id number and the attachments are displayed, along with the values of the prepubFlag. If the attachmentId is entered and the Toggle button hit, a confirmation page is displayed and then if the Toggle button is hit again, then the value of the prepubFlag is toggled.

See also Update prepub pdf.