<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3ARGC</link>
        <description></description>
        <pubDate>Tue, 12 May 2026 17:15:05 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3ARGC&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Upload Photos for Members</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242347#post2242347</link>
          <description><![CDATA[<p>I am searching for sample code that would allow me to add a simple form to a web-page with an upload field, so that members who are logged in to the membership manager will be able to upload their photos into a multi editor table named "gallery" to an upload field called "photos". The form would reside on the Gallery detail page. So depending on which Gallery detail page the user is on, the upload field would add photos into the specific page they are on at the time.</p>
<p>Thanks for your assistance.</p>]]></description>
          <pubDate>Wed, 01 Aug 2018 14:41:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242347#post2242347</guid>
        </item>
                <item>
          <title>Newletter Builder Add Name Field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240357#post2240357</link>
          <description><![CDATA[<p>Newsletter Builder Ver 3.04 </p>
<p>I have added a new field to the _nlb_subscribers table called "name" in an effort to identify which members are subscribed to my clients website which is also using the Membership Plugin. The newsletter manage subscriptions page will be accessed by members logged into the membership manager. I have modified the manage subscriptions page to automatically display the users email and name which is pulled from the members accounts table. Within the newsletter subscribe form I am using the following 2 hidden form fields:</p>
<p>&lt;input type="hidden" name="e"value="&lt;?php echo htmlencode($membersRecord['email']) ?&gt;" /&gt;<br /> &lt;input type="hidden" name="name"value="&lt;?php echo htmlencode($membersRecord['fullname']) ?&gt;" /&gt;</p>
<p>When the user strikes the Update Subscriptions button the email and selected newsletters update properly, but the name does not.</p>
<p>What code is required to get the name field to update the  _nlb_subscribers table when the user updates their subscriptions? I have tried modifying the code within the newsletterBuilder.php file, but have had no success.</p>]]></description>
          <pubDate>Thu, 30 Mar 2017 08:49:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240357#post2240357</guid>
        </item>
                <item>
          <title>Page Access by Membership Type</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238988#post2238988</link>
          <description><![CDATA[<p>Perfect .... That did the trick! Thanks</p>]]></description>
          <pubDate>Tue, 31 May 2016 08:19:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238988#post2238988</guid>
        </item>
                <item>
          <title>Page Access by Membership Type</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238973#post2238973</link>
          <description><![CDATA[<p>With regards to the Membership Manager Plugin - I have a list type radio button field called "type" with 3 options: customer, employee and accounting. Below is the code I used to restrict access to the page to members "type" equal to "accounting":</p>
<p>&lt;?php require_once "../cm/lib/viewer_functions.php"; <br />if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }<br />if ($CURRENT_USER['type'] == "customer") {redirectBrowserToURL('/customer/index.htm'); }<br />if ($CURRENT_USER['type'] == "employee") {redirectBrowserToURL('/index.htm'); }<br />?&gt;</p>
<p>Although the code works, it is not logical to have to list each list type with a redirect if the type is other than "accounting".</p>
<p>I was hoping the code below would work, but it did not. Members with type "customer" can still view the page that should be restricted for member type "accounting" only.</p>
<p>&lt;?php require_once "../cm/lib/viewer_functions.php"; <br />if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }<br />if (!$CURRENT_USER['type'] == "accounting") {redirectBrowserToURL('/index.htm'); }<br />?&gt;</p>
<p>Please advice how to best handle this.</p>
]]></description>
          <pubDate>Fri, 27 May 2016 07:40:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238973#post2238973</guid>
        </item>
                <item>
          <title>Display Values from List Field Type in a Multi Record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2229364#post2229364</link>
          <description><![CDATA[<p>Thanks Steve I have taken your code and re-written as follows:</p>
<p>&lt;?php $towns_grouping = array_filter(array_pluck($townsRecords, 'county')); ?&gt;<br />&lt;?php foreach ($towns_grouping as $towns_group_name): ?&gt; <br />  &lt;p&gt;&lt;strong&gt;&lt;?php echo $towns_group_name; ?&gt;&lt;/strong&gt;&lt;/p&gt;</p>
<p>&lt;?php endforeach ?&gt;</p>
<p>The county values are displaying, but repeatedly for each multi record associated with the county list value. What I am looking to do is just display the 8 values for the list type county once.</p>]]></description>
          <pubDate>Wed, 06 Feb 2013 09:51:09 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2229364#post2229364</guid>
        </item>
                <item>
          <title>Display Values from List Field Type in a Multi Record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2229361#post2229361</link>
          <description><![CDATA[<p>I am looking for code to display the values from a list field (field name - county) which is a field within a multi record (table name - towns)</p>
<p>If I use the following code the value displays repeatedly for every mutli-record that is associated with it. I only want to display the county once.</p>
<p>          &lt;?php<br />              // load records from 'towns'<br />              list($townsRecords, $townsMetaData) = getRecords(array(<br />                'tableName'   =&gt; 'towns',<br />                'loadUploads' =&gt; true,<br />                'allowSearch' =&gt; false,<br />              ));<br />            <br />            ?&gt;<br />          &lt;?php foreach ($townsRecords as $record): ?&gt;<br />          &lt;li&gt;&lt;?php echo $record['county'] ?&gt;&lt;/li&gt;<br />          &lt;?php endforeach ?&gt;</p>


<p>Thanks for you assistance!</p>]]></description>
          <pubDate>Wed, 06 Feb 2013 08:05:42 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2229361#post2229361</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Edit Profile Page Preventing Listings from Displaying</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216258#post2216258</link>
          <description><![CDATA[Thanks Jason ... You nailed it!<br /><br />Yes the problem was only occurring for the getRecord calls after the code. I just added the 'allowSearch' =&gt;   false, code to all the getRecords thet were not displaying and everything is working fine now. Thanks again.<br />]]></description>
          <pubDate>Fri, 18 May 2012 07:17:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216258#post2216258</guid>
        </item>
                <item>
          <title>Membership Edit Profile Page Preventing Listings from Displaying</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216215#post2216215</link>
          <description><![CDATA[Hi <br />I am using the user-profile code that was provided as an example with the Membership Plugin 1.06. I am having an issue when I am using this code on a page which also should be displaying other listings from multi section editors. Something in this code is preventing other multi section editors from displaying. I am pretty certain it has to do with the following foreach statement not ending: <br /><br />  // prepopulate form with current user values<br />  foreach ($CURRENT_USER as $name =&gt; $value) {<br />    if (array_key_exists($name, $_REQUEST)) { continue; }<br />    $_REQUEST[$name] = $value;<br />  }<br /><br /><br />What do I need to do to get the other multi section editors to appear?<br />]]></description>
          <pubDate>Wed, 16 May 2012 11:37:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216215#post2216215</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Auto Login</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216203#post2216203</link>
          <description><![CDATA[Hi Jason .... Thanks for the response. I realize now the purpose of this code is to let the logged in user add a new record. This is not what I am trying to accomplish. I would like the logged in user to be able to add additional uploads to an existing field within an existing record - specifically the system generated Accounts table into their own account into a field called 'client-uploads'<br />Can you provide what this code will look like?<br />]]></description>
          <pubDate>Wed, 16 May 2012 08:02:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216203#post2216203</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Auto Login</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216190#post2216190</link>
          <description><![CDATA[I have downloaded the attached file and I am unclear which part of the code needs to be configured to allow members to upload files to the User Accounts menu MySQl table accounts where i have created a new field called uploads. <br /><br />I know I have to have the correct path to the lib/viewer_functions.php file and I have changed line 5 $tableName ='news' to 'accounts'. But I do not know what gets configured next. Where do I define the new accounts field called uploads? and what other parts of the code need to be changed in order to get this feature working?<br />]]></description>
          <pubDate>Tue, 15 May 2012 14:40:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216190#post2216190</guid>
        </item>
                <item>
          <title>Re: [Jason] Website membership: content based on user</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216188#post2216188</link>
          <description><![CDATA[I was looking for code that would display a members business logo when logged into the membership section of the web site. This code did the trick.<br /><br />Thanks Jason<br />]]></description>
          <pubDate>Tue, 15 May 2012 14:13:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216188#post2216188</guid>
        </item>
                <item>
          <title>Re: [Dave] displaying tonights performing artist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215284#post2215284</link>
          <description><![CDATA[Perfect! This is the code i was looking for:<br />	&lt;?php<br />  list($eventRecords, $eventMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'event',  <br />    'where' =&gt; &quot; date &gt;= CURDATE()  &quot;,  <br />  ));<br />?&gt; <br /><br />Both events of the current day and future events display. Thanks Dave<br />]]></description>
          <pubDate>Fri, 24 Feb 2012 07:33:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215284#post2215284</guid>
        </item>
                <item>
          <title>Re: [Dave] displaying tonights performing artist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215281#post2215281</link>
          <description><![CDATA[Thanks for the code Dave, but that did not work, the event dated today did not display ....  I am using the following code which appears to work fine, i will just have to check to see that the event gets automatically removed tomorrow (which will be the day after the event).  Here is the code i am using:<br />	&lt;?php<br />   list($eventRecords, $eventMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'event',  <br />     'where' =&gt; &quot; date &gt;= TIMESTAMP( DATE(NOW() - INTERVAL 1 HOUR) ) &quot;, <br />  ));<br />?&gt;<br />]]></description>
          <pubDate>Thu, 23 Feb 2012 20:02:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215281#post2215281</guid>
        </item>
                <item>
          <title>Re: [Jason] displaying tonights performing artist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215279#post2215279</link>
          <description><![CDATA[I tried that, but today's event still does not display .... it will only display if i change the event date to tomorrow<br />]]></description>
          <pubDate>Thu, 23 Feb 2012 14:41:39 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215279#post2215279</guid>
        </item>
                <item>
          <title>Re: [Dave] displaying tonights performing artist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215272#post2215272</link>
          <description><![CDATA[I am currently using this code to display only upcoming events<br /><br />	&lt;?php<br />  // load records<br />  list($eventRecords, $eventMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'event',  <br />     'where' =&gt; 'date &gt; NOW()', <br />    <br />  ));<br />?&gt;  <br /><br />The code works fine displaying only upcoming events, except the day of the event the event does not display! How can i modify this code to display upcoming events including events the same day ?<br />]]></description>
          <pubDate>Thu, 23 Feb 2012 13:10:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215272#post2215272</guid>
        </item>
                <item>
          <title>Re: [Tom P] If statement = to list item</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215122#post2215122</link>
          <description><![CDATA[Thanks Tom .... your code did the trick!]]></description>
          <pubDate>Wed, 08 Feb 2012 17:19:23 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215122#post2215122</guid>
        </item>
                <item>
          <title>If statement = to list item</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2215117#post2215117</link>
          <description><![CDATA[I am trying to display the words Under Contract when the Status for a list item is equal to Under Contract. The if statement I am using is as follows:<br /><br />&lt;?php if($record['status']==['Under Contract']): ?&gt;<br />                                &lt;tr&gt;<br />                                  &lt;td colspan=&quot;2&quot;class=&quot;burgundyFont&quot; &gt;UNDER CONTRACT&lt;/td&gt;<br />                                  &lt;/tr&gt;<br />                                &lt;?php endif ?&gt;<br /><br />Something is not correct as the page generates a syntax error<br />Thanks for your help!]]></description>
          <pubDate>Wed, 08 Feb 2012 10:51:48 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2215117#post2215117</guid>
        </item>
                <item>
          <title>Re: [Jason] Remove record num from _link</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207690#post2207690</link>
          <description><![CDATA[That did the trick....Thanks for your help Jason.<br />]]></description>
          <pubDate>Wed, 27 Oct 2010 12:01:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207690#post2207690</guid>
        </item>
                <item>
          <title>Re: [Jason] Remove record num from _link</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207688#post2207688</link>
          <description><![CDATA[I appreciate your help Jason....we are almost there. <br />The correct link is now appearing, however i can not figure out what is causing the page title to be duplicated, first just title no link, then title with the link, looks like this :<br />Page-One | Page-One  Page-Two | Page-Two  Page-Three | Page-Three<br /><br />How do i correct this? Thanks! <br /><br />Here is my latest body code:<br />&lt;body&gt;&lt;?php foreach ($aboutRecords as $record): ?&gt;<br />&lt;?php <br />  $query_string = preg_replace('/[^a-z0-9\.\-\_]+/i', '-', $record['title']); <br />  $query_string = preg_replace(&quot;/(^-+|-+$)/&quot;, '', $query_string); <br />  echo $query_string; <br />?&gt;<br />      | &lt;a href=&quot;about.htm?&lt;?php echo $query_string;?&gt;&quot;&gt;&lt;?php echo $record['title'] ?&gt;&lt;/a&gt;<br />            &lt;?php endforeach; ?&gt;<br />    <br />&lt;/body&gt;<b><br />]]></description>
          <pubDate>Wed, 27 Oct 2010 11:45:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207688#post2207688</guid>
        </item>
                <item>
          <title>Re: [Jason] Remove record num from _link</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207683#post2207683</link>
          <description><![CDATA[All the navigation links are now appearing the same - http://www.mylcient.com/about.htm?<br /><br />What needs to be changed or added to get the title field to display after the ? <br />Here is my complete page code:<br />&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php <br />  $query_string = preg_replace('/[^a-z0-9\.\-\_]+/i', '-', $record['title']); <br />  $query_string = preg_replace(&quot;/(^-+|-+$)/&quot;, '', $query_string); <br />  echo $query_string; <br />?&gt;<br />&lt;?php<br />  // load viewer library<br />  $libraryPath = 'cm/lib/viewer_functions.php';<br />  $dirsToCheck = array('/usr2/home/myclient.com/htdocs/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once(&quot;$dir$libraryPath&quot;)) { break; }}<br />  if (!function_exists('getRecords')) { die(&quot;Couldn't load viewer library, check filepath in sourcecode.&quot;); }<br /><br />  // load records<br />  list($aboutRecords, $aboutMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'about',<br />  ));<br /><br />?&gt;<br />&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;<br />&lt;title&gt;Untitled Document&lt;/title&gt;<br />&lt;/head&gt;<br /><br />&lt;body&gt;   &lt;?php foreach ($aboutRecords as $record): ?&gt;<br />      | &lt;a href=&quot;about.htm?&lt;?php echo $query_string;?&gt;&quot;&gt;&lt;?php echo $record['title'] ?&gt;&lt;/a&gt;<br />            &lt;?php endforeach; ?&gt;<br />    &lt;/p&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br />]]></description>
          <pubDate>Wed, 27 Oct 2010 11:19:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207683#post2207683</guid>
        </item>
                <item>
          <title>Re: [kblm] Remove record num from _link</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207676#post2207676</link>
          <description><![CDATA[This worked well on my clients site also. However on the actual detail page, I have a viewer displaying links to other related sub pages - what code do i use to modify the &lt;?php echo $record['_link'] ?&gt; links so it will display the link without the number as well?: <br /><br />This is the code i have used to display navigation links to the other pages in the about section:<br /> &lt;?php<br />  // load viewer library<br />  $libraryPath = 'cm/lib/viewer_functions.php';<br />  $dirsToCheck = array('/usr2/home/clientsdomain.com/htdocs/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once(&quot;$dir$libraryPath&quot;)) { break; }}<br />  if (!function_exists('getRecords')) { die(&quot;Couldn't load viewer library, check filepath in sourcecode.&quot;); }<br /><br />  // load records<br />  list($aboutRecords, $aboutMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'about',<br />  ));<br /><br />?&gt;<br />            &lt;?php foreach ($aboutRecords as $record): ?&gt;<br />      | &lt;a href=&quot;&lt;?php echo $record['_link'] ?&gt;&quot;&gt;&lt;?php echo $record['title'] ?&gt;&lt;/a&gt;<br />            &lt;?php endforeach; ?&gt;<br />]]></description>
          <pubDate>Wed, 27 Oct 2010 09:52:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207676#post2207676</guid>
        </item>
              </channel>
    </rss>
  