<?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%3Awebdude</link>
        <description></description>
        <pubDate>Tue, 21 Apr 2026 00:11:46 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Awebdude&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Dave] Buggy redirects still here when using HTTPS :(</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2201064#post2201064</link>
          <description><![CDATA[Hi Dave,<br /><br />Great! Thanks for listening!<br />]]></description>
          <pubDate>Mon, 11 Jan 2010 19:06:21 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2201064#post2201064</guid>
        </item>
                <item>
          <title>Re: [Dave] Buggy redirects still here when using HTTPS :(</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2201050#post2201050</link>
          <description><![CDATA[Hi Dave it looks like the bug has crept back :(<br /><br />We hadn't upgraded since 1.28 (where we had patched it ourselves)... but after upgrading to v2.01 the redirects are still not working.<br /><br />We are running the CMS using SSL on a non-standard port.<br /><br />We noticed 3 places where the CMS checks if SSL is enabled by checking $_SERVER['https'], instead of checking $_SERVER['<b>HTTPS</b>'] (lowercase vs uppercase). It must be changed to uppercase for it to mean anything (at least on my standard 5.3.0 PHP install) which the PHP documentation page confirms: <a target="_blank" href="http://ca.php.net/manual/en/reserved.variables.server.php">http://ca.php.net/manual/en/reserved.variables.server.php</a><br /><br />in the file <b>lib/common.php</b> on <b>line 391</b>:<code><u>version 2.01:</u><br /><br />  $proto  = (@$_SERVER[&quot;https&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443) ? &quot;https://&quot; : &quot;http://&quot;;<br /><br /><u>bugfix:</u><br /><br />  $proto  = (@$_SERVER[&quot;<b>HTTPS</b>&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443) ? &quot;https://&quot; : &quot;http://&quot;;</code>in the file <b>lib/common.php</b> on <b>line 623</b>:<code><u>version 2.01:</u><br /><br />    $isHTTPS      = @$_SERVER[&quot;https&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443;<br /><br /><u>bugfix:</u><br /><br />    $isHTTPS      = @$_SERVER[&quot;<b>HTTPS</b>&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443;</code>in the file <b>lib/viewer_functions.php</b> on <b>line 1061</b>:<code><u>version 2.01:</u><br /><br />    $isHTTPS = @$_SERVER[&quot;https&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443;<br /><br /><u>bugfix:</u><br /><br />    $isHTTPS = @$_SERVER[&quot;<b>HTTPS</b>&quot;] == 'on' || @$_SERVER['SERVER_PORT'] == 443;</code><br /><br />The other bug is related (in the thisPageUrl function). It has to do with the fact we are using a non-standard port (eg. 84).<br /><br />In the file <b>lib/common.php</b>, the code on <b>line 392</b> extracts the current domain name from $_SERVER['HTTP_HOST'] if possible... the problem is that $_SERVER['HTTP_HOST'] <i>sometimes (depending on the PHP install?)</i> includes the port number if it is non-default...<br /><br />So the next line 393 adds the port a 2nd time resulting in invalid urls like <u>https://www.example.com:84:84/admin.php</u> instead of <u>https://www.example.com:84/admin.php</u><br /><br />My suggested fix would be to first check that the port name was not already included in $domain and only add the port if needed. In the file <b>lib/common.php</b> on <b>line 393</b>:<code><u>version 2.01</u>:<br /><br />  $port   = (@$_SERVER['SERVER_PORT'] &amp;&amp; @$_SERVER['SERVER_PORT'] != 80) ? &quot;:{$_SERVER['SERVER_PORT']}&quot; : '';<br /><br /><u>bugfix:</u><br /><br />  if(preg_match('|:[0-9]+$|', $domain)) {<br />    $port = '';<br />  } else {<br />    $port   = (@$_SERVER['SERVER_PORT'] &amp;&amp; @$_SERVER['SERVER_PORT'] != 80) ? &quot;:{$_SERVER['SERVER_PORT']}&quot; : '';<br />  }</code><br /><br />I'm sorry if this post is long winded, I just genuinely want to get this fixed. I have patched my installation and it is working great.<br /><br />Thanks!<br />]]></description>
          <pubDate>Sun, 10 Jan 2010 15:34:44 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2201050#post2201050</guid>
        </item>
                <item>
          <title>Buggy redirects when using https/SSL (version 1.28 - 2.01)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197081#post2197081</link>
          <description><![CDATA[Hello!<br /><br />We found a couple buggy redirects after switching our installation to https. Some of the built-in redirects are hard-coded to urls with the regular http prefix which results in redirecting to the wrong url.<br /><br />On example of such a function is logout. Clicking logout should redirect the user to <b>https</b>://myserver.com/admin.php but instead it is going to <b>http</b>://myserver.com/admin.php<br /><br />After searching through I found at least 4 files where the http: was hardcoded into the redirect (meaning it wasn't checking to see if the install is running on a SSL connection). Instead of mucking around in all those places I found an easy way to fix it by adding the following line in the <b>redirectBrowserToURL</b> function:<b><code>$url = preg_replace('|^https?://|i', @$_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://', $url);</code></b>It would be great if something like this can be included in the next bugfix release.<br /><br />Thanks!<br /><br />PS it would not be a good idea to use my fix if the redirectBrowserToURL function is being used by the code to redirect to sites other than the HTTP_HOST on which the install is running, because then the $_SERVER['HTTPS'] would be completely irrelevant.<br />]]></description>
          <pubDate>Fri, 24 Apr 2009 07:57:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197081#post2197081</guid>
        </item>
                <item>
          <title>Re: [Dave] Disable sorting by clicking header in list view when using dragSortOrder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2195720#post2195720</link>
          <description><![CDATA[Hi Dave,<br /><br />Good point. I think a javascript confirm popup presenting the user with the option is a good choice since it offers the flexibility and the added safety measure at the same time.<br /><br />BTW That a was quick reply!<br />]]></description>
          <pubDate>Mon, 09 Feb 2009 18:19:05 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2195720#post2195720</guid>
        </item>
                <item>
          <title>Disable sorting by clicking header in list view when using dragSortOrder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2195715#post2195715</link>
          <description><![CDATA[Is there a way to disable the feature which sort the list view when the column header is clicked?<br /><br />We are having problems when using dragSortOrder. Sometimes a header gets clicked in the list view (which results in a new sort order) and then a drag sort is accidentally performed relative to this new sorting which wipes out a pain-stakenly chosen order.<br /><br />It would be very hand to disable the header-click-to-sort feature for a section (especially when dragSortOrder is being used).<br /><br />Any thoughts?<br /><br />Thanks!<br />]]></description>
          <pubDate>Mon, 09 Feb 2009 17:18:53 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2195715#post2195715</guid>
        </item>
                <item>
          <title>Multiple File Upload...</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2195116#post2195116</link>
          <description><![CDATA[Hi!<br /><br />Multiple-file upload would be a great feature addtion to CMS Builder.<br /><br />I just discovered a really great solution which uses a hidden Flash swf file and the rest is done in Javascript. It is called SWFUpload and is free (demos at <a target="_blank" href="http://demo.swfupload.org">http://demo.swfupload.org</a>).<br /><br />Is there any way this could be integrated into CMS Builder? It would save time for users who have multiple files to upload (because you can shift-select a whole whack in one go!).<br /><br />Thanks!<br />]]></description>
          <pubDate>Fri, 09 Jan 2009 19:29:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2195116#post2195116</guid>
        </item>
                <item>
          <title>Re: [Dave] Feature Request: Drag/Drop Order in List Views</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191574#post2191574</link>
          <description><![CDATA[Hi Dave,<br /><br />I have emailed you the login info. Please let me know when you get a change to check it out.<br /><br />Webdude<br />]]></description>
          <pubDate>Fri, 16 May 2008 11:43:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191574#post2191574</guid>
        </item>
                <item>
          <title>Re: [Dave] Feature Request: Drag/Drop Order in List Views</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191569#post2191569</link>
          <description><![CDATA[Hi Dave. We love the dragSortOrder feature!<br /><br />Just wondering if anyone else has experienced slowness when viewing larger lists in CMS Builder (say 100 records) due to the dragSortOrder javascript (jquery.tablednd.js) stalling the browser just after page load. Sometimes it can be up to 3 seconds.<br /><br />It looks like the reordering JS file is consuming some heavy CPU. Can anyone confirm this other than me?<br />]]></description>
          <pubDate>Thu, 15 May 2008 22:30:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191569#post2191569</guid>
        </item>
                <item>
          <title>Re: [Dave] Feature Request: Drag/Drop Order in List Views</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191565#post2191565</link>
          <description><![CDATA[YES!<br /><br />Will check it out ASAP!<br />]]></description>
          <pubDate>Thu, 15 May 2008 17:39:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191565#post2191565</guid>
        </item>
                <item>
          <title>Re: [Dave] Ordering the Dodgy Digits!</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191563#post2191563</link>
          <description><![CDATA[Just wanted to follow up on this for other users. If you are having problems with sorting of integers, such as:<br /><br />1<br />10<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /><br />... instead of the expected ...<br /><br />1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /><br />Then I have a trick for you to use in your viewer code. Use the MySQL CAST function in your ORDER BY expression... like so:<br /><br />SELECT * FROM `faq` WHERE `num` &gt; 0 ORDER BY CAST(`myorder` AS UNSIGNED) ASC<br /><br />I find this much easier than trying to pad numbers with zeros. Unless you have gigantic result sets the CPU hit should be very minimal.<br />]]></description>
          <pubDate>Thu, 15 May 2008 14:47:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191563#post2191563</guid>
        </item>
                <item>
          <title>Feature Request: Drag/Drop Order in List Views</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191562#post2191562</link>
          <description><![CDATA[Hey There,<br /><br />Loving CMS Builder. I use it very often and has saved me. I was wondering if we could have an optional field type &quot;order&quot;... This field would allow users to order items in the list view using the friendly dragging and dropping just like in the admin section editor.<br /><br />Any thoughts? Anyone agree?<br /><br />Thanks!<br />]]></description>
          <pubDate>Thu, 15 May 2008 14:41:55 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191562#post2191562</guid>
        </item>
                <item>
          <title>Re: [Dave] Bug: Call to timezone_abbreviations_list() in CMS Builder v1.10</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190845#post2190845</link>
          <description><![CDATA[Hi Dave, <br /><br />Well I guess this explains the bug. Here is the output to the code you asked me to run:<br /><code>This is PHP v5.1.6<br />date_default_timezone_set: 1<br />timezone_abbreviations_list:</code><br />Your hypothesis seems correct. Either PHP docs are a little screwy or my php is a little screwy (or both?).<br /><br />Let me know if this helps... I really appreciate your patience in troubleshooting!<br />]]></description>
          <pubDate>Thu, 20 Mar 2008 12:46:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190845#post2190845</guid>
        </item>
                <item>
          <title>Bug: Call to timezone_abbreviations_list() in CMS Builder v1.10</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190837#post2190837</link>
          <description><![CDATA[In the file lib/menus/admin/actionHandler.php<br /><br />There is a call to PHP function timezone_abbreviations_list() which is only available on PHP versions &gt; 5.10 ish (depending on who you talk to). PHP manual says PHP &gt;= 5.1.0 (<a target="_blank" href="http://php.net/timezone_abbreviations_list">http://php.net/timezone_abbreviations_list</a>).<br /><br />This is causing the Admin:General Settings page to crash with fatal error: <code>Call to undefined function timezone_abbreviations_list() in ... lib/menus/admin/actionHandler.php</code><br /><br />We are running official updated CentOS 5 (which is essentially RHEL5) and the function is not available in the PHP version (5.16).<br /><br />Any thoughts? How can I be the only one noticing this? Maybe I'm the only one running CMS Builder v1.10 who doesn't have bleeding-ish edge PHP and who has tried to view the Admin:General Settings page.<br />]]></description>
          <pubDate>Thu, 20 Mar 2008 04:47:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190837#post2190837</guid>
        </item>
                <item>
          <title>Re: [Dave] Bug with &quot;single page&quot; sections which only have upload fields</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190427#post2190427</link>
          <description><![CDATA[Hi Dave,<br /><br />Tried you suggestion, still gives me the error when images isn't in the search field.<br /><br />Webdude<br />]]></description>
          <pubDate>Mon, 25 Feb 2008 20:27:12 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190427#post2190427</guid>
        </item>
                <item>
          <title>Bug with &quot;single page&quot; sections which only have upload fields</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190421#post2190421</link>
          <description><![CDATA[I think I have found an obscure bug. Try these steps to reproduce:<br /><br />1. Create a &quot;single page&quot; type of custom section<br />2. remove all fields except the built-in &quot;num&quot; field<br />3. add a single field type &quot;upload&quot; (screenshot 1.png)<br />4. after saving go and try to upload a file and save<br /><br />... results in popup window with Mysql error (screenshot 3.png)<br /><br />I have uploaded screenshots.<br /><br /><br />Cheers,<br /><br />Webdude.]]></description>
          <pubDate>Mon, 25 Feb 2008 18:59:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190421#post2190421</guid>
        </item>
                <item>
          <title>Re: [Dave] Bug with global $TABLE_PREFIX - please confirm</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190399#post2190399</link>
          <description><![CDATA[OK thanks Dave I sent you an email with code to reproduce!<br />]]></description>
          <pubDate>Fri, 22 Feb 2008 19:06:37 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190399#post2190399</guid>
        </item>
                <item>
          <title>Bug with global $TABLE_PREFIX - please confirm</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190397#post2190397</link>
          <description><![CDATA[Hi There,<br /><br />I just noticed that when I call getListRows($options) from a different scope (eg within a function) that the table prefix doesn't automatically get prepended producing an error like this: <code>List Viewer (news): MySQL Error: Table 'cmsbuilder.news' doesn't exist</code> It should be looking for the table <i>cmsbuilder.cms_news</i> and not <i>cmsbuilder.news</i><br /><br />I traced it back to the CMS Builder source code. It looks like CMS Builder wasn't properly setting $TABLE_PREFIX internally. I found a quick solution...<br /><br />The original line 91 of lib/init.php:<br /><code>$TABLE_PREFIX =&amp; $SETTINGS['mysql']['tablePrefix'];</code><br /><br />FIX by changing line 91 of lib/init.php to this:<br /><code>$TABLE_PREFIX = $SETTINGS['mysql']['tablePrefix'];</code><br /><br />I was hoping to get an official response from support to confirm that this won't break something else. Perhaps the =&amp;  in the code wasn't really intentional.<br /><br />Thanks for the amazing product BTW!<br />]]></description>
          <pubDate>Fri, 22 Feb 2008 16:57:59 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190397#post2190397</guid>
        </item>
              </channel>
    </rss>
  