<?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%3AAlanAlonso</link>
        <description></description>
        <pubDate>Sun, 19 Apr 2026 05:17:45 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3AAlanAlonso&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>V3.66 multiple errors</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247118#post2247118</link>
          <description><![CDATA[<p>Hello to all, someone have this problems? I'm using <span>PHP 8.2</span></p>
<p>I getting error 500 on a popup (There was an error sending the request! Error: HTTP error! status: 500) when oppening General Setting also when saving records.</p>
<p>Also on a multirecord editor with file upload I'm getting <span>Fatal error: Allowed memory size and  uber_file_get_contents(): Return value must be of type string|false.</span></p>]]></description>
          <pubDate>Tue, 09 Apr 2024 13:59:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247118#post2247118</guid>
        </item>
                <item>
          <title>Insert custom mysql with viewer_functions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246474#post2246474</link>
          <description><![CDATA[<p>Thank you Dave</p>
<p>The mysqli object working like a charm y will check <span>mysql_escape() function.</span></p>
<pre class="language-php"><code>ob_start();
include 'calificaciones_save_post.php';
$output = ob_get_clean();
if (mysqli()-&gt;query($output)) {
    header("Location: alumnos.php");
die();
} else {
    dieAsCaller("MySQL Error: ". htmlencode(mysqli()-&gt;error) . "\n");
}</code></pre>]]></description>
          <pubDate>Fri, 17 Mar 2023 14:06:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246474#post2246474</guid>
        </item>
                <item>
          <title>Insert custom mysql with viewer_functions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246468#post2246468</link>
          <description><![CDATA[<p>Is there a shortcut using viewer_functions to insert custom mysql to the cmsb database, to avoid using this?</p>
<pre class="language-php"><code>$conexion = mysqli_connect("localhost","user","pass","database");
if(!$conexion){
	die('No se puede conectar '.mysql_error());
	}
if (mysqli_query($conexion, $output )) {
    header("Location: alumnos.php");
die();
} else {
    echo mysqli_error($conexion);
}
mysqli_close ($conexion);</code></pre>]]></description>
          <pubDate>Thu, 16 Mar 2023 22:54:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246468#post2246468</guid>
        </item>
                <item>
          <title>Solved</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246465#post2246465</link>
          <description><![CDATA[<pre class="language-php"><code>&lt;?php foreach ($asignaturasRecords as $record): ?&gt;
      &lt;?php $num = $record["num"]; ?&gt;
	  &lt;?php echo "('" . $_POST["createdDate_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["createdByUserNum_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["updatedDate_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["updatedByUserNum_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["curp_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["claveasignatura_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["ciclo_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["calificacion_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["idobservaciones_$num"] . "";
   if ($contar++ == $count - 1) {
       echo "');";
   } else {
       echo "'),";
   }
   ?&gt;</code></pre>]]></description>
          <pubDate>Thu, 16 Mar 2023 13:58:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246465#post2246465</guid>
        </item>
                <item>
          <title>Last foreach change</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246464#post2246464</link>
          <description><![CDATA[<p>I made a form using a multirecord table, post and echo post data is correct but I have a problem changing last digit of the foreach need to be ;  not  , but just for the last to generate the INSERT INTO for mysql, any suggestion?</p>
<pre class="language-php"><code>&lt;?php foreach ($asignaturasRecords as $record): ?&gt;
      &lt;?php $num = $record['num']; ?&gt;
	  &lt;?php echo "('" . $_POST["createdDate_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["createdByUserNum_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["updatedDate_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["updatedByUserNum_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["curp_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["claveasignatura_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["ciclo_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["calificacion_$num"] . "',"; ?&gt;
	  &lt;?php echo "'" . $_POST["idobservaciones_$num"] . "'),"; ?&gt;
&lt;?php endforeach ?&gt;</code></pre>
<p><span>('2023-03-16 03:31:12', '1', '2023-03-16 03:31:12', '1', 'TFAR960722HDFESD10', 'LP946', '2020', '9.4', '100'),<br /></span><span>('2023-03-16 03:31:12', '1', '2023-03-16 03:31:12', '1', 'TFAR960722HDFESD10', 'LP947', '2020', '9.4', '100'),<br />('2023-03-16 03:31:12', '1', '2023-03-16 03:31:12', '1', 'TFAR960722HDFESD10', 'LP948', '2020', '9.4', '100'),<br />('2023-03-16 03:31:12', '1', '2023-03-16 03:31:12', '1', 'TFAR960722HDFESD10', 'LP499', '2020', '9.4', '100'),<br />('2023-03-16 03:31:12', '1', '2023-03-16 03:31:12', '1', 'TFAR960722HDFESD10', 'LP950', '2020', '9.4', '100'),</span></p>
<p>UPDATE<br />--------------------<br />I was trying to use str_replace or substr_replace but does not work, I get that doesn't work as the value is an array.<br />Also tried</p>
<pre class="language-markup"><code>foreach ($asignaturasRecords as $record =&gt; $element) {
    if ($record === array_key_first($array)) {
        echo "'" . $_POST["idobservaciones_$num"] . "'),";
    }

    if ($record === array_key_last($array)) {
        echo "'" . $_POST["idobservaciones_$num"] . "');";
    }
}</code></pre>]]></description>
          <pubDate>Thu, 16 Mar 2023 02:48:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246464#post2246464</guid>
        </item>
                <item>
          <title>Error session_start using ionos</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245231#post2245231</link>
          <description><![CDATA[<p>I will give a try, it aparently stoped giving the error at the moment.</p>]]></description>
          <pubDate>Wed, 16 Dec 2020 23:54:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245231#post2245231</guid>
        </item>
                <item>
          <title>Media Library</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245230#post2245230</link>
          <description><![CDATA[<p>I moved all files from /upload to /media and changed directories on <span>Upload Directory and Upload Folder URL, also downloaded the uploads table and delete /home/user/... to just leave filename and it's working all again.</span></p>]]></description>
          <pubDate>Wed, 16 Dec 2020 23:51:21 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245230#post2245230</guid>
        </item>
                <item>
          <title>Media Library</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245229#post2245229</link>
          <description><![CDATA[<p>After I update to 3.54 the image uploads don't show thumbnails and the link to the images are generated as /media instead of /uploads<br />I have <span>Media Library</span> disabled<br /><br /></p>]]></description>
          <pubDate>Wed, 16 Dec 2020 17:50:50 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245229#post2245229</guid>
        </item>
                <item>
          <title>Error session_start using ionos</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245175#post2245175</link>
          <description><![CDATA[<p>I'm getting this error while using ionos hosting it appears while browsing admin panel.</p>
<p><span>Notice: session_start(): ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13) in /homepages/14/d850035105/htdocs/mpanel/lib/init.php on line 735 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/14/d850035105/htdocs/mpanel/lib/init.php:735) in /homepages/14/d850035105/htdocs/mpanel/lib/init.php on line 735 Fatal error: Couldn't start session! 'session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/14/d850035105/htdocs/mpanel/lib/init.php:735)'! in /homepages/14/d850035105/htdocs/mpanel/lib/init.php on line 735</span></p>
<p>Any help would be great.</p>]]></description>
          <pubDate>Thu, 19 Nov 2020 08:29:38 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245175#post2245175</guid>
        </item>
                <item>
          <title>Contact Form - SendMessage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244859#post2244859</link>
          <description><![CDATA[<p>Thank you Greg, I will try to update form generator to include  this.</p>]]></description>
          <pubDate>Fri, 26 Jun 2020 09:59:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244859#post2244859</guid>
        </item>
                <item>
          <title>Contact Form - SendMessage</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244821#post2244821</link>
          <description><![CDATA[<p>I made some changes to the code and worked perfectly to me, but now I need to send two emails at the same time with diferent templates, can you please help me.</p>
<pre class="language-markup"><code>if (!$errorsAndAlerts) {
  $emailHeaders = emailTemplate_loadFromDB(array(
    'template_id'        =&gt; 'TEST-MAIL-ME',
    'addHeaderAndFooter' =&gt; false,
    'placeholders'       =&gt; array(
      'visitor.name'      =&gt; $fullname,
      'visitor.email'     =&gt; $email,
      'visitor.phone'     =&gt; $phone,
      'visitor.message'   =&gt; $message,
      'visitor.agree'     =&gt; $agree,
    ),
  ));</code></pre>]]></description>
          <pubDate>Mon, 22 Jun 2020 14:24:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244821#post2244821</guid>
        </item>
                <item>
          <title>Upload always with the same name</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244739#post2244739</link>
          <description><![CDATA[<p>I have a multi record table with a upload field, I need that the uploaded file always have a specific name and if it aready exist to be replaced, I'm using form generator and uploadform3. Also the form can only be used to update a record when the user is logged with membership plugin.</p>]]></description>
          <pubDate>Sun, 24 May 2020 09:27:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244739#post2244739</guid>
        </item>
                <item>
          <title>Filter User Accounts</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244576#post2244576</link>
          <description><![CDATA[<p>Fixed</p>
<pre class="language-php"><code>$accessWhere .= " AND `num` != '1' ";</code></pre>]]></description>
          <pubDate>Mon, 23 Mar 2020 22:09:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244576#post2244576</guid>
        </item>
                <item>
          <title>Fallback for placeholders in Newsletters</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244491#post2244491</link>
          <description><![CDATA[<p>Try this</p>
<pre class="language-markup"><code>&lt;?php // if record show this
 if ($record['record']): ?&gt;
&lt;?php echo htmlencode($record['record']) ?&gt;

&lt;?php // if no record show this
 else: ?&gt;
&lt;?php echo "Colleague"; ?&gt;
&lt;?php endif ?&gt;</code></pre>]]></description>
          <pubDate>Fri, 14 Feb 2020 21:37:19 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244491#post2244491</guid>
        </item>
                <item>
          <title>Filter User Accounts</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244485#post2244485</link>
          <description><![CDATA[<p>Hi Daniel,</p>
<p>First of all thank you for the reply, the code is still not working, I upload the file to plugins folder, then I activate the plugin and set <span>Required Plugins</span> at the Advanced tab on Section Editors.</p>]]></description>
          <pubDate>Tue, 11 Feb 2020 22:13:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244485#post2244485</guid>
        </item>
                <item>
          <title>Filter User Accounts</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244456#post2244456</link>
          <description><![CDATA[<p>I need to hide a user from User Accounts List as a Super Admin</p>
<p>I tried to use the following code but is not working</p>
<pre class="language-markup"><code>&lt;?php
/*
Plugin Name: Administracion
Description: Acceso administracion de usuarios
Version: 1.00
CMS Version Required: 3.00
*/

addFilter('list_where', 'filterUser', null, 2);

function filterUser($accessWhere, $tableName) {
  /* only check the accounts section */
  if ($tableName == 'accounts') { return $accessWhere; }
  
  $accessWhere .= " AND 'num' != '1' ";
  return $accessWhere;
}

?&gt;</code></pre>]]></description>
          <pubDate>Wed, 29 Jan 2020 16:55:21 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244456#post2244456</guid>
        </item>
                <item>
          <title>1-2-3 step for utilizing uploadform, was: re: Is there going to be an update to</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243528#post2243528</link>
          <description><![CDATA[<p>Thanks, also if someone need it I made the change like this.</p>
<pre class="language-markup"><code>&lt;iframe src='cmsb/3rdParty/uploadForm3_iframe.php?table=&lt;?php echo $tableName ?&gt;&amp;amp;field=upload&amp;amp;num=&lt;?php echo $recordNum ?&gt;&amp;amp;preSaveTempId=&lt;?php echo $FORM_PRESAVETEMPID ?&gt;'
            height='100' width='600' frameborder='0' scrolling='no'&gt;
&lt;/iframe&gt;</code></pre>
<p>$allowedTables = array('every_field_multi');<br />$allowedFields = array('upload');</p>
<p><span>to</span></p>
<p>$allowedTables = array($table);<br />$allowedFields = array($field);</p>]]></description>
          <pubDate>Sun, 30 Jun 2019 11:43:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243528#post2243528</guid>
        </item>
                <item>
          <title>Duplicate Items from a for each array</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241192#post2241192</link>
          <description><![CDATA[<p>Hello Dave,</p>
<p>a_o <span> is the year field</span></p>
<p>I look that years are in descending order in that output.</p>]]></description>
          <pubDate>Wed, 20 Sep 2017 17:01:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241192#post2241192</guid>
        </item>
                <item>
          <title>Duplicate Items from a for each array</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241124#post2241124</link>
          <description><![CDATA[<p>Thank you Dave, I tested the code but the <span> sorting by year in descending order  I have the same problem.</span></p>
<p><code>&lt;?php<br />  require_once "/lib/viewer_functions.php";<br />  list($transparenciaRecords, $transparenciaMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'transparencia',<br />    'allowSearch' =&gt; '0',<br />     'orderBy' =&gt; 'a_o DESC, carpeta'<br />  ));<br />?&gt;</code></p>
]]></description>
          <pubDate>Wed, 06 Sep 2017 13:59:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241124#post2241124</guid>
        </item>
                <item>
          <title>Duplicate Items from a for each array</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241107#post2241107</link>
          <description><![CDATA[<p>Thank you Dave this solved the Undefined variable error, but it still shows a 2016 record on 2015 records.</p>
<p><a href="http://preview.ibb.co/b3vQWv/Ashampoo_Snap_2017_09_05_22h35m06s_001.png" rel="nofollow">http://preview.ibb.co/b3vQWv/Ashampoo_Snap_2017_09_05_22h35m06s_001.png</a></p>]]></description>
          <pubDate>Tue, 05 Sep 2017 20:47:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241107#post2241107</guid>
        </item>
                <item>
          <title>LONG load time</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241092#post2241092</link>
          <description><![CDATA[<p>Try to inspect with Chrome console to see if it show any error after loading.</p>]]></description>
          <pubDate>Mon, 04 Sep 2017 18:33:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241092#post2241092</guid>
        </item>
                <item>
          <title>Has anyone seen this error on trying to log in to CMSB?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241091#post2241091</link>
          <description><![CDATA[<p>No, this seems to be a database permissions problem.</p>]]></description>
          <pubDate>Mon, 04 Sep 2017 18:29:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241091#post2241091</guid>
        </item>
                <item>
          <title>Duplicate Items from a for each array</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2241090#post2241090</link>
          <description><![CDATA[<p>I have this code with a little error, clic image link to see the error.</p>
<p><a href="https://preview.ibb.co/nx8r3a/Ashampoo_Snap_2017_09_04_19h52m13s_001.png" rel="nofollow">https://preview.ibb.co/nx8r3a/Ashampoo_Snap_2017_09_04_19h52m13s_001.png</a></p>
<p>Please help me.</p>
<p>&lt;?php foreach ($transparenciaRecords as $record): ?&gt;&lt;?php if(!in_array(strtolower($record['a_o']), $alreadyListed)): ?&gt;&lt;div class="block"&gt;<br /> &lt;div class="container"&gt;<br /> &lt;h2 class="block-title block-title--single"&gt;Transparencia &lt;?php echo $record['a_o'] ?&gt;&lt;/h2&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;&lt;?php $alreadyListed[] = strtolower($record['a_o']); ?&gt;<br />&lt;?php endif; ?&gt;<br />&lt;div class="block"&gt;<br /> &lt;div class="container"&gt;<br /> &lt;!-- Wide table with range of cols --&gt;<br /> &lt;div class="table-responsive"&gt;<br /> &lt;table class="table table-bordered table--wide table-present"&gt;<br /> &lt;colgroup class="col-sm-width"&gt;<br /> &lt;/colgroup&gt;&lt;colgroup class="col-sm-width"&gt;<br /> &lt;/colgroup&gt;&lt;thead&gt;<br /> &lt;tr&gt;<br /> &lt;th&gt;Documento&lt;/th&gt;<br /> &lt;th&gt;Descarga&lt;/th&gt;<br /> &lt;/tr&gt;<br /> &lt;/thead&gt;</p>
<p>&lt;tbody&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;&lt;?php echo $record['a_o'] ?&gt; - &lt;?php echo $record['carpeta'] ?&gt; - &lt;?php echo $record['titulo'] ?&gt;&lt;/td&gt;<br /> &lt;td&gt;&lt;a class="btn btn-primary btn-sm" target="_blank" href="&lt;?php foreach ($record['archivo'] as $upload): ?&gt;<br />&lt;?php<br />$extension = $upload['extension'];<br /> if($extension == 'pdf' || $extension == 'rar') {<br />echo $upload['urlPath'];<br /> } else {<br />echo "<a href="https://view.officeapps.live.com/op/view.aspx?" rel="nofollow">https://view.officeapps.live.com/op/view.aspx?</a>"; echo $upload['filename'];<br /> }<br />?&gt;&lt;?php endforeach ?&gt;"&gt;Ver Documento&lt;/a&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;?php endforeach ?&gt;</p>]]></description>
          <pubDate>Mon, 04 Sep 2017 18:10:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2241090#post2241090</guid>
        </item>
                <item>
          <title>Displaying a Default Image</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240662#post2240662</link>
          <description><![CDATA[<p>I will use this with my catalog project, I will use CMSB for a online store.</p>]]></description>
          <pubDate>Tue, 13 Jun 2017 15:08:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240662#post2240662</guid>
        </item>
                <item>
          <title>Users to be able to create pages</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240652#post2240652</link>
          <description><![CDATA[<p>You are adding the users manually??</p>
<p>Are you using a plugin??</p>]]></description>
          <pubDate>Tue, 13 Jun 2017 07:48:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240652#post2240652</guid>
        </item>
              </channel>
    </rss>
  