Announcement

Collapse
No announcement yet.

'New Posts' icon in category?

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

  • 'New Posts' icon in category?

    How do I have a 'new posts' icon next to a category when a new posting appears in one of the sub-forums?

  • #2
    It should do that by default.

    Please enter your license information in your profile. See the link in my sig for more info. Thanks!

    Comment


    • #3
      I'm talking about a category that is not a forum, meaning that it serves as just a 'title' to a set of categories.
      Can you actually have a 'new post' show up whenever a new msg is posted to one of its sub-category?

      Comment


      • #4
        Oh I think I misunderstood your question. The answer is still yes however.

        Copy the contents of forumhome_forumbit_level2_post into the forumhome_forumbit_level1_nopost template. That should do what you want.

        Comment


        • #5
          The problem is that it will always be displayed as a lock - because categories aren't open for new threads / posts.

          To go around this, you will need to replace this code
          PHP Code:
                  if ((!$forumperms['canpostnew'] and $showlocks) or $forum['allowposting']==0) {
                    
          $forum['onoff'].='lock';
                  } 
          with
          PHP Code:
                  if (((!$forumperms['canpostnew'] and $showlocks) or !$forum['allowposting']==0) and $forum['cancontainthreads']) {
                    
          $forum['onoff'].='lock';
                  } 
          in both forumdisplay.php and index.php.

          And I think you only need <img src="images/$forum[onoff].gif" border="0" alt=""> in your XXX_nopost templates, or it will be displayed as a real forum.
          Last edited by Chen; Sat 25 Aug '01, 2:56am.
          Chen Avinadav
          Better to remain silent and be thought a fool than to speak out and remove all doubt.

          גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

          Comment


          • #6
            You could also turn the display of locks off from the Admin CP > Options.

            Comment


            • #7
              Interesting theory.
              Chen Avinadav
              Better to remain silent and be thought a fool than to speak out and remove all doubt.

              גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

              Comment

              Related Topics

              Collapse

              Working...
              X