Author Topic: your profile has been viewed x number of times  (Read 1629 times)

strawberries90

  • Veteran Member
  • *****
  • Posts: 466
  • Karma: +17/-0
your profile has been viewed x number of times
« on: August 18, 2009, 07:49:39 AM »
Anyone know how I can remove that text from my users home page?

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3138
  • Karma: +211/-7
    • Maverick Webworks
Re: your profile has been viewed x number of times
« Reply #1 on: August 18, 2009, 11:45:49 AM »

Go to .... skins_site\def\home.html , and remove the following snip of code ....
Code: [Select]
<li id="pviews">Your profile has been viewed {my_stats.pviews} times since {output.date_added}</li>

If you also don't want the number of views to get added to the database you can remove the following snip of code from profile.php (located near the very bottom of the file).
Code: [Select]
update_stats($uid,'pviews',1);
Changing the "1" to a "0" might also work.

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.