Announcement

Collapse
No announcement yet.

Make new posts bolded?

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

  • Make new posts bolded?

    Would that be possible? or perhaps a different color?

    I've tried with the templates, but its either all threads are bolded or none.

    So what must I do

  • #2
    This is a hack and so therefore should be asked on vbulletin.org.
    Email: [email protected]
    Site: Under Construction

    Comment


    • #3
      Sheesh everything is over there lol

      Could you tell me the name of the hack?

      Comment


      • #4
        Sorry, i should have worded it differently:

        Discussion of hacks should be done at vbulletin.org. I don't know if such a hack exists.
        Email: [email protected]
        Site: Under Construction

        Comment


        • #5
          I don't think there is a hack already made, Kaizen just meant it was proper to ask over there for it.

          Comment


          • #6
            Hmm no hack yet.

            I just thought it could be a neat template trick. Guess I'll try my luck over there.

            Comment


            • #7
              Originally posted by tubedogg
              I don't think there is a hack already made, Kaizen just meant it was proper to ask over there for it.
              Email: [email protected]
              Site: Under Construction

              Comment


              • #8
                Now that I think about this would actually be easy enough to do as a template modification.

                Edit the forumdisplay_gotonew template and add <b> or <font color="#FFFFFF"> or whatever you want. Put it before the <a href.

                Then edit the forumdisplay_forumdisplaybit and find
                <smallfont>$thread[pagenav]</smallfont>
                Right after it, add your closing tag (e.g. </b> or </font> or whatever).

                That should do it.

                Comment


                • #9
                  Wow, I hadn't thought of this...
                  Chen Avinadav
                  Better to remain silent and be thought a fool than to speak out and remove all doubt.

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

                  Comment


                  • #10
                    Thanks a bunch Kev! Works great!

                    Comment


                    • #11
                      Very cool trick, Kevin!!
                      FWC
                      White Sox Interactive Forums

                      Comment


                      • #12
                        Wouldn't stray </b>'s without <b>'s cause problems or am I being an HTML pedant?
                        Motorsport Forums

                        Comment


                        • #13
                          Shall I post this on vb.org?

                          Your method puts bold on all posts which are new, regardless if the user had read them or not.

                          I've just done a version which turns the bold off if the user had read the thread (it mirrors the envelope behaviour). However it does require code edits.

                          In formdisplay find:

                          Code:
                          if ($usehotthreads and ( ($thread[replycount]>=$hotnumberposts and $hotnumberposts>0) or ($thread[views]>=$hotnumberviews and $hotnumberviews>0) ) ) {
                                  $thread[newoldhot]='hot'.$thread[newoldhot];
                                }
                          Below this add

                          Code:
                                $boldon = "";
                                $boldoff = "";
                          A few lines down there is

                          Code:
                                    $thread[newoldhot]='new'.$thread[newoldhot];
                          Above (or even below) this add

                          Code:
                                    $boldon = "<b>";
                                    $boldoff = "</b>";
                          Then go into the forumdisplay_forumdisplaybit template and put $boldon and $boldoff around the thread name.
                          Motorsport Forums

                          Comment


                          • #14
                            Originally posted by Mark Hewitt
                            Wouldn't stray </b>'s without <b>'s cause problems or am I being an HTML pedant?
                            Well...technically it's probably not exactly perfect. But it works in all major browsers, and that's all that matters.

                            As for the code changes, yeah it would probably go better on vb.org

                            Comment

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