Results 1 to 3 of 3

Thread: Reply/Replies displayed wrongly in news bit

Hybrid View

  1. #1

    Default Reply/Replies displayed wrongly in news bit

    Hi folks.
    Please look at the attached screen capture. The thread with lots of views shows 'Reply' rather than 'Replies'.
    Attached Images Attached Images
    Stuart Wright, founder of AVForums.com.
    Very grateful user of vBAdvanced.

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,434

    Default Re: Reply/Replies displayed wrongly in news bit

    Looks like the comma in the number is throwing off the count. If you'll look in your modules/news.php file for this code:
    PHP Code:
    $news process_thread_array($news''$mod_options['portal_news_showicon']); 
    Add this right above:
    PHP Code:
    $news['reply_noformat'] = $news['replycount']; 
    Then look in your adv_portal_newsbits template for this code:
    PHP Code:
    <if condition="$news['replycount'] == 1"
    And replace it with this:
    PHP Code:
    <if condition="$news['reply_noformat'] == 1"
    Then that should take care of the problem.

  3. #3

    Default Re: Reply/Replies displayed wrongly in news bit

    That did the trick - thanks
    Stuart Wright, founder of AVForums.com.
    Very grateful user of vBAdvanced.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [HACK] redirect news reply to portal and scroll to original news thread...
    By jfreels in forum Add-On Modules & Modifications
    Replies: 0
    Last Post: 02-09-2005, 06:50 PM
  2. News Item avatar displayed on right instead of left...
    By theMusicMan in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 11-04-2004, 01:33 PM
  3. News Item displayed from category with no permissions
    By theMusicMan in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 08-27-2004, 02:10 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
  •