Results 1 to 5 of 5

Thread: Attachments using [attach] tag not showing

  1. #1

    Default Attachments using [attach] tag not showing

    After uploading attachments and clicking the paperclip to select the image to display in the Message area, I get [ATTACH]XX[/ATTACH] tags, however nothing appears in the article after submitting.

    The first couple articles that were submitted work fine, but new ones do not work. I haven't changed anything since submitting the first articles. The only difference between them is the username under which they were submitted. Mine is an admin account and the new ones were submitted using a regular user account.

    The attachments display fine if using regular IMG tags and there is no problem viewing the attachments via the thumbnails. Attachments are being stored in the file system.

  2. #2


    anyone else having this issue?

  3. #3


    I did some more testing and determined that if I delete and resubmit the same image, and use the [ATTACH] tag as an admin, the image is displayed without a problem. If a regular registered member does the same, the image is not displayed.

    If I edit the article the image in the [ATTACH] tag is not displayed. Only after re-uploading does the image display.

    Maybe there is a setting somewhere that I'm missing.

  4. #4
    Join Date
    Jan 2004
    Georgia, USA


    Thank you for pointing this out. I've done some testing locally and it looks like there was a small bug that could prevent anyone besides the owner of the attachment from vieiwng it. I've just updated the dynamics/showentry.php file in the download package here to include the fix, so if you will download the files from here again and update that one on your server, that should take care of the issue.
    Or if you would rather apply the fix manually, just look in the file for this line:
    PHP Code:
                $attach['visible'] = 1
    And replace with this:
    PHP Code:
                $attach['visible'] = 1;
    $attach['state'] = 'visible'
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  5. #5


    that did it, thanks brian!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Attachments showing as large images
    By angeljs in forum Bugs & Issues
    Replies: 13
    Last Post: 07-19-2012, 03:23 AM
  2. Attachments not showing in-line
    By ibaker in forum Bugs & Issues From v2.0.0
    Replies: 3
    Last Post: 06-24-2010, 05:07 PM
  3. Parsing [ATTACH]1[/ATTACH] with a vba module
    By crazy4bass in forum Module & Modification Discussion & Requests
    Replies: 1
    Last Post: 05-08-2009, 11:44 AM
  4. Attachments not showing up on main page #2
    By JBMoney in forum Troubleshooting / "How do I..." Questions
    Replies: 3
    Last Post: 07-12-2005, 12:05 PM
  5. Attachments not showing up on main page
    By fasteddie in forum Troubleshooting / "How do I..." Questions
    Replies: 12
    Last Post: 06-15-2005, 11:09 AM

Posting Permissions

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