Forum Icons and Mark Channels As Read.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • M@dness
    Member
    • Dec 2014
    • 50
    • 5.1.x

    Forum Icons and Mark Channels As Read.

    Good day all,

    I have 2 questions which still trouble me.

    1) The forum icons on the forum index, it there a way to change them, if so how? I know it uses some kind of sprite, but I dont understand how it works. Also on my forum I purchased a skin and the icons always remain the same weather there is a new post or not?

    2) The mark Channel Read, my member are so used to VB4 that they are having a hard time with this option. In VB4 when you would mark all forums as read, it would do exactly that and it would also clear all the post in "todays post". Meaning that the todays post would return a empty search result until someone posted a new thread or reply. Is there a way to do this with VB5?

    Thank-you all.
  • M@dness
    Member
    • Dec 2014
    • 50
    • 5.1.x

    #2
    I found this code :

    /* start custom forum icons */
    /* Forums */
    .forum-list-container .forum-item .cell-forum .icon {
    background: transparent url("http://mywebsite/images/old.gif") no-repeat; /* forum icon for forums with old posts */
    width: 16px; /* icon width */
    height: 15px; /* icon height */
    }
    .forum-list-container .forum-item.new .cell-forum .icon {
    background: transparent url("http://mywebsite/images/new.gif") no-repeat; /* forum icon for forums with new posts */
    width: 16px; /* icon width */
    height: 15px; /* icon height */
    }
    /* end custom forum icons */

    That corrected the issue I was having for the forum index.

    Now I would like to do the same thing for the topics, new and old topics, can anyone help?

    Thanks...

    Comment

    • M@dness
      Member
      • Dec 2014
      • 50
      • 5.1.x

      #3
      Well I got the threads to work as well, however I am not that good in CSS, can someone PLZ just validate my coding.

      /* Thread */
      .vb-icon-topic-status {
      background: transparent url("mywebsite/images/new.gif") no-repeat; /* forum icon for thread with old posts */
      width: 16px; /* icon width */
      height: 15px; /* icon height */
      }
      .read .vb-icon-topic-status {
      background: transparent url("mywebsite/images/old.gif") no-repeat; /* forum icon for thread with new posts */
      width: 16px; /* icon width */
      height: 15px; /* icon height */
      }
      /* end custom thread icons */

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        The CSS *looks* just fine. Have you tried it?

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • M@dness
          Member
          • Dec 2014
          • 50
          • 5.1.x

          #5
          Yes, it works great, just wasn't sure about the coding.

          Can see it here : www.sidexside.ca

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            Nice!

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools <- awesome site for html/css help

            Comment

            • brainless_mn
              Member
              • Dec 2014
              • 53
              • 5.1.x

              #7
              Questions to both as I am VERY new at vBulletin, if you don't mind:
              1. Where am I to put this code if I were to do the same thing?
              2. How to I upload the new icons to the images folder when my site is on the vBCloud?



              Comment

              • glennrocksvb
                Former vBulletin Developer
                • Mar 2011
                • 4011
                • 5.7.X

                #8
                1. Sitebuilder > Style > CSS Editor tab > (Select a style)
                2. You can't. Use external images and set the image url as absolute (e.g. http://example.com/images/whatever.png)

                Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24286
                  • 6.0.X

                  #9
                  Today's Posts has NEVER returned an empty results page if you mark forums read. Today's Posts simply shows a list of topics updated in the past 24 hours. Unread ones have the titles in bold, and an unread marker next to it. Read ones show in normal (unbolded) font.

                  New Posts (or New Topics as it is in vB5) is the one that would return an empty results page if you had marked all read. This page isn't 100% accurate yet in vb5 but should be much improved in 5.1.6.
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  • brainless_mn
                    Member
                    • Dec 2014
                    • 53
                    • 5.1.x

                    #10
                    Originally posted by Mark.B
                    Today's Posts has NEVER returned an empty results page if you mark forums read. Today's Posts simply shows a list of topics updated in the past 24 hours. Unread ones have the titles in bold, and an unread marker next to it. Read ones show in normal (unbolded) font.

                    New Posts (or New Topics as it is in vB5) is the one that would return an empty results page if you had marked all read. This page isn't 100% accurate yet in vb5 but should be much improved in 5.1.6.

                    Mark,

                    Using either, especially Today's Posts, I NEVER see a thread unbolded, even after I've read it. Is there a setting I have missed?

                    This is on vBcloud www.tlplanet.com.

                    Any help would be appreciated.

                    Comment

                    • brainless_mn
                      Member
                      • Dec 2014
                      • 53
                      • 5.1.x

                      #11
                      Mark.B
                      Thanks for fixing the Read issue.
                      The fix was to change the "Topic/Forum Read Marking Type" setting to "Database".

                      Comment

                      Related Topics

                      Collapse

                      Working...