Forum

Questions and discussions

stop counting views

Script's setup and configuration

stop counting views

Postby stockdiv » Fri Mar 28, 2014 9:55 pm

I would like to stop counting the numver of views.
I want to use the number of views as a priority relevance informationen.
Is there a way to stop?
Thank you.
stockdiv
 
Posts: 119
Joined: Sat Feb 01, 2014 11:23 am

Re: stop counting views

Postby admin » Sat Apr 19, 2014 2:58 pm

You should remove the code:

Code: Select all
$sql="update photos set viewed=viewed+1 where id_parent=".(int)$id_parent;
$db->execute($sql);


from the top of the page:
/members/content_photo.php
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 4 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.