Remove "Date Started" from Forum Display?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mistapuggs
    New Member
    • Jul 2005
    • 13
    • 3.0.7

    [Forum] Remove "Date Started" from Forum Display?

    Hi Everyone.

    first, I am really liking the new VB4 layout. There are a few things that have been hard for me to get used to but I think in the end it will be a better platform.

    When I look at a list of threads on VB4 (even this board) right under the thread subject and to the right of the thread starter it shows the date when the thread was started. I'd like to get rid of it. For me, the time of the last post is much more relevant and is already listed a couple of columns over. Is there an easy way to remove the "date started" ?

    Thanks!

    p.s. I don't really know where the fine line is between what should be posted here vs on the .org site so let me know if I'm way off putting it here.
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    The "Started By: username" and the thread start time shown below the thread title is terrible in vb4. Here is how you can make it look just it did in vb3, where only the username is displayed below the thread title. Edit the threadbit template as follows.

    Code:
    <!-- comment out default started by -->
    <!--
    						
    {vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}}
    
    -->
    
    <!-- add custom started by -->
    {vb:raw thread.postusername}

    Comment

    • mistapuggs
      New Member
      • Jul 2005
      • 13
      • 3.0.7

      #3
      Thanks a ton Andy. I'll let you know how it goes!

      Comment

      • mistapuggs
        New Member
        • Jul 2005
        • 13
        • 3.0.7

        #4
        Ok, what am I doing wrong here?

        I keep getting

        Fatal error: Call to undefined method vB_CurlyNode::childNodes() in .../includes/template_curly_defs.php on line 34
        Code:
        {vb:raw thread.postusername}
                            
        //                        {vb://rawphrase started_by_x_y_z_a, {vb:link member, 
        // {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw     
        // thread.startdate}, {vb:raw thread.starttime}}

        Comment

        • Andy
          Senior Member
          • Jan 2002
          • 5886
          • 4.1.x

          #5
          You can't use the two forward slashes like you would in a php script. Use the <!-- --> to comment out a block of code in a template.

          Comment

          • mistapuggs
            New Member
            • Jul 2005
            • 13
            • 3.0.7

            #6
            That worked awesome Andy, thanks.

            FYI, I also had to do the same thing in search_threadbit so it looks better when you do a search for new posts.

            Thanks again!

            Comment

            • Andy
              Senior Member
              • Jan 2002
              • 5886
              • 4.1.x

              #7
              Happy to help.

              Yes search_threadbit template should also be edited the same way.

              Comment

              • SuperJETT
                New Member
                • Mar 2006
                • 24
                • 3.5.x

                #8
                Thanks for posting that, implemented it on both of my themes in search/forum listing.

                Comment

                • tini_lam
                  Member
                  • Dec 2009
                  • 61
                  • 4.0.0

                  #9
                  how do edit style of vb:raw thread.starttime?

                  Comment

                  • Andy
                    Senior Member
                    • Jan 2002
                    • 5886
                    • 4.1.x

                    #10
                    Originally posted by tini_lam
                    how do edit style of vb:raw thread.starttime?
                    I suggest you start a new thread and explain what you would like to do in more detail.

                    Comment

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