Announcement

Collapse
No announcement yet.

Last Post URL missing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Last Post URL missing

    When a user (especially a new one) posts on a forum where the forum setting says "Count posts made in this forum towards user post counts? NO", the Last Post field in the profile wouldn't also be updated w/ his last post from that same forum.

    Is this the way it should be?

  • #2
    For performance reasons, the query is only run if a user has a totalposts count greater than 0. Since their posts haven't counted the query won't run.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Actually, it should run regardless:

      Code:
                $DB_site->query("UPDATE user SET
                ".iif ($foruminfo[countposts],"posts=posts+1,","")."
                $dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X