Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 22, 200717 yr Is it possible to disable to view count of a topic for the topic starter? I have a thread that I started where I tell my members which Mods are installed on the board and every time I add, edit, view it the count is incremented by 1. How can I make it so after viewing the topic once that it will not increment afterwards?
October 22, 200717 yr Im on 2.3.2 and I use.Stop Author View Increase 1.0.0Written by: ntd1712Last Updated: Feb 21, 2006Description:- Does not increase viewed count when author is viewing his/her own topic.File to edit:./sources/action_public/topics.php---------------------------------------------------------------------------------------------Open: ./sources/action_public/topics.phpFind: [ In function topic_set_up() ]if ( ! $this->ipsclass->input['view'] AND $this->topic['state'] != 'link') Replace With: if ( ! $this->ipsclass->input['view'] AND $this->topic['state'] != 'link' AND $this->topic['starter_id'] != $this->ipsclass->member['id'] )---------------------------------------------------------------------------------------------That's all! :)
Archived
This topic is now archived and is closed to further replies.