Notifications
Clear all

wpForo 1.x.x [Solved] Can I turn off "days/hours ago" column?

5 Posts
2 Users
1 Reactions
837 Views
Posts: 28
Topic starter
(@joshfree)
Eminent Member
Joined: 5 years ago

In my case, I'm not sure this info adds value since my forum is not (yet) very active. Can I turn this off for a while then turn it back on later if I get more participation? Thanks!

4 Replies
Posts: 281
(@crisw)
Reputable Member
Joined: 6 years ago
Posted by: @joshfree

In my case, I'm not sure this info adds value since my forum is not (yet) very active. Can I turn this off for a while then turn it back on later if I get more participation? Thanks!

 

Hi @joshfree

I think there's no "on and off", or "enable disable" for the dates yet.  However you can "hide" that for now (which is what I did also in one of my forums, because we have long topic titles, for us, hiding some columns give more space as well on the front end), so I'm sharing the code snippet I used.   It might work for you too.

My code below works for my forum using the Threaded Layout.  It only hides the date column on the front end of the Forum.  The dates are still visible in the topic thread itself.   

You can try this, just go to:

1) Forum Dashboard
2) Settings
3) Select the Styles tab
4) On the Custom CSS Code field, just add the code below:

 

/*Hides Date Column in Threaded Layout*/
div.wpf-head-box.wpf-thead-date {
display: none;
}

div.wpf-thread-box.wpf-thread-date {
display: none;
}

5) Scroll down and click the Update Options button.
6) On the Frontend, click Control+F5 twice to refresh the page. 
 

When you want to enable or display the Dates on your forum again, just remove the above code using the same steps.  

Hope this helps!  Good luck and God bless you!  🙂

Posts: 28
Topic starter
(@joshfree)
Eminent Member
Joined: 5 years ago

This is extremely helpful, @crisw. Thanks!

Since I am not a coder, I am hoping someone more knowledgeable than I am can tell me how to adapt this to the Extended Layout, rather than the Threaded one. I can try digging around, but would rather not break something or spend hours fiddling with it like an amateur car mechanic.

Thank you again!

Posts: 281
(@crisw)
Reputable Member
Joined: 6 years ago
Posted by: @joshfree

This is extremely helpful, @crisw. Thanks!

Since I am not a coder, I am hoping someone more knowledgeable than I am can tell me how to adapt this to the Extended Layout, rather than the Threaded one. I can try digging around, but would rather not break something or spend hours fiddling with it like an amateur car mechanic.

Thank you again!

 

Hi @joshfree

Don't thank me yet.  Let's hope this works!  🙂

For the Extended Layout, you would use a different code that would apply to that layout. 

Just follow the steps above (#1 to #6) but instead add the code below, that would hopefully work for your site as well. (It's the exact code I use on my site, I'm attaching a screenshot, if that would be the effect that you also want).   

/*Hide Last Topic Date at Frontend Extended Layout*/
div.wpforo-last-topic-date {
display: none !important;
}

When you want to enable or display the Dates on your forum again, just remove the above code using the same steps.  

Hope this helps!  Good luck and God bless you! 🙂 

 

1 Reply
(@joshfree)
Joined: 5 years ago

Eminent Member
Posts: 28

@crisw Thanks!