<?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%3ARyan</link>
        <description></description>
        <pubDate>Sun, 12 Apr 2026 21:57:53 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3ARyan&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Upload Field - Custom List Option</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2248372#post2248372</link>
          <description><![CDATA[<p>Hi everyone,</p>
<p>Does anyone know if it’s possible to configure one of the info fields on an upload field as a list (dropdown) type?</p>
<p>Currently, the only available field types are <strong>Text Field</strong> and <strong>Text Box</strong>, but I’d like to set <strong>info2</strong> as a <strong>Category</strong> field with predefined list values (e.g., Option 1, Option 2, Option 3, etc.). See screenshot.</p>
<p>Is this supported, or is there a workaround to achieve this?<br /><br />Thanks,<br />Ryan</p>]]></description>
          <pubDate>Tue, 03 Mar 2026 12:07:52 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2248372#post2248372</guid>
        </item>
                <item>
          <title>CSV Import - Skip Columns on Update Duplicates</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244101#post2244101</link>
          <description><![CDATA[<p>Hi Daniel, we receive the data combined and it's uploaded via a RPA Bot process. We might be able to split the CSV data and carryout 2 uploads though. I'll try that approach.  </p>
<p>Thanks,<br />Ryan</p>]]></description>
          <pubDate>Wed, 11 Sep 2019 11:56:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244101#post2244101</guid>
        </item>
                <item>
          <title>CSV Import - Skip Columns on Update Duplicates</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244085#post2244085</link>
          <description><![CDATA[<p>Hi, is there a way to skip certain columns / fields  (i.e. createdDate, updatedDate, status) when updating duplicate records using the CSV import plugin? </p>
<p>I'm thinking that i might be able to unset some of the field mappings if it's a duplicate record, but i'm not having much joy figuring it out.  </p>]]></description>
          <pubDate>Mon, 09 Sep 2019 09:28:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244085#post2244085</guid>
        </item>
                <item>
          <title>Insert Date Field in Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243982#post2243982</link>
          <description><![CDATA[<p>Worked perfectly, thanks Daniel. </p>]]></description>
          <pubDate>Tue, 27 Aug 2019 08:47:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243982#post2243982</guid>
        </item>
                <item>
          <title>Insert Date Field in Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243979#post2243979</link>
          <description><![CDATA[<p>Hi, i have created the plugin below that creates a record in a log table each time a particular user saves a record in a master table. </p>
<p>However i can't get the date (masterRefDate) to insert correctly. The date appears to be broken into it's year month and date components, how do i recombine them?</p>
<p>Thanks,</p>
<p>Ryan</p>
<pre class="language-markup"><code>addAction('record_postsave', 'plugin_addRevision', null, 4);

   function plugin_addRevision() {

  	global $SETTINGS, $CURRENT_USER, $tableName, $isNewRecord, $oldRecord;

  	if ($CURRENT_USER['username'] == 'admin') {

  		if ($tableName == 'mastertable')	{

  			$tablename = 'logtable';
  			$colsToValues = array(); // 
  			$colsToValues['createdDate='] = 'NOW()';
  			$colsToValues['updatedDate='] = 'NOW()';
  			$colsToValues['createdByUserNum' ] = $CURRENT_USER['num'];
  			$colsToValues['updatedByUserNum' ] = $CURRENT_USER['num'];

  			$colsToValues['ref'] = @$_REQUEST['masterRef'];
  			$colsToValues['refDate=']  = $_REQUEST['masterRefDate'];

  			$hideMissingFieldErrors = true;
  			$newRecordNum = mysql_insert( $tablename, $colsToValues, $hideMissingFieldErrors );
  		}
}
}</code></pre>]]></description>
          <pubDate>Mon, 26 Aug 2019 14:27:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243979#post2243979</guid>
        </item>
                <item>
          <title>Custom SQL Select</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242649#post2242649</link>
          <description><![CDATA[<p>Good point Daniel, I've escaped those variables now. </p>]]></description>
          <pubDate>Wed, 14 Nov 2018 05:01:31 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242649#post2242649</guid>
        </item>
                <item>
          <title>Custom SQL Select</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242632#post2242632</link>
          <description><![CDATA[<p>After another bit of hacking about i managed to get the following working. </p>
<p>While it does work I'm not sure if it's the correct or most efficient approach.</p>

<pre class="language-markup"><code>$CombinedTotals = mysqli()-&gt;query("SELECT 
				mydate, (SUM(field1)+SUM(field2)+SUM(field3)+SUM(field4)) AS Total
				FROM cmsb_tablename 
				WHERE mydate&gt;= '$_SESSION[startDate]' AND production_date &lt;= '$_SESSION[endDate]'
				GROUP BY mydate");
							
while ( $rows = $CombinedTotals -&gt;fetch_assoc() ) {
    echo $rows['mydate'] . " | " . $rows['Total'];
    echo "&lt;br&gt;";
}</code></pre>

<p>Ryan</p>]]></description>
          <pubDate>Thu, 08 Nov 2018 14:15:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242632#post2242632</guid>
        </item>
                <item>
          <title>Custom SQL Select</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242629#post2242629</link>
          <description><![CDATA[<p>Hi, I'm looking at creating some reports based on data i hold in a cmsb table and was wondering what the best approach to go about this is. </p>
<p>I can run the following code in the MySQL console and get the results i want between my selected date range. </p>
<p>I could use the report builder add on but i want to display the results on the website, not within the admin section.</p>
<blockquote>
<pre class="language-php"><code>SELECT 
mydate, (SUM(field1)+SUM(field2)+SUM(field3)+ AS CombinedTotal
FROM cmsb_tablename
WHERE mydate &gt;= 'yyyy-mm-dd' AND production_date &lt;= 'yyyy-mm-dd'
GROUP BY mydate</code></pre>
</blockquote>
<p>Not sure on how to go about using the native functions to select this data and display it out using a foreach loop.</p>
<p>Can anyone point me in the right direction?</p>
<p>Thanks,<br />Ryan</p>
]]></description>
          <pubDate>Thu, 08 Nov 2018 13:19:50 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242629#post2242629</guid>
        </item>
                <item>
          <title>Section Editors Slow TTFB</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242499#post2242499</link>
          <description><![CDATA[<p>Hi Daniel, that worked thanks for your help.</p>
<p>Ryan</p>


]]></description>
          <pubDate>Tue, 18 Sep 2018 02:00:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242499#post2242499</guid>
        </item>
                <item>
          <title>Section Editors Slow TTFB</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242489#post2242489</link>
          <description><![CDATA[<p>Hi, i recently upgraded a customer site to 3.14. Automatic upgrade would not run as i was running an older version of MySQL. To get round this I backed the DB up and created a new one in MySQL 5.7 and restored the data to it. After replacing the CMSB files and updated the settings file the site seems to have updated.</p>
<p>All my old sections appear to work fine but when i open the Sections Editor page in CMSB it's very slow to load (23 Seconds). I've tried re-uploading all the files in case something was missed but it had no effect. DevTools is pointing to a slow TTFB when the page is loading, any ideas on what i can do to fix this?</p>]]></description>
          <pubDate>Mon, 17 Sep 2018 02:33:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242489#post2242489</guid>
        </item>
                <item>
          <title>PHP REST API</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242176#post2242176</link>
          <description><![CDATA[<p>I'd be interested to see something like this as well. </p>]]></description>
          <pubDate>Fri, 08 Jun 2018 00:56:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242176#post2242176</guid>
        </item>
                <item>
          <title>Where value in Pillbox list</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241743#post2241743</link>
          <description><![CDATA[<p>Ended up finding the answer here:<strong><br /><br /></strong><a href="https://www.interactivetools.com/forum/forum-posts.php?postNum=2241468#post2241468" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?postNum=2241468#post2241468</a></p>
<p><code>'where'    =&gt; 'townland LIKE "%\t'.$townland.'\t%"',</code></p>
]]></description>
          <pubDate>Thu, 15 Feb 2018 01:07:23 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241743#post2241743</guid>
        </item>
                <item>
          <title>Where value in Pillbox list</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241742#post2241742</link>
          <description><![CDATA[<p>Hi All,</p>
<p>Having complete brain freeze on this one. I'm trying to add a where statement to display all articles that contain a match within a list of values stored in a list field. These tables are linked.</p>
<p><strong>Query 1<br /></strong> Returns me the Townland record. In this case the value returned is (1)</p>
<p><strong>Query 2<br /></strong>Searches the articles table for articles that match the selected townland.</p>
<p>The townlands field will contain a comma separated list of values something like (1,3,4,10,11,12) as articles can be related to more than one townland. The issue I'm having is that my query will return values similar to 1 like 10,11 &amp; 12 as well.</p>
<p>Any ideas on how to fix this?</p>
<p><code>&lt;?php <br />   // load record from 'townlands'<br />  list($townlandsRecords, $townlandsMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'townlands',<br />    'where'       =&gt; whereRecordNumberInUrl(0),<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; false,<br />    'limit'       =&gt; '1',<br />  ));<br />  $townlandsRecord = @$townlandsRecords[0]; // get first record<br />  if (!$townlandsRecord) { dieWith404("Record not found!"); } // show error message if no record found<br />  $townland = $townlandsRecord['num'];<br />?&gt;<br /><br />&lt;?php<br /> // load records from 'articles' where the townland is found<br />  list($articlesRecords, $articlesMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'articles',<br />    'loadUploads' =&gt; true,<br />    'perPage'     =&gt; '20',<br />    'where'    =&gt; 'townland LIKE "%'.$townland.'%"',<br />    //'debugSql'    =&gt; true, <br />  ));<br />?&gt;</code></p>
<p>Thanks, <br />Ryan</p>]]></description>
          <pubDate>Wed, 14 Feb 2018 14:43:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241742#post2241742</guid>
        </item>
                <item>
          <title>Track Logins</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241150#post2241150</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>That worked for me thanks.</p>
<p>For the benefit of anyone else looking to do something similar I added the following code to the membership plugin.</p>
<p><code>//AUDIT TRACKING CODE FOR LOGINS ******************<br />//Fetch User Info from CMS for Selected User &amp; Log to DB  <br /><br />   $LoggedOnUserName = mysql_escape($_REQUEST['username']);<br /><br />   //Fetch User Data FROM accounts table<br />   list($accountsRecords, $accountsMetaData) = getRecords(array(<br />   'tableName'   =&gt; 'accounts',<br />   'where'       =&gt; 'username = "'.$LoggedOnUserName.'"', <br />   'loadUploads' =&gt; true,<br />   'allowSearch' =&gt; false,<br />   'limit'       =&gt; '1'<br /><br />     ));<br />   $accountsRecord = @$accountsRecords[0]; // get first record<br />   $LoginUserNum = $accountsRecord['num']; // Set User Number<br /><br /><br />   // ADD record to login audit table <br />   $tablename   = 'login_audit';<br />   $colsToValues = array(); // <br />   $colsToValues['createdDate=']      = 'NOW()';<br />   $colsToValues['updatedDate=']      = 'NOW()';<br />   $colsToValues['createdByUserNum']  = $LoginUserNum;<br />   $colsToValues['updatedByUserNum']  = $LoginUserNum;   <br />   $colsToValues['user']              = $LoginUserNum;<br />   $colsToValues['ip_address']        = $_SERVER['REMOTE_ADDR']; // Log IP <br />   $hideMissingFieldErrors = true;<br />   $newRecordNum = mysql_insert($tablename, $colsToValues, $hideMissingFieldErrors); <br /><br />   //***************************** END OF TRACKING CODE UPDATE</code></p>
<p>Just before where the form values get cleared.</p>
<p><code> // clear form values<br />  $_REQUEST['username'] = '';<br />  $_REQUEST['password'] = '';</code></p>
<p>Ryan</p>]]></description>
          <pubDate>Tue, 12 Sep 2017 01:20:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241150#post2241150</guid>
        </item>
                <item>
          <title>Track Logins</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241113#post2241113</link>
          <description><![CDATA[<p>Thanks Dave,</p>
<p>I don't really understand how to use hooks &amp; plugins from the frontend of my application so i'll try the IF statement approach.</p>
<p>Should this code be added to the websiteMembership.php page or can i add to the successful login landing page?</p>
<p>Ryan</p>]]></description>
          <pubDate>Wed, 06 Sep 2017 07:45:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241113#post2241113</guid>
        </item>
                <item>
          <title>Fatal error when inserting record in a table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241096#post2241096</link>
          <description><![CDATA[<p>Hi Jerry, </p>
<p>It looks like the table "<span>testingTable"</span> has not been setup or the name has been entered incorrectly. Can you confirm the name of the table you are trying to submit the data to?</p>
<p>Ryan</p>]]></description>
          <pubDate>Tue, 05 Sep 2017 05:46:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241096#post2241096</guid>
        </item>
                <item>
          <title>Fatal error when inserting record in a table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241094#post2241094</link>
          <description><![CDATA[<p>Hi Gerry,</p>
<p>Try updating your code to this.</p>
<p><code><br />&lt;?php <br /> if (@$_POST['save']) {<br />       $tablename   = 'testingTable';<br />       $colsToValues = array();<br />       $colsToValues['createdDate=']     = 'NOW()';<br />       $colsToValues['updatedDate=']     = 'NOW()';<br />       $colsToValues['createdByUserNum'] = 0;<br />       $colsToValues['updatedByUserNum'] = 0;<br />       $colsToValues['first_name']         = $_REQUEST['first_name'];<br />       $colsToValues['last_name']         = $_REQUEST['last_name'];<br />       $colsToValues['email']            = $_REQUEST['email'];<br />       $hideMissingFieldErrors = true;<br />       $newRecordNum = mysql_insert($tablename, $colsToValues, $hideMissingFieldErrors); <br />       }<br /> ?&gt;</code></p>
<p>You might want to look about escaping those form values before you add them to your database.</p>
<p>Ryan</p>]]></description>
          <pubDate>Tue, 05 Sep 2017 04:45:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241094#post2241094</guid>
        </item>
                <item>
          <title>Track Logins</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241093#post2241093</link>
          <description><![CDATA[<p>Hi, I'm using the membership plugin for frontend access control to an Intranet site. I want to record each login to an audit login table.</p>
<p>The problem I'm having is that my 'record login' code is triggered each time the page is loaded and not just on successful login and session start.</p>
<p>So basically I need to wrap my code in an if statement that can check if it's a new session or not?</p>
<p>Any Ideas?</p>
<p><code>  // If not logged in redirect<br />   if (!$CURRENT_USER) { websiteLogin_redirectToLogin(); }<br />  <br />  // If logged in set some global variables to use elsewhere<br />   if ($CURRENT_USER) {<br />     $GlobalUserNum = $CURRENT_USER['num'];<br />     $GlobalUserName = $CURRENT_USER['fullname'];<br />     $GlobalUserAccessLevel = $CURRENT_USER['access_level'];  <br />           <br />     // add record to login audit table <br />     $tablename   = 'login_audit';<br />     $colsToValues = array(); <br />     $colsToValues['createdDate=']     = 'NOW()';<br />     $colsToValues['updatedDate=']     = 'NOW()';<br />     $colsToValues['createdByUserNum'] = $GlobalUserNum;<br />     $colsToValues['updatedByUserNum'] = $GlobalUserNum;      <br />     $colsToValues['user_name']        = $GlobalUserName;<br />     $hideMissingFieldErrors = true;<br />     $newRecordNum = mysql_insert($tablename, $colsToValues, $hideMissingFieldErrors);   <br />           <br />           <br />   }<br /> } // End If</code></p>
<p>Thanks,</p>
<p>Ryan</p>]]></description>
          <pubDate>Tue, 05 Sep 2017 03:36:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241093#post2241093</guid>
        </item>
                <item>
          <title>CMS setup tips and tricks</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240603#post2240603</link>
          <description><![CDATA[<p>I do the same thing. I've extended mine to include the ability to select style sheets, layout options, site logo etc.</p>]]></description>
          <pubDate>Fri, 26 May 2017 00:55:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240603#post2240603</guid>
        </item>
                <item>
          <title>Incorrect datetime value</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240216#post2240216</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Removing NO_ZERO_IN_DATE didn't seem to work for me. However when I removed STRICT_ALL_TABLES on line 67 it seemed to do the trick.</p>
<p><code># set MySQL strict mode - <a href="http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html</a><br />  if ($strictMode) {<br />    $query = "SET SESSION sql_mode = 'NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'";<br />    mysql_query($query) or die("MySQL Error: " .mysql_error(). "\n");<br />  }</code></p>
<p>Thanks for your help.</p>]]></description>
          <pubDate>Tue, 14 Feb 2017 05:23:19 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240216#post2240216</guid>
        </item>
                <item>
          <title>Incorrect datetime value</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240207#post2240207</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>Sorry for the late response, I'm using version 5.7.7. The issue seemed to effect all sections when you try and add a date field. I was able to work around it by creating the field as a text field first and entering the date manually I.e. 2017-02-11 00:00:01 and then changing it to a date field. Seems like newer versions of MySQL don't like 0000-00-00 00:00:00 date values. I was out of the office the last couple of days but will try out your suggestion on Monday.</p>
<p>Thanks!</p>
<p>Ryan</p>]]></description>
          <pubDate>Sat, 11 Feb 2017 02:16:24 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240207#post2240207</guid>
        </item>
                <item>
          <title>Incorrect datetime value</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240186#post2240186</link>
          <description><![CDATA[<p>When I try to create a new date field anywhere in the CMS I keep getting the following error message.</p>
<p>Incorrect datetime value '0000-00-00 00:00:00' for column 'myField' at row 1</p>
<p>I'm using MySQL 5.7 and have tried setting <span>SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES' to no avail.</span></p>
<p><span>Anyone any ideas?</span></p>

]]></description>
          <pubDate>Wed, 08 Feb 2017 05:49:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240186#post2240186</guid>
        </item>
                <item>
          <title>Newsletter Builder - Extra dot in URL string</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238040#post2238040</link>
          <description><![CDATA[<p>Hi All,</p>
<p>Getting a strange issue with Newsletter Builder were my confirmation emails have double dots in the URL string. The extra dot is causing 404 errors and users are unable to confirm signup.</p>
<p><a href="http://www.mydomain.ie/nl-manage-subscribers" rel="nofollow">http://www.mydomain.ie/nl-manage-subscribers</a><strong>..</strong>php?n=778&amp;a=6be4e6ea8049</p>
<p><span><span><a href="http://www.mydomain" rel="nofollow">http://www.mydomain</a><strong>..</strong>ie/nl-manage-subscribers.php</span> </span></p>
<p><span>I've checked newsletterBuilder.php</span></p>
<p><code>// define placeholders - values defined lower in the list can use placeholder defined above them in the list<br />  // internal placeholders (undocumented)<br />  $placeholders['manage_url']      = $newsletterSettings['manage_url'];<br /><br />  // public placeholders - values defined lower in the list can use placeholder defined above them in the list<br />  $placeholders['email_header']    = ''; // placeholder removed in v2.03 - remove the placeholder if it's left in old newsletter content<br />  $placeholders['email_footer']    = ''; // placeholder removed in v2.03 - remove the placeholder if it's left in old newsletter content<br />  $placeholders['hostname']        = coalesce( @parse_url($GLOBALS['SETTINGS']['adminUrl'], PHP_URL_HOST), 'PROGRAM_URL_NOT_SET' );<br />  $placeholders['from_name']       = $newsletterSettings['from_name'];<br />  $placeholders['from_email']      = $newsletterSettings['from_email'];<br />  $placeholders['to_email']        = $to_email;<br />  $placeholders['archive_url']     = $newsletterSettings['archive_url'];<br />  $placeholders['confirm_url']     = $newsletterSettings['manage_url'] . "?n=$subscriberNum&amp;a=$subscriberAuthkey";<br />  $placeholders['unsubscribe_url'] = $newsletterSettings['manage_url'] . "?n=$subscriberNum&amp;a=$subscriberAuthkey&amp;m=$messageNum&amp;u=1"; // if usernum(n) isn't specified user will just</code></p>
<p>I checked the values in the DB and the extra dot does not appear in there either.</p>
<p>Anyone any ideas on what's causing this?</p>
<p><br />CMSB Version 2.62 <br />Newsletter Builder Version: 3.01</p>]]></description>
          <pubDate>Wed, 20 Jan 2016 05:14:34 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238040#post2238040</guid>
        </item>
                <item>
          <title>Hide Modify Link - Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236481#post2236481</link>
          <description><![CDATA[<p>Hi Greg,</p>
<p>Thanks for that, have it working now!</p>
<p>I'm using this plugin as part of a basic ticket support system. I'm monitoring the assignedDate (when requests are assigned to an engineer) and the closedDate (when the engineer marks the request as closed) to report on the response time for each support request. So if users have the ability to modify a request after it's been closed these fields could be changed.</p>
<p>However you make a good point about users accidently closing records so I will allow admin users to modify the record and change the status back.</p>
<p>I'm using this plugin along with a variation of the Grey hidden records plugin that color codes the record rows based on their status, pending open or closed.</p>
<p><code>&lt;?php<br />/*<br />Plugin Name: Hide Modify Link  <br />Description: Hide Modify Link when $record['status'] equals closed<br />Version: 1.00<br />Requires at least: 2.50<br />*/<br /><br />//Add button to orders menu<br />addFilter('listRow_actionLinks',  'hideModifyLink', null, 3);<br /><br />function hideModifyLink($trStyle, $tableName, $record) {<br />  global $CURRENT_USER;<br /> <br /> //Set modify link<br /> $modifyLink   = '?menu=' .htmlencode($tableName). "&amp;amp;action=edit&amp;amp;num=" . @$record['num'];<br /><br /> //only works for certain tables and if the user is not an admin<br /> if (@$tableName == 'tickets' &amp;&amp; !@$CURRENT_USER['isAdmin'])  {<br /><br />  // and only if that status is set to closed (or in this case its value) <br />  if (@$record['status'] &amp;&amp; @$record['status'] == 3) { // if record is closed (3)<br />   <br />   //str_replace function finds modify link and replaces it with ""<br />   $trStyle = str_replace("&lt;a href='$modifyLink'&gt;" .t('modify'). "&lt;/a&gt;\n", '', $trStyle);<br /> <br />    }<br />  }<br />  //After you've updated the link, return it.<br />  return $trStyle;<br />  }<br /><br />?&gt;</code></p>
<p>My only concern now is that engineers could change the ID's in the URL and still be able to modify the record after it's closed, but that's unlikely to happen.</p>
<p>Thanks again for your help.</p>
<p>Ryan</p>]]></description>
          <pubDate>Thu, 02 Apr 2015 02:01:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236481#post2236481</guid>
        </item>
                <item>
          <title>Difference between two dates in days, hours &amp; minutes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236410#post2236410</link>
          <description><![CDATA[<p>Thanks Dave, I've updated my original post to reflect the changes.  </p>]]></description>
          <pubDate>Fri, 27 Mar 2015 01:43:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236410#post2236410</guid>
        </item>
              </channel>
    </rss>
  