Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Removing post views
Avatar
JDG
Guest
Guests
Feb 9, 2012 - 7:29 pm

How does one go about removing the views listed under each individual post?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2012 - 9:52 pm

views??  sorry, not following... views on topic view (list of posts)?

Avatar
JDG
Guest
Guests
Feb 10, 2012 - 1:08 pm

Sorry, I meant the listed number of times it says a post has been visited, which is automatically placed under each individual post. Like this:

"(Visited 128 times, 128 visits today)" 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 10, 2012 - 2:15 pm

If you go to your theme folder in the /templates folder you will find the template that runs the forum view (spForumView.php)

If you trace this through - it is as much comment sense as anything - you should be able to see the way things get displayed.

You will find the functions that display each row including the function that displays the view count. Just remove it - or comment it out,. But you will need to adjust the column sizes left to fill up the gap.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620