Results 1 to 12 of 12

Thread: News module with 'mark news by icon' and other useful things.

  1. #1
    Join Date
    Oct 2004

    Thumbs up News module with 'mark news by icon' and other useful things.

    This hack is an upgraded version of this one. I think this might be useful to other people. Works with vBa CMPS v3.0.1

    What does it do:
    Pagination feature altered: now you don't need to enter number of pages - just turn it on and news will be paginated.
    Mark news by icon: threads will became news if marked by certain icon
    Sort news by thread edit time: this sorting method is added to existing ones. It's useful when you marking old thread as news and want it to appear at the top of news.
    Brake Tag: with this tag you may manually specify where to position '...[Read More]' link


    1. Install from scratch (no vba installed):
    replace news.php and vbacmps_install.php with updated files from the archive, install vba as usual.

    2. Update existing vba installation:
    overwrite forum/modules/news.php with one from the archive.
    Copy vbacmps_install.php to forum/admincp/ and run it.
    Update templates and update phrases and reinstall settings. delete the file afterwards.

  2. #2
    Join Date
    Sep 2004

    Default Re: News module with 'mark news by icon' and other useful things.

    this will not work out of the box if you didn't mark all your news posts with a specific icon from the very start (and given that most people have marked their news posts manually through the admin interface, it might be a problem)...

    so, I edited the news.php (line 133) to something like this to include the icon as an optional check in addition to the current forum/thread checks:

    			$getnewsids_query = "
    				SELECT %s FROM " . TABLE_PREFIX . "thread AS thread
    				WHERE visible = 1
    					AND open != 10
    					AND (thread.forumid IN(" . implode(',', $mods['inforums']) . ")" .
    					iif(!empty($newstids), ' OR threadid IN(' . implode(',', $newstids) . ')') .
    					iif($mod_options['portal_news_post_iconid'] > 0, " OR thread.iconid IN ({$mod_options['portal_news_post_iconid']})") . ")" .
    					iif($mod_options['portal_news_cutoffdate'], 'AND thread.dateline > ' . (TIMENOW - ($mod_options['portal_news_cutoffdate'] * 86400))) .

  3. #3
    Join Date
    Jun 2007


    Thanks, this mod works very good with the icons, but i have a problem with the Pagination, i put 1 in the Enable News Pagination option but doesn't work anything shows in the portal i have a lot of news but doesn't display the pagination.


  4. #4
    Join Date
    Jun 2008


    Same thing for me. Everything works, except PAGINATION.
    SOLVED: go to News Archive and set Number of Archived News Posts to Display to 0 !

  5. #5
    Join Date
    Sep 2004


    Thanks for sharing. Installed and works great!

  6. #6
    Join Date
    Mar 2009


    do you have for 3.8.1

  7. #7
    Join Date
    Feb 2008


    Any solution for v3.2.0 ?

  8. #8


    Quote Originally Posted by akrep1980 View Post
    Any solution for v3.2.0 ?
    Last edited by zi5; 08-31-2009 at 03:07 AM.

  9. #9


    Secta you don't want to update as with new version ?
    Thanks ,

  10. #10
    Join Date
    Aug 2009


    I have Vbulletin V3.8.3
    That Modification want not to install
    I have this message to vBadvanced CMPS Install
    It appears that you are trying to install the vBulletin 3.6 version of vBadvanced CMPS on an older version of vBulletin.
    Please go back to and download the version of vBadvanced CMPS that corresponds to your version of vBulletin, or upgrade to vBulletin 3.6 before proceeding.
    What is the solution ? please ...

  11. #11
    Join Date
    Aug 2009


    What's up with the upgrade of this nice module ?

  12. #12


    Anyone have this working on vBAdvanced v4.3?

    My forums: Mil Utilidades | #2 | #3

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mark Thread As News
    By The Equivocate in forum Module & Modification Discussion & Requests
    Replies: 32
    Last Post: 02-04-2013, 05:29 PM
  2. Paginated news + mark news by icon (vba v3.0 RC2)
    By SecTa in forum Modifications (version 3.x & 2.x)
    Replies: 12
    Last Post: 04-04-2009, 10:56 AM
  3. Mark / Unmark thread as news.
    By KieuTuan in forum Modifications (version 3.x & 2.x)
    Replies: 9
    Last Post: 03-11-2007, 04:29 PM
  4. Another way to mark news
    By s0b in forum "How Do I..." Questions
    Replies: 1
    Last Post: 01-05-2007, 01:28 PM
  5. Mark Thread as News
    By Blue Moose Aaron in forum Add-On Modules & Modifications
    Replies: 142
    Last Post: 06-13-2006, 01:53 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