<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Membership Plugin - Page views counter</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Membership-Plugin---Page-views-counter-79794</link>
        <description></description>
        <pubDate>Thu, 10 Sep 2026 05:55:30 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Membership-Plugin---Page-views-counter-79794" rel="self" type="application/rss+xml" />

                <item>
          <title>Membership Plugin - Page views counter</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235338#post2235338</link>
          <description><![CDATA[<p>Perfect. Easy and exactly what I was looking for. Thanks!</p>]]></description>
          <pubDate>Thu, 13 Nov 2014 07:04:49 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235338#post2235338</guid>
        </item>
                <item>
          <title>Membership Plugin - Page views counter</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235325#post2235325</link>
          <description><![CDATA[<p>Hey there - this is actually relatively simple. All you should need to do is create the field in the member record section - page visits, let's say, and give it a default value of 0 - and then add a piece of code to load on every page that you want to track that detects the $CURRENT_USER['num'] and increments the page visits count if it exists.</p>
<p>It'd look something like this:</p>
<p><code>if(isset($CURRENT_USER['num'])) {<br />    mysql_update('members', $CURRENT_USER['num'], null, array('page_visits' =&gt; $CURRENT_USER['page_visits']+1));<br />}</code></p>
<p>This assumes that your members table is called 'members', of course.</p>
<p>Does that help? You would also probably want to do some data analysis on the page visits info later, but that would require more custom code. This will just record the visits so you can see the count when you look at an individual user.</p>]]></description>
          <pubDate>Wed, 12 Nov 2014 09:50:20 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235325#post2235325</guid>
        </item>
                <item>
          <title>Membership Plugin - Page views counter</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235323#post2235323</link>
          <description><![CDATA[<p>I am looking for a way to keep track of how many pages each registered member visits. What I am looking to do is that once a user has logged in, every time they visit a page, I want a counter in their record to increase by one. I don't need to know which pages they are looking at, only the number of pages - as a way to gauge activity level. Possible? Easy or difficult? How? Thanks!</p>]]></description>
          <pubDate>Wed, 12 Nov 2014 09:40:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235323#post2235323</guid>
        </item>
              </channel>
    </rss>
  