Results 1 to 5 of 5

Thread: Attachments in news module

  1. #1
    Join Date
    Feb 2005
    Posts
    8

    Default Attachments in news module

    I just upgraded to CMPS 3.0 and in the news module I cannot remove the number of attachments on the front page. No matter which option I choose, one attachment is displayed.

    Anyway, I am using this mod in my forum and I was wondering if it is possible to integrate it with the news module.

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Attachments in news module

    It looks like there may have been a small bug in the news.php file that would still show attachments if you have the "Enable [ATTACH] BB Code Tags" option enabled as well. I've just applied the fix to the download package here, so if you'll download the files again and replace your modules/news.php file with the new one, that should take care of the problem.

  3. #3
    Join Date
    Feb 2005
    Posts
    8

    Default Re: Attachments in news module

    Great thanks. Would you know if it is easy to integrate the "show thumbnails to guests" with the news module?

  4. #4
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Attachments in news module

    I'm assuming you want all groups to be able to view the thumbnail on your CMPS page, right? If so, you should be able to add a new plugin to the 'vba_cmps_module_newsbits_attachmentbits' hook location with the following code:

    PHP Code:
    if (!($newsforumperms[$news['forumid']] & $vbulletin->bf_ugp_forumpermissions['cangetattachment']))
    {
        
    $newsforumperms[$news['forumid']] += $vbulletin->bf_ugp_forumpermissions['cangetattachment'];


  5. #5
    Join Date
    Feb 2005
    Posts
    8

    Default Re: Attachments in news module

    Thanks, worked like a charm!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. News Attachments
    By ConqSoft in forum Bugs From 2.0.0
    Replies: 6
    Last Post: 05-08-2006, 10:51 PM
  2. News Attachments: Only 1 thumbnail
    By Frankenberrie in forum Troubleshooting / "How do I..." Questions
    Replies: 4
    Last Post: 05-08-2006, 09:36 PM
  3. News attachments
    By glorify in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 12-19-2005, 11:13 PM
  4. Multiple Attachments on News
    By Shon in forum Add-On Modules & Modifications
    Replies: 4
    Last Post: 06-17-2004, 02:03 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
  •