Announcement

Collapse
No announcement yet.

Remove "Date Started" from Forum Display?

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

  • [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.

  • #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


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

      Comment


      • #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


        • #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


          • #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


            • #7
              Happy to help.

              Yes search_threadbit template should also be edited the same way.

              Comment


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

                Comment


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

                  Comment


                  • #10
                    Originally posted by tini_lam View Post
                    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...
                    X