Announcement

Collapse
No announcement yet.

Post after last post on the page error

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

  • Post after last post on the page error

    I followed the instructions at http://www.vbulletin.com/forum/showthread.php?t=198875 and tried to insert a banner post after the last post on every page.

    It works but only as long as you don't use Quick reply. When you post a message through Quick reply, it leaves the banner post where it is, adds the new post below it and then adds another banner post below it. When I use javascript for my banner instead of YOUR BANNER CODE HERE, it just displays a blank page and says Stopped in the status bar. This only happens in Firefox.

    Anyone have a fix?

  • #2
    That modification has problems with AJAX quick reply. I remember seeing a fix for this on www.vbulletin.org but I don't have a direct link.

    Comment


    • #3
      Found a fix here on vBulletin.com.

      Changing
      Code:
      <if condition="$post['islastshown']">
      to
      Code:
       
      <if condition="$post['islastshown'] and !$GLOBALS['vbulletin']->GPC['ajax']">
      solved the problem.

      Comment

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