Results 1 to 6 of 6

Thread: (3.5) - vBa 2.0 - New Posts counts ALL posts

  1. #1

    Default 3.5 - vBa 2.0 - New Posts counts ALL posts

    I am using database-style read marking.

    Apparently there have been 21,245 posts since my last visit.

    'sup?

  2. #2
    Join Date
    Jan 2004
    Posts
    3,185

    Default Re: 3.5 - vBa 2.0 - New Posts counts ALL posts

    In modules/welcomeblock.php

    Find

    PHP Code:
            $getnewposts $db->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "post WHERE dateline >= '$vbulletin->userinfo[lastvisit]'"); 
    Change it too
    PHP Code:
            $getnewposts $db->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "post WHERE dateline >= '{$vbulletin->userinfo[lastvisit]}'"); 
    Save and let me know.
    Zachery
    I may or may not do things.

  3. #3

    Default Re: (3.5) - vBa 2.0 - New Posts counts ALL posts

    *thumbsup*

    That did the trick.

  4. #4

    Default Re: (3.5) - vBa 2.0 - New Posts counts ALL posts

    Excellent. This should be fixed in the stock distribution, shouldn't it?

  5. #5

    Default Re: (3.5) - vBa 2.0 - New Posts counts ALL posts

    I was having the same prob, Thanks for the fix.

  6. #6

    Default Re: (3.5) - vBa 2.0 - New Posts counts ALL posts

    Same problem here! Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New Posts help.
    By sunnycher in forum Troubleshooting / "How do I..." Questions
    Replies: 5
    Last Post: 07-07-2005, 01:18 PM
  2. New Posts
    By BigAl in forum Add-On Modules & Modifications
    Replies: 3
    Last Post: 03-26-2005, 12:03 PM
  3. Last Posts
    By StuartDH in forum Troubleshooting / "How do I..." Questions
    Replies: 4
    Last Post: 02-12-2005, 05:07 AM
  4. Replies: 2
    Last Post: 01-21-2005, 10:33 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
  •