Results 1 to 2 of 2

Thread: attachment.php - templated page?

  1. #1
    Join Date
    Aug 2004

    Default attachment.php - templated page?

    Any way to turn attachment.php into a templated page, or even hardcoded html/php page, so that other things may be placed in there, such as advertising banners, etc?

  2. #2
    Join Date
    Jan 2004
    Georgia, USA

    Default Re: attachment.php - templated page?

    You should be able to do that by adding a new plugin to the 'vba_dyna_attachment_start' hook location with code that looks something like this:
    PHP Code:
    if ($_REQUEST['do'] == 'fullview')
    '<html><head>' $headinclude '</head><body><img src="attachment.php?do=showattach&amp;attachmentid=' intval($_REQUEST['attachmentid']) . '" /> Testing </body></html>';

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. first attachment on showentry page?
    By tfw2005 in forum "How Do I..." Questions
    Replies: 21
    Last Post: 02-18-2009, 12:22 PM
  2. Templated on vBadvanced website
    By westcan in forum "How Do I..." Questions
    Replies: 1
    Last Post: 04-08-2007, 12:30 PM
  3. Last attachment
    By dave_finlayson in forum Module & Modification Discussion & Requests
    Replies: 3
    Last Post: 08-29-2005, 10:11 AM
  4. Attachment
    By Merjawy in forum Troubleshooting / "How do I..." Questions
    Replies: 12
    Last Post: 07-12-2004, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts