<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Show number of new members who have signed up</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Show-number-of-new-members-who-have-signed-up-80454</link>
        <description></description>
        <pubDate>Wed, 19 Aug 2026 07:17:53 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Show-number-of-new-members-who-have-signed-up-80454" rel="self" type="application/rss+xml" />

                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238690#post2238690</link>
          <description><![CDATA[<p>Oh it as so simple, how annoying. Works perfectly now. Thanks :D</p>]]></description>
          <pubDate>Fri, 15 Apr 2016 18:13:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238690#post2238690</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238689#post2238689</link>
          <description><![CDATA[<p>I see the issue. I was a typo, I spelled <strong>aaccounts</strong> with two <strong>c</strong>'s. </p>
<p>Try this code with only one c:<br /><br /></p>
<p><code>Total Signups for: &lt;br /&gt;<br /> April:    &lt;?php echo mysql_count('<span style="color:#000000;"><strong>aacounts</strong></span>',"createdDate BETWEEN '2016-4-1' AND '2016-4-30'"); ?&gt;&lt;br /&gt;<br /> March:    &lt;?php echo mysql_count('<span style="color:#000000;"><strong>aacounts</strong></span>',"createdDate BETWEEN '2016-3-1' AND '2016-3-31'"); ?&gt;&lt;br /&gt;<br /> February: &lt;?php echo mysql_count('<span style="color:#000000;"><strong>aacounts</strong></span>',"createdDate BETWEEN '2016-2-1' AND '2016-2-29'"); ?&gt;&lt;br /&gt;</code></p>
]]></description>
          <pubDate>Fri, 15 Apr 2016 17:59:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238689#post2238689</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238688#post2238688</link>
          <description><![CDATA[<p>It looks like it's aacounts to me, unless I'm missing something? :/ (screeshot attached)</p>]]></description>
          <pubDate>Fri, 15 Apr 2016 17:38:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238688#post2238688</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238685#post2238685</link>
          <description><![CDATA[<p>Hi,</p>
<p>The reason you are getting this error:</p>
<p><code>April: mysql_count() MySQL Error: Table 'mysite_cms.cms_aaccounts' doesn't exist - in test_admin.php on line 42 by mysql_count()<br /></code></p>
<p>is because there isn't a MySQL table named <strong>aaccounts. </strong></p>
<p>Log into CMS Builder (test_admin.php) and go to <strong>Admin &gt; Section Editors</strong>. Here you will ll see all the Section Editor names as well as MySQL Table names.</p>
<p>What is the <strong>MySQL Table</strong> name for your accounts? </p>]]></description>
          <pubDate>Fri, 15 Apr 2016 11:31:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238685#post2238685</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238683#post2238683</link>
          <description><![CDATA[<p>It's giving me the following error. I've tried quite a few things and can't fix it:</p>
<p>April: mysql_count() MySQL Error: Table 'mysite_cms.cms_aaccounts' doesn't exist - in test_admin.php on line 42 by mysql_count()</p>]]></description>
          <pubDate>Fri, 15 Apr 2016 02:57:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238683#post2238683</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238673#post2238673</link>
          <description><![CDATA[<p>Try this code to show signups by month:<br /><br /></p>
<p><code>Total Signups for: &lt;br /&gt;<br /> April:    &lt;?php echo mysql_count('aaccounts',"createdDate BETWEEN '2016-4-1' AND '2016-4-30'"); ?&gt;&lt;br /&gt;<br /> March:    &lt;?php echo mysql_count('aaccounts',"createdDate BETWEEN '2016-3-1' AND '2016-3-31'"); ?&gt;&lt;br /&gt;<br />February: &lt;?php echo mysql_count('aaccounts',"createdDate BETWEEN '2016-2-1' AND '2016-2-29'"); ?&gt;&lt;br /&gt;</code></p>
]]></description>
          <pubDate>Wed, 13 Apr 2016 15:22:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238673#post2238673</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238655#post2238655</link>
          <description><![CDATA[<p>In my CMS my members are in a separate tables called "aacounts". The other update you made though has got it working perfectly now. Thank you!</p>
<p>If I also want to be able to make a link where you can click to see how many accounts signed up in the last week how do I do this?<br /><br /></p>
<p>Is there anyway to display the information without having to click on the links to generate the sign up number? So for example I wanted to have a look at how many people have signed up for April, March, February and it was in a list with the sign up number next to it (rather than me having to click on a link to show each)?</p>]]></description>
          <pubDate>Mon, 11 Apr 2016 06:47:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238655#post2238655</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238560#post2238560</link>
          <description><![CDATA[<p>Hi,</p>
<p>I made some changes to your code in bold and it works for me.</p>
<p>You had the tableName set as <em>aacounts </em>when it should be <em>accounts</em>. Also you has allowSearch set to <em>false</em>.</p>
<p><code>&lt;?php<br />  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br />  <br />  // load viewer library<br />  $libraryPath = 'cms/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/public_html/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br />  // load records from '<span style="color:#000000;"><strong>accounts</strong></span>'<br />  list($<span style="color:#000000;"><strong>accountsRecords</strong></span>, $<span style="color:#000000;"><strong>accountsMetaData</strong></span>) = getRecords(array(<br />    'tableName'   =&gt; 'accounts',<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; <span style="color:#000000;"><strong>true</strong></span>,<br />  ));<br /><br />?&gt;<br /><br /><br /><br />&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br />&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;<br />  &lt;head&gt;<br />  &lt;title&gt;&lt;/title&gt;<br />  &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /&gt;<br />  &lt;style type="text/css"&gt;<br />body {<br />font-family: arial;<br />}<br />&lt;/style&gt;<br />  &lt;/head&gt;<br />  &lt;body&gt;<br /><br />&lt;h2&gt;View User Account Signups&lt;/h2&gt;<br /><br /><span style="color:#000000;"><strong>&lt;a href="?createdDate_year_min=&lt;?php echo date("Y"); ?&gt;&amp;createdDate_month_min=&lt;?php echo date("m"); ?&gt;&amp;createdDate_day_min=&lt;?php echo date("d"); ?&gt;"&gt;Users signup today&lt;/a&gt;&lt;br /&gt;</strong></span><br />&lt;br /&gt;<br /><br />&lt;?php $counter = ""; ?&gt;<br />&lt;?php foreach ($<span style="color:#000000;"><strong>accountsRecords </strong></span>as $record): ?&gt;<br />    &lt;?php echo htmlencode($record['fullname']) ?&gt; - created: &lt;?php echo date("D, M jS, Y g:i:s a", strtotime($record['createdDate'])) ?&gt;&lt;br/&gt;<br />    &lt;?php $counter++ ;?&gt;<br />&lt;?php endforeach ?&gt;<br />&lt;br /&gt;<br /><br />&lt;strong&gt;Total Signups:  &lt;?php echo $counter; ?&gt;&lt;/strong&gt; &lt;br /&gt;<br /><br />&lt;?php if (!$<span style="color:#000000;"><strong>accountsRecords</strong></span>): ?&gt;<br />    No user signups found!&lt;br/&gt;<br />&lt;br/&gt;<br />&lt;?php endif ?&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;</code></p>
<p>Can you try this and let me know if it works for you?</p>]]></description>
          <pubDate>Mon, 28 Mar 2016 09:29:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238560#post2238560</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238556#post2238556</link>
          <description><![CDATA[<p>Yes I clicked the link that added that in, when I do that nothing happens. It still just displays the same full list of members.<br /><br />The URL changes to: test_admin.php?createdDate_year_min=2016&amp;createdDate_month_min=03&amp;createdDate_day_min=26</p>
<p>See my code below. I removed the additional "WHERE" code you added below as the page doesn't work when that's included</p>

<p><code>&lt;?php<br />  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br />  <br />  // load viewer library<br />  $libraryPath = 'cms/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/public_html/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br />  // load records from 'aacounts'<br />  list($aacountsRecords, $aacountsMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'aacounts',<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; false,<br />  ));<br /><br />?&gt;<br /><br /><br /><br />&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br />&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;<br />  &lt;head&gt;<br />  &lt;title&gt;&lt;/title&gt;<br />  &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /&gt;<br />  &lt;style type="text/css"&gt;<br />body {<br />font-family: arial;<br />}<br />&lt;/style&gt;<br />  &lt;/head&gt;<br />  &lt;body&gt;<br /><br />&lt;h2&gt;View User Account Signups&lt;/h2&gt;<br /><br />&lt;a href="?&gt;createdDate_year_min=&lt;?php echo date("Y"); ?&gt;&amp;createdDate_month_min=&lt;?php echo date("m"); ?&gt;&amp;createdDate_day_min=&lt;?php echo date("d"); ?&gt;"&gt;Users signup today&lt;/a&gt;&lt;br /&gt;<br />&lt;br /&gt;<br /><br />&lt;?php $counter = ""; ?&gt;<br />&lt;?php foreach ($aacountsRecords as $record): ?&gt;<br />    &lt;?php echo htmlencode($record['fullname']) ?&gt; - created: &lt;?php echo date("D, M jS, Y g:i:s a", strtotime($record['createdDate'])) ?&gt;&lt;br/&gt;<br />    &lt;?php $counter++ ;?&gt;<br />&lt;?php endforeach ?&gt;<br />&lt;br /&gt;<br /><br />&lt;strong&gt;Total Signups:  &lt;?php echo $counter; ?&gt;&lt;/strong&gt; &lt;br /&gt;<br /><br />&lt;?php if (!$aacountsRecords): ?&gt;<br />    No user signups found!&lt;br/&gt;<br />&lt;br/&gt;<br />&lt;?php endif ?&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;</code></p>

]]></description>
          <pubDate>Fri, 25 Mar 2016 23:39:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238556#post2238556</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238497#post2238497</link>
          <description><![CDATA[<p>Did you use the link in the code that would add this search query?<br /><br /><strong>?createdDate_year_min=2016&amp;createdDate_month_min=03&amp;createdDate_day_min=15</strong></p>
<p>The code add the current date into the link so you can see who signed up today. </p>
<p>If this doesn't work, can you attach the code that you are using and let me know what happens when you click the "Users signup today" link?</p>]]></description>
          <pubDate>Tue, 15 Mar 2016 15:48:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238497#post2238497</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238485#post2238485</link>
          <description><![CDATA[<p>I've added the extra line in, however now it's not working and displaying the following error:</p>
<p>MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY score DESC;) ORDER BY fullname, username' at line 3</p>]]></description>
          <pubDate>Fri, 11 Mar 2016 19:23:07 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238485#post2238485</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238482#post2238482</link>
          <description><![CDATA[<p>Hi there.</p>
<p>The code Damon provided will give you all your account records.</p>
<p>To get a list of accounts created on a specific date, you'll need to add a "WHERE" statement here:</p>
<p><code>// load records from 'accounts'<br />   list($accountsRecords, $accountsMetaData) = getRecords(array(<br />     'tableName'   =&gt; 'accounts',<br />     'limit'       =&gt; '100',    <br />     'allowSearch' =&gt; true,<br />    <span style="color:#ff0000;">'where'       =&gt; "createdDate &gt; DATE_SUB(NOW(), INTERVAL 1 DAY) ORDER BY score DESC;"</span><br /><br />   ));</code></p>
<p>Does that make sense?</p>
<p>Give that a shot and let me know how you make out.</p>
<p>Thanks!</p>
]]></description>
          <pubDate>Fri, 11 Mar 2016 10:09:38 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238482#post2238482</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238479#post2238479</link>
          <description><![CDATA[<p>Thank you!</p>
<p>I've given this a try and I get a full list of all members with the number signed up totalled at the bottom. The date filtering doesn't appear to be working</p>]]></description>
          <pubDate>Thu, 10 Mar 2016 18:40:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238479#post2238479</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238448#post2238448</link>
          <description><![CDATA[<p>Hi,</p>
<p>Yes, you can show the number of signups on the frontend using a date search query on the accounts data.</p>
<p>Here is some example code. Use the Load Records code from you</p>
<p><code>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br /> &lt;?php<br />   /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br /><br />  // load viewer library<br />   $libraryPath = 'cmsb/lib/viewer_functions.php';<br />   $dirsToCheck = array('C:/www/','','../','../../','../../../');<br />   foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />   if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br /><br />   // load records from 'accounts'<br />   list($accountsRecords, $accountsMetaData) = getRecords(array(<br />     'tableName'   =&gt; 'accounts',<br />     'limit'       =&gt; '100',    <br />     'allowSearch' =&gt; true,<br /><br />   ));<br /><br /> ?&gt;<br /> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br /> &lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;<br />   &lt;head&gt;<br />   &lt;title&gt;&lt;/title&gt;<br />   &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /&gt;<br />   &lt;style type="text/css"&gt;<br /> body {<br /> font-family: arial;<br /> }<br /> &lt;/style&gt;<br />   &lt;/head&gt;<br />   &lt;body&gt;<br /><br /> &lt;h2&gt;View User Account Signups&lt;/h2&gt;<br /><br /> &lt;a href="?createdDate_year_min=&lt;?php echo date("Y"); ?&gt;&amp;createdDate_month_min=&lt;?php echo date("m"); ?&gt;&amp;createdDate_day_min=&lt;?php echo date("d"); ?&gt;"&gt;Users signup today&lt;/a&gt;&lt;br /&gt;<br /> &lt;br /&gt;<br /><br /> &lt;?php $counter = ""; ?&gt;<br /> &lt;?php foreach ($accountsRecords as $record): ?&gt;<br />     &lt;?php echo htmlencode($record['fullname']) ?&gt; - created: &lt;?php echo date("D, M jS, Y g:i:s a", strtotime($record['createdDate'])) ?&gt;&lt;br/&gt;<br />     &lt;?php $counter++ ;?&gt;<br /> &lt;?php endforeach ?&gt;<br /> &lt;br /&gt;<br /><br /> &lt;strong&gt;Total Signups:  &lt;?php echo $counter; ?&gt;&lt;/strong&gt; &lt;br /&gt;<br /><br /> &lt;?php if (!$accountsRecords): ?&gt;<br />     No user signups found!&lt;br/&gt;<br /> &lt;br/&gt;<br /> &lt;?php endif ?&gt;<br /><br /> &lt;/body&gt;<br /> &lt;/html&gt;</code></p>
<p>This will display the 100 must recent user signups. I also includes code that will get todays date and pass it into a search query like this which will filter the list and only show signups from today:<br /><br /><a href="http://example.com/user_signup_search.php?createdDate_year_min=2016&amp;createdDate_month_min=03&amp;createdDate_day_min=07" rel="nofollow">http://example.com/user_signup_search.php?createdDate_year_min=2016&amp;createdDate_month_min=03&amp;createdDate_day_min=07</a><br /><br />You can then change the day in the string to see yesterday signups for example.</p>
<p>Adjust the code to match your setup and try this out to see if it gets the results you are after.</p>
]]></description>
          <pubDate>Mon, 07 Mar 2016 14:52:12 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238448#post2238448</guid>
        </item>
                <item>
          <title>Show number of new members who have signed up</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238441#post2238441</link>
          <description><![CDATA[<p>I would like to regularly check on how many members have signed up to my site each day. Is there a way to run a query that could appear on a page and show me how many new members have signed up in a certain period of time? Alternatively if it's easier is there a way to show this in the CMS somehow so I don't have to manually count each day?</p>]]></description>
          <pubDate>Sat, 05 Mar 2016 02:51:48 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238441#post2238441</guid>
        </item>
              </channel>
    </rss>
  