Help with forums addon

Permalink
I am doing something a bit different with the forum add-on by using it as a classified ad system. This overall works fine, except I would like to change the attachment system to be viewed inline as compared to being a link.

Many of my users will not be very computer literate and may be very confused by it asking if they want to download every picture they want to look at. I only care about having images here, although I understand other types may be added - so having a way to set this as default for any image extension would be good.

Here is the current code for attachments:
// add new attachments if they're there
      foreach($attachments as $nb) {
         $data = array();
         $data['fileLinkText'] = $nb->getFilename();
         $data['fID'] = $nb->getFileID();
         $b2 = BlockType::getByHandle('file');
         $this->addBlock($b2, 'Attachments', $data);
      }

 
jordanlev replied on at Permalink Reply
jordanlev
Try posting this to the support forum for the forums addon (go to the forums addon in the marketplace and over in the right sidebar should be a link for "Support").

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.