PDA

View Full Version : How to remove views


Beermonster
28 Dec 2009, 18:34
I've taken out the code that I thought it was but it didn't seem to work, I'm wanting to remove the views from forumdisplay and new posts etc, anyone know what I need to search for and remove?

LifesGreatestGift
01 Jan 2010, 21:22
Ok, so it took me a while to figure out but I finally got it.

Open up the template Threadbit

Find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Delete it

Now this part is user preference, in the same area as what you just deleted look for the following



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



If you would like the "Replies: xxx" to sit at the top of the column then put a <br /> right after the quoted text, but if you would like them to sit on the bottom, then put a <br /> before the quoted text. But a <br /> is required so the look/design is not messed up.

And the reason this was not working is, because if your Style is a child of a parent style, you will need to do this to the styles parents as well :)

Enjoy!

--------------- Added 1262384875 at 1262384875 ---------------

Here is what the threadbit will look like after the proper changes, and this example is with the <br /> before the quoted text

http://i49.tinypic.com/2s6wkki.png

Beermonster
02 Jan 2010, 08:27
Thanks I couldn't find it at all, that worked great

LifesGreatestGift
02 Jan 2010, 09:46
Also open up FORUMDISPLAY

Find :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Also find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

NoraBones
02 Jan 2010, 19:16
The threadbit changes work great for when in Forum Display, but I can still see the # views when I click New Posts or What's New.

I did the FORUMDISPLAY changes also, but they did not seem to make any difference. Did I do something wrong?

LifesGreatestGift
02 Jan 2010, 19:41
open template search_threadbit

Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace With:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Open template search_results_postbit

Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace With:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Make sure that if there is a parent style, that the changes are made to it as well, or else if you just make the changes to the child style and the parent style still has the original code for some reason the edit will not take place :)

Enjoy!

NoraBones
02 Jan 2010, 19:45
I think that got it! Thank you so much!

Hummie
06 Feb 2012, 16:35
This was helpful for me. I have vb 4. Most other instructions in the forums are for earlier versions and do not work in 4.

The views are gone from the column, but I would also like to remove the entire column, including the replies. I have a sidebar and when I search, there is not enough room and text gets jumbled. I could do without this entire column.

Yuvraj
11 Feb 2013, 18:09
Show me 2 time

http://i.imgur.com/CszgL7c.png?1