<?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%3ASteve99</link>
        <description></description>
        <pubDate>Fri, 12 Jun 2026 07:50:56 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3ASteve99&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Display one randomly selected image from multiple uploads</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246832#post2246832</link>
          <description><![CDATA[<p>Hi again,</p>
<p>It looks like Djulia's shuffle solution will work nicely for you. Based on your existing code structure, here's a slightly modified version to shuffle if there is more than one image upload:</p>
<p>Replace this:</p>
<pre class="language-php"><code>&lt;div class="imagebg"&gt;
&lt;?php foreach ($calendar_random_imagesRecord['image'] as $index =&gt; $upload): ?&gt;
&lt;img src="&lt;?php echo htmlencode($upload['urlPath']) ?&gt;" width="100%" height="100%" /&gt;
&lt;?php endforeach ?&gt;
&lt;/div&gt;</code></pre>
<p>With this:</p>
<pre class="language-php"><code>&lt;div class="imagebg"&gt;
&lt;?php if (count($calendar_random_imagesRecord['image']) &gt; 1) { shuffle($calendar_random_imagesRecord['image']); } ?&gt;
&lt;?php foreach ($calendar_random_imagesRecord['image'] as $index =&gt; $upload): ?&gt;
 &lt;?php if ($index &gt;= 1) { continue; } ?&gt;
 &lt;img src="&lt;?php echo htmlencode($upload['urlPath']) ?&gt;" width="100%" height="100%" /&gt;
&lt;?php endforeach ?&gt;
&lt;/div&gt;</code></pre>
<p>That should do it for you.</p>
<p>Also, you can remove "'orderBy' =&gt; 'RAND()'," at line 37 from your previous test. </p>
<p>Let us know how you make out.</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Tue, 14 Nov 2023 07:36:10 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246832#post2246832</guid>
        </item>
                <item>
          <title>CMSB v3.63 Beta 1 (ZenDB: Next-Generation Database Library)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246817#post2246817</link>
          <description><![CDATA[<p>Dave,</p>
<p>Wow... ZenDB sounds incredible. I've only had time for a cursory review since the beta released, but this looks absolutely brilliant!</p>
<p>Best,<br />Steve</p>
]]></description>
          <pubDate>Thu, 02 Nov 2023 09:50:03 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246817#post2246817</guid>
        </item>
                <item>
          <title>counts not working properly</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246813#post2246813</link>
          <description><![CDATA[<p>Hi Craig,</p>
<p>$blogMetaData['totalRecords'] provides a count of all records returned from getRecords.</p>
<p>Modifying your existing code, you can run a query inside the following foreach loop to get counts for each Year/Month archive.</p>
<p>Try changing this:</p>
<pre class="language-php"><code>&lt;?php foreach($months as $date =&gt; $name): ?&gt;
    &lt;li&gt;&lt;a href="blog.php?createdDate_keyword=&lt;?php echo "$date";?&gt;" &gt;&lt;?php echo $name;?&gt; &lt;?php echo $year;?&gt;&lt;span&gt;&lt;?php echo $blogMetaData['totalRecords']; ?&gt;&lt;/span&gt;&lt;i class=" icon-right-open"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endforeach ?&gt;</code></pre>
<p>To this:</p>
<pre class="language-php"><code>&lt;?php foreach($months as $date =&gt; $name): ?&gt;
&lt;?php $archiveMonthCount = mysql_count('blog', "`createdDate` LIKE '$date%'"); ?&gt;
    &lt;li&gt;&lt;a href="blog.php?createdDate_keyword=&lt;?php echo "$date";?&gt;" &gt;&lt;?php echo $name;?&gt; &lt;?php echo $year;?&gt;&lt;span&gt;&lt;?php echo $archiveMonthCount; ?&gt;&lt;/span&gt;&lt;i class=" icon-right-open"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endforeach ?&gt;</code></pre>
<p>mysql_count is an internal CMSB function that returns the number of records found. For the WHERE clause, we're searching createdDate using the LIKE operator with wildcard % on your $date string (ex. 2023-09). This will match createdDate fields starting with your $date string value.</p>
<p>Hope this helps!</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Tue, 31 Oct 2023 11:12:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246813#post2246813</guid>
        </item>
                <item>
          <title>Display one randomly selected image from multiple uploads</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246812#post2246812</link>
          <description><![CDATA[<p>Hi CommonSenseDesign,</p>
<p>It appears you have code that is setting an image upload as inline style background image on the div tag. I can see 5 image tags output within that div as "display:none;". Can you post the full code sample that creates this section (see attached screenshot)? </p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Tue, 31 Oct 2023 09:19:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246812#post2246812</guid>
        </item>
                <item>
          <title>CMSB v3.62 Beta 1 - New Mailer and Improved Section Editor Sorting (UPDATE: Beta 2 Released)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246759#post2246759</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>PHPMailer:</p>
<p>One thing I've noticed while testing PHPMailer using the sendMessage function is sending will fail if "CC" or "BCC" headers are set without values ('CC' isn't a valid email!; 'BCC' isn't a valid email!).</p>
<p>Usage context, in our CMS installations we provide optional text fields for users to add email addresses as "CC" or "BCC". The previous mailer implementation would simply ignore these headers if no values were set. I'm sure we could modify our process to create the headers array dynamically, but would prefer not needing to patch all instances. Otherwise it seems to work well!</p>
<p>Section Editor Sorting:</p>
<p>Very nice! This functionality would be great for the Fields portion as well.</p>
<p>Thanks Dave!</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Mon, 09 Oct 2023 13:15:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246759#post2246759</guid>
        </item>
                <item>
          <title>Select multiple records and drag</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246723#post2246723</link>
          <description><![CDATA[<p>Hi Jeff,</p>
<p>Glad to hear it's getting some use, and I appreciate the feedback! I'd noted this as well and plan to have a think on it.</p>
<p>In the meantime, you can easily add values to the per page drop down list by modifying this:<br />cmsb/lib/menus/default/list.php<br />Line 180 in latest CMSB v3.61</p>
<pre class="language-php"><code>&lt;?php echo getSelectOptions($metaData['perPage'], array(5, 10, 25, 50, 100, 250, 1000)); ?&gt;</code></pre>
<p>Just make note of the change for future cmsb upgrades.</p>
<p>Thanks, and please let me know of any other feedback!</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Fri, 08 Sep 2023 10:49:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246723#post2246723</guid>
        </item>
                <item>
          <title>CMSB v3.61 Released - Maintenance Release</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246721#post2246721</link>
          <description><![CDATA[<p>Yes, certainly appreciated!</p>
<p>I emailed you a screenshot of Recent Changes to check out.</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Thu, 07 Sep 2023 10:34:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246721#post2246721</guid>
        </item>
                <item>
          <title>CMSB v3.61 Released - Maintenance Release</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246717#post2246717</link>
          <description><![CDATA[<p>Thanks Dave and Team! The new "shift-click for selecting a range of checkboxes" is great for usability. I really like all the new server environment items introduced over the last few releases as well. It was interesting to see the frequency of node changes in a clustered cloud server environment.</p>]]></description>
          <pubDate>Tue, 05 Sep 2023 13:57:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246717#post2246717</guid>
        </item>
                <item>
          <title>Select multiple records and drag</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246689#post2246689</link>
          <description><![CDATA[<p>Happy to share, Jeff and all. Certainly feel free to include, Jerry. Hopefully others find it useful.</p>
<p>Andreas - Agreed. For this plugin I was able to utilize the list page "selected records" checkboxes, so unfortunately it wouldn't work for section editor field sorting. However, I do believe that capability is part of the multi-select drag/drop sorting wishlist item Dave wanted to look into.</p>
<p>Best,<br />Steve</p>

]]></description>
          <pubDate>Tue, 08 Aug 2023 09:13:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246689#post2246689</guid>
        </item>
                <item>
          <title>Select multiple records and drag</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246683#post2246683</link>
          <description><![CDATA[<p>Jeff,</p>
<p>I had some time between projects and this utility was of interest. That being said, I've created a plugin I'd like to share with the community called "Move Records Here". It allows you to select multiple records in a manually sorted (dragSortOrder) list section and move them to their new sort position.</p>
<p>Note: This plugin has not been tested with Category type and has built-in checks to not enable for these sections.</p>
<p>Dave checked out the plugin before I put the finishing touches on it. He still plans to look into the multi record drag sort, but this plugin will work as a nice stop-gap.</p>
<p>See attached.</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Mon, 07 Aug 2023 08:14:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246683#post2246683</guid>
        </item>
                <item>
          <title>Select multiple records and drag</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246664#post2246664</link>
          <description><![CDATA[<p>Upvote.</p>
<p>Playing off the "insert record here" concept, perhaps a "move selected records here" plugin? Action links could appear if records are selected.</p>
<p>Selected records could be moved to their new position, while retaining their respective group order. Would alleviate the need to "drag" over long lists as well.</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Fri, 21 Jul 2023 09:51:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246664#post2246664</guid>
        </item>
                <item>
          <title>Plugin defaultSqlData files</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246574#post2246574</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>The plugins defaultSqlData files ENGINE and CHARSET could use an update to InnoDB and utf8mb4, respectively. Functions that run when accessing admin Section Editors updates these anyway, so that's probably why I kept forgetting to post this :)</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Mon, 05 Jun 2023 10:15:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246574#post2246574</guid>
        </item>
                <item>
          <title>CMSB v3.59 Beta 2 (PHP 8 now required)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246568#post2246568</link>
          <description><![CDATA[<blockquote>
<p>Kind of ironic that the forum post title for a beta has a bug. :-)</p>
</blockquote>
<p>See attachment :)</p>]]></description>
          <pubDate>Fri, 02 Jun 2023 14:15:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246568#post2246568</guid>
        </item>
                <item>
          <title>911 - Help, please. I screwed up with the webp conversion and not sure how to fix it...and it needs to be fixed asap (of course). </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246562#post2246562</link>
          <description><![CDATA[<p>Hi Codee,</p>
<p>Yes, Tim's method is straight forward and will certainly work well. </p>
<p>You can also run UPDATE statements if you're comfortable. Make a backup and proceed with caution.<br />For example, these two statements would update the uploads table filePath and urlPath fields (finds and replaces ending .jpg with .webp):</p>
<pre class="language-php"><code>UPDATE cmsb_uploads
SET filePath = REPLACE(filePath, '.jpg', '.webp')
WHERE filePath LIKE ('%.jpg');

UPDATE cmsb_uploads
SET urlPath = REPLACE(urlPath, '.jpg', '.webp')
WHERE urlPath LIKE ('%.jpg');</code></pre>
<p>If your site uses thumbnails then you'd need to do the same process for each thumbFilePath and thumbUrlPath (thumbFilePath2 and thumbUrlPath2; etc up to 4).</p>
<p>To note, if all of your images were converted .jpg to .webp using the plugin this will work. <br />However, if you have "Use WebP" active in general settings, any new uploads appear to have the previous file type appended to the filename (ex. "myimage.jpg" would become "myimage-jpg.webp", which would require modifying the update statement replace '.webp' portion with '-jpg.webp').</p>
<p>Make a backup, and backup the backup :) Good luck!</p>
<p>Best,<br />Steve</p>
<p>P.S. I'd already started drafting this and didn't see your post update until complete :) Glad you got everything working again! I'll leave this up here in case it's useful in the future.</p>]]></description>
          <pubDate>Wed, 31 May 2023 11:01:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246562#post2246562</guid>
        </item>
                <item>
          <title>CMSB v3.58 Beta 2 (PHP 8 now required)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246555#post2246555</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>You may want to review the base CMSB htaccess &lt;IfModule mod_phpX.c&gt; directive. Will continue testing the beta release.</p>
<p>Thanks!<br />Steve</p>]]></description>
          <pubDate>Thu, 25 May 2023 13:53:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246555#post2246555</guid>
        </item>
                <item>
          <title>preview button and permalink not working </title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246385#post2246385</link>
          <description><![CDATA[<p>Hi Jeff,</p>
<p>I've experienced this before. It's seeing the last number in url as 9999999999.</p>
<p>Try something like this, using the $blogPageWhere string to set your query (set from preview:num, or to use your normal page query):</p>
<pre class="language-php"><code>if (getLastNumberInUrl() == '9999999999') { // if preview mode
$blogPreviewNum = intval( @$_REQUEST['preview:num'] );
$blogPageWhere  = "blog.num = $blogPreviewNum";
} else {
$blogPageWhere  = "blog.num='" . getLastNumberInUrl() . "'";
}</code></pre>
<p>Hope this helps!</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Thu, 05 Jan 2023 13:17:43 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246385#post2246385</guid>
        </item>
                <item>
          <title>Spambot Email Protector Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246282#post2246282</link>
          <description><![CDATA[<p>Got it. Thanks Dave.</p>]]></description>
          <pubDate>Thu, 10 Nov 2022 12:38:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246282#post2246282</guid>
        </item>
                <item>
          <title>Spambot Email Protector Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246280#post2246280</link>
          <description><![CDATA[<p>Thanks Dave. Since it was being archived, do you feel methods used are irrelevant with the advancements of bots?</p>]]></description>
          <pubDate>Thu, 10 Nov 2022 11:58:26 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246280#post2246280</guid>
        </item>
                <item>
          <title>Spambot Email Protector Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246278#post2246278</link>
          <description><![CDATA[<p>Hello,</p>
<p>Just noticed the Spambot Email Protector plugin is no longer available. <a href="https://www.interactivetools.com/plugins/spambot-email-protector/" rel="nofollow">https://www.interactivetools.com/plugins/spambot-email-protector/</a></p>
<p>Curious as to why it was removed? We have some sites with updates planned that are using it, so was wondering about compatibility.</p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Wed, 09 Nov 2022 12:38:56 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246278#post2246278</guid>
        </item>
                <item>
          <title>Google Maps - STYLES not working</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245802#post2245802</link>
          <description><![CDATA[<p>Hey Zicky,</p>
<p>Everything else works correctly? No issues with API key, map record values, etc? Anything in the browser Console log that might give us a clue?</p>
<p>Not sure if you've seen or used it yet, but Google has a map style wizard with multiple themes available. Can do Silver theme, which is close to your example PNG. Dark theme, etc. It generates the base code for you, then you can modify it to work for your application.<br /><a href="https://mapstyle.withgoogle.com" rel="nofollow">https://mapstyle.withgoogle.com</a></p>
<p>Best,<br />Steve</p>]]></description>
          <pubDate>Tue, 25 Jan 2022 11:39:16 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245802#post2245802</guid>
        </item>
                <item>
          <title>Add Apply Button v0.04 Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245789#post2245789</link>
          <description><![CDATA[<p>Thanks Daniel!</p>]]></description>
          <pubDate>Wed, 05 Jan 2022 06:26:32 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245789#post2245789</guid>
        </item>
                <item>
          <title>Shopify or WordPress for our upcoming store?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245773#post2245773</link>
          <description><![CDATA[<p>Forum spammers....<br />"LuisEdwards" has only been on this forum spam promoting cloudways...<br />"ThomasPhillippi" is a new account that has one post replying to "LuisEdwards" facilitating the same spam promotion of cloudways...</p>]]></description>
          <pubDate>Wed, 22 Dec 2021 06:51:34 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245773#post2245773</guid>
        </item>
                <item>
          <title>Add Apply Button v0.04 Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245746#post2245746</link>
          <description><![CDATA[<p>Hello,</p>
<p>Since upgrading to CMSB v3.55 and PHP 8 we've been frequently seeing the following error with the Add Apply Button v0.04 plugin:<br /><br />UNCAUGHT_EXCEPTION: array_unshift(): Argument #1 ($array) must be of type array, null given<br />/path/to/web/root/cmsb/plugins/addApplyButton/addApplyButton.php (line 17)<br /><a href="https://www.domainname.com/cmsb/admin.php?menu=tableName&amp;action=edit&amp;num=48" rel="nofollow">https://www.domainname.com/cmsb/admin.php?menu=tableName&amp;action=edit&amp;num=48</a></p>
<p>The error has been frequent but occurs randomly so unfortunately I've been unable to identify anything record, or section editor, specific to aid in troubleshooting.</p>
<p>Thoughts on cause and patch? Thanks in advance.</p>
<p>Steve</p>]]></description>
          <pubDate>Mon, 06 Dec 2021 10:44:26 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245746#post2245746</guid>
        </item>
                <item>
          <title>Image Resize after upload</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245726#post2245726</link>
          <description><![CDATA[<p>Ah, storage space... got it... Yeah, in that case I'd reach out to Interactive Tools support to create a plugin for you.</p>]]></description>
          <pubDate>Fri, 19 Nov 2021 08:50:12 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245726#post2245726</guid>
        </item>
                <item>
          <title>Image Resize after upload</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245724#post2245724</link>
          <description><![CDATA[<p>Hi Andy,</p>
<p>If you were to treat the primary image upload file as your <em>source file</em>, the "thumbnail" sizes can be treated as <em>alternative image sizes</em> (versus the literal naming convention).</p>
<p>Use one of the available "thumbnails" as the main image for your page. The recreate utility will generate all your new images, then just update your website code to reference this "thumbnail" (alternative image size).</p>
<p>Best,<br />Steve</p>

]]></description>
          <pubDate>Fri, 19 Nov 2021 08:15:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245724#post2245724</guid>
        </item>
              </channel>
    </rss>
  